Computer tutorial, autos and lifestyle

Breaking

Monday, July 25, 2011

Login as a ROOT (administrator) on ubuntu

when I was first learning linux (recently actually) I was confused when trying to convert a file but do not have root privileges / admin. but when I tried to find out then I found a way to modify a file by using the root account, here is how:


1. Open a terminal console (with account that you can access) and type:
sudo passwd root
2. After that will appear warning "Enter new UNIX password", enter the password to be used as a root login and confirm.
3. Then type:
sudo gedit / etc / gdm / gdm.conf
4. Replace the line that appears "AllowRoot = false". with this "AllowRoot = true".
5. Save the file
6. Close the gedit application, logout and then reboot your computer.
well ... now you can login as root.



#remember, do this at your own risk, because if you change or modify file in filesystem and get wrong it will destroy your computer system (not hardware)


i hope this post is helping you to learn linux as i do :)

No comments:

Tags