Results 1 to 9 of 9
senba@senba-desktop:~$ whoami
senba
senba@senba-desktop:~$ su root
Password:
su: Authentication failure
senba@senba-desktop:~
i'm the one who installed the ubuntu in the machine
then who is this root user
pls do help ...
- 04-04-2009 #1Just Joined!
- Join Date
- Jan 2009
- Posts
- 28
root user
senba@senba-desktop:~$ whoami
senba
senba@senba-desktop:~$ su root
Password:
su: Authentication failure
senba@senba-desktop:~
i'm the one who installed the ubuntu in the machine
then who is this root user
pls do help me out......
- 04-04-2009 #2
If ya wanna get into root. Use the command
then type your password and hit enter.sudo su
EDITL: If I was you. I'd be sure to type exit when you are done.Linux Registered User # 475019
Lead,Follow, or get the heck out of the way
AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
Open CourseWare for Linux Geeks
- 04-04-2009 #3
Try
(password)Code:su -
You do not need to specify root as the user.
Keep in mind Ubuntu disables root logins and uses sudo instead. If you want to use root then you need to set it up yourself.I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
- 04-04-2009 #4
Roky, I'm not preaching at you bro but I think you should use the hyphen like I showed, typing "su" will prompt you for the root password and if given correctly you get root privileges. Typing "su -" and giving the correct password gives you root's privileges and environment.
I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
- 04-04-2009 #5
You know me. I'm still learning. I'm open to any preaching.
EDIT wrote it down in my Useful commands document TBob.Linux Registered User # 475019
Lead,Follow, or get the heck out of the way
AntiX,Puppy,Ubuntu,Windows 7=(cuz of scooters)
Open CourseWare for Linux Geeks
- 04-04-2009 #6Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
There are a handful of ways to work in Ubuntu with a root shell without "enabling" the root user. Although I was originally annoyed by Ubuntu disabling it I've since come to appreciate the fact that I don't find myself running shells as root when 95%+ of my commands don't require root, and I've yet to accidentally run something as root

The following will all more or less achieve a root shellMike, you're dead right about the hyphen adding root's environment, but as far as I know regular users have the same $PATH as root in Ubuntu, so say fdisk will work instead of requiring /sbin/fdiskCode:sudo -i sudo bash sudo su -
- 04-04-2009 #7I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
- 04-05-2009 #8Just Joined!
- Join Date
- Jan 2009
- Posts
- 28
Try
Thanks for all ur reponses.....
'll try all n come back
- 04-07-2009 #9Just Joined!
- Join Date
- Jan 2009
- Posts
- 47
dude, open your terminal and do these:
sudo passwd root rootpass
sudo passwd -u root
sudo will ask for your user password. use that. the rootpass set to whatever you want fory our password, and the -u root part unlocks the account.


Reply With Quote
