Creating Super User

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: sinck@ugive.comsinckugive.com
日付:  
題目: Creating Super User

\_ Just whip out the text editor of your choice and set the user id number to 0
\_ of the user that you would like to be a root level account.
\_ Thats all!

This will work fine...unless you're on a multiuser system. It is
exceedingly likely that your text editor won't do file locking with
the passwd and related commands. So, if you have a system that you're
the only person on, you're in downtown. Otherwise...are you in and
out of the file fast enough that another user of the system won't be
typing passwd, chfn or any of that?

Hence my naming of 'vipw'...it locks it properly...afaik.

YMMV.

David