Results 1 to 7 of 7
Hi
When i type 'su' in single user mode, I get
sh-3.2#user root does not exist
And when i try to change the passwd in single user mode by
sh-3.2#mount ...
- 05-04-2009 #1Just Joined!
- Join Date
- Mar 2009
- Posts
- 6
[SOLVED] Cannot 'su'
Hi
When i type 'su' in single user mode, I get
sh-3.2#user root does not exist
And when i try to change the passwd in single user mode by
sh-3.2#mount -o remount, rw /
sh-3.2#passwd
passwd:cannot identify you!
Also before entering into single user mode it prints:
MAKE DEV: no such user as root.
MAKE DEV: no such user as root.
id: cannot find name for user id 0
I have dual boot windows xp and Fedora 8. I am very new to linux.
PLease help me.
- 05-04-2009 #2
try 'whoami' on single user mode. I m not sure ( as I m also a newbie) but u r logged in as root only.
- 05-04-2009 #3Just Joined!
- Join Date
- May 2009
- Posts
- 1
Hi,
try below link, it discusses similar issue as you have mentioned.
justlinux.com/forum/archive/index.php/t-110510.html
- 05-04-2009 #4
- 05-04-2009 #5
Single User Mode boot up with full administrative privileges and there is no need to execute su command in single user shell.
Does machine boot up fine in default mode, 3?It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 05-04-2009 #6
I tried the same thing in Fedora 10 , but results were noraml. SU makes me root, whoami in sh shows root.
- 05-08-2009 #7Just Joined!
- Join Date
- Mar 2009
- Posts
- 6
Hurray!
Thanks guys.. for some reason i was not able to post any replies. But now i am
I finally got the issue solved. The uid for the user root was missing. I initially disabled the SELINUX and then edited the /etc/passwd file to include root uid.
Then i was able to login into the system
Thnks all of you


