Khwooo’s Weblog

May 20, 2008

Ubuntu 8.04 變更root密碼

Filed under: linux — khwooo @ 1:17 pm
因為安全性的問題,也怕使用者不小心把系統給毀了
在ubuntu的teminal下面不管做什麼都要加個sudo然後輸入密碼
不過這樣有點礙手礙腳XD

想直接su成為root是不會成功的
因為ubuntu預設root尚未設定密碼

設定root密碼:

sudo passwd root

接著依提示輸入密碼

接下來su就可以成功了!

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: