Mac OSX 10.3 關於帳號登錄選項問題

本區專門提供 Mac OS X 使用者交換使用心得

版主: ross_ttbryanchangdigdogchester

回覆文章
內容
發表人
just_forever215
新生訓練中
文章: 5
註冊時間: 10/12/2004 9:21 pm

Mac OSX 10.3 關於帳號登錄選項問題

#1 文章 just_forever215 »

恩...我經由系統偏好設定...
進入帳號的部份
有個登入選項...
我選取了隱藏睡眠.重新開機.關機的選項
可是登入畫面還是會有..
我使用使用者列表登入
這是為什麼呢??
是bug嗎??
還是說因為有其他地方的設定要更改!

有人知道嗎??請告訴我~
頭像
ulysses
討論區管理員
文章: 2475
註冊時間: 05/18/2001 1:01 am
來自: Forgotten Realm
聯繫:

#2 文章 ulysses »

你是要在開機的時候自動用某個特定帳號登入使用是吧?
帳號控制台裡,左側的帳號列表下方有個 Login Option,
點選 Login Option,把第二項 Automatically Login As 勾起來,選擇你要自動登入的帳號。
這樣就可以了。

Login 的設計是為了安全性,多人使用的環境最好是不要選用自動登入,特別是有管理者權限的帳號。
當然如果你是放在家裡,只有你一個人在用,那就無所謂了。
ash nazg durbatuluk, ash nazg gimbatul,
ash nazg thrakatuluk agh burzum-ishi krimpatul.
just_forever215
新生訓練中
文章: 5
註冊時間: 10/12/2004 9:21 pm

#3 文章 just_forever215 »

no no
我是要把睡眠的按鈕隱藏起來
我不想讓人家按到那ㄍ~
我有架FTP SERVER...進入睡眠的話.
等於是斷線!!
頭像
kenuser
常吃冰
文章: 272
註冊時間: 05/08/2001 1:01 am
來自: 這裡那裡

#4 文章 kenuser »

我測了一下,只有睡眠的按鈕會出現,其他二個按鈕會沒作用......不知原因.....
高雄是個騎單車的好地方!
頭像
ulysses
討論區管理員
文章: 2475
註冊時間: 05/18/2001 1:01 am
來自: Forgotten Realm
聯繫:

#5 文章 ulysses »

誤會你的意思了。
好像真的關不掉...

找到這一篇,看看有沒有幫助
I am constantly having to tell my 100+ users NOT to shut down their Macs. I'm wanting them to just logoff so I can do remote updates in the evenings and the weekends. There is a way to make the Mac a kiosk, which in turn disables the Shutdown, Restart, and Logout menus from the Apple menu. Unfortunately, there isn't a way to just disable Shutdown. So ... I decided to approach the situation from a different perspective. I modified the dict section of root's com.apple.loginwindow.plist to look like this:

代碼: 選擇全部

<dict>
  <key>LogoutHook</key>
  <string>/sbin/newreboot</string>
  <key>PowerOffDisabled</key>
  <string>true</string>
</dict>
Essentially, this disables the "Reboot" and "Shutdown" buttons from the login window and runs the script /sbin/newreboot. The newreboot executable is just /sbin/reboot copied and renamed. Then I changed the permissions on /sbin/newreboot to 777. Renaming the executable and changing the permissions is essential. You must change the permissions for it to run as a loginhook and you must change the name or repair permissions will change it back to defaults.

This might work if you change the group on newreboot and set the gid, but I haven't played around with that. Changing the permissions to 777 works and but still keeps non-root users from ssh-ing into a box and rebooting it. I'm still working through this, so if someone finds a better, more efficient way of doing things, let me know...

(robg adds: Please, exercise extreme caution if you're going to try this or anything like this. Messing around with root's permissions and functionality is a good way to turn a healthy machine into one requiring some troubleshooting work!)
原文出自 http://www.macosxhints.com/article.php? ... 6121548561

台灣人對付這種問題還有一個小撇步:
拔掉鍵盤滑鼠啦~
別打我...
ash nazg durbatuluk, ash nazg gimbatul,
ash nazg thrakatuluk agh burzum-ishi krimpatul.
回覆文章