How to chage Ubuntu root password

มือใหม่ของแท้ครับ จะว่าบ้านนอกก็ได้
User ที่เจ๋งสุดใน Windows ก็คือ Administrator
ส่วนที่เคยลองใช้ linux ตั้งแต่สมัยเป็นหนุ่ม ก็พอรู้อยู่ว่าที่เจ๋งสุดของ Unix ก็ต้อง root

ตอนนี้มาลองใช้ Ubuntu อ้าว root มันหายไปไหนว่า แต่ sudo เอาก็ใช้งานได้นี่นา สงสัยคงจะไม่มีแล้วมั้ง

พอจะลง Webmin อ้าว ต้องใช้ password ของ root ด้วย
จะเอามาจากไหนล่ะที่นี้ ตอนติดตั้งก็ไม่เห็นถามเลย
ค้นหาดูก็ได้ความว่า

komkid@ubuntu-server:~$ sudo passwd
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

ที่แท้ก็แค่นี้เอง โธ่
แต่ก็เกิดความสงสัยต่อว่า จริง ๆ แล้วมันคือ blank password หรือ มีแต่เราไม่รู้กันแน่ ?

พอมี root แล้วก็อยาก login ด้วย root จะได้มีสิทธิเต็มที่
แต่ผลก็คือ ไม่ได้ครับ Ubuntu ไม่ยอมให้ login เข้า GUI ด้วย root

แต่ก็มีวิธีแก้ก็มีอยู่ ทำดังนี้ครับ
1.เข้าไปด้วย user ปกติก่อน แล้วไปที่ System > Administration > Login Window
2.ป้อนรหัสแล้วไปที่ tab Security
3.ทำเครื่องหมายที่ Allow local system administration login ดังรูป

Written by admin on November 5th, 2008 with 1 comment.
Read more articles on Ubuntu.

Related articles

1 comment

Read the comments left by other users below, or:

Trackback Mention from Komkid.net
#1. November 27th, 2008, at 10:08 PM.

Install Webmin for Ubuntu: 4.ทำต่อจนเสร็จก็เข้าหน้า Webmin ผ่าน browser ได้จาก https://localhost:10000/ โดยต้องใช้ root password

Leave your comment...

If you want to leave your comment on this article, simply fill out the next form:

You have to be identified to write a comment.