Results 1 to 4 of 4
how do i switch from root (#) to normal non-root prompt($). I'm new to linux...
- 03-20-2010 #1Just Joined!
- Join Date
- Mar 2010
- Posts
- 2
from # to $
how do i switch from root (#) to normal non-root prompt($). I'm new to linux
- 03-20-2010 #2
Ubuntu doesn't use a root user by default so I can think of only two ways that you have arrived at the root prompt.
1. You enabled the root user and logged in as root. In this case you will need to logout and log back in as a normal user.
2. You ran the command "sudo -i" or similar in a terminal window, in which case you simply need to run the command "exit"If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.
- 03-20-2010 #3
By default, you can use sudo with command which requires root privileges.
e.g.Code:sudo <command>
sudo work with user created during installation. For other users, you have to add those in sudoers file.Code:sudo fdisk -l
Check more details here.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 03-21-2010 #4
if you're in a recovery shell, try the following command:
Code:telinit 2


Reply With Quote