Link to home
Create AccountLog in
Avatar of Bodiddly
Bodiddly

asked on

Fedora question

I am taking a Linux class and in Fedora when using the "SU" I ended up with "Bash 4.2" and can't get back to the super user.  
I reinstalled Fedora two other times and ended up in "emergency mode" - twice - and can't get out.
I've asked others who are familiar with Linux and they don't know how to solve either of these problems.  
Any suggestions would be welcome.
Thank you
Avatar of stathisx
stathisx
Flag of Greece image

Hello ,
you mean that when running su command you only get bash version as the output right ?
su command is written in lowercase . have you tried " su - " ? this command should be issued when trying to become root .
so firstly you have to set a root password when completing the installation of the operating system. if it is not set you can use : " sudo passwd root " to set it for the root user .
it is a weird problem though. can you please post any screenshots ?
Avatar of farzanj
How do you know you go to emegency mode?

Did you run command to see your runlevel?

Issue command
runlevel

Or
who -r

Also as mentioned above, try doing su - instead of su
I'm not sure what you mean by emergency mode, but if you're stuck at a black screen with a prompt in the lower left corner, try Ctrl+Alt+F7 or Ctrl+Alt+F8.
Avatar of Bodiddly
Bodiddly

ASKER

I am attaching a screen shot for problems.  The top screen is the emergency mode and the bottom screen is the bash 4.2  
My root has a password
My runlevel is 5
I have the Ctrl+Alt+F7 and F8.
Hopefully the screen shots will help with other information needed to solve the problem.
I have also consulted the teacher who does not have any other answers than what you have already provided.
Fedora-Problems.doc
ASKER CERTIFIED SOLUTION
Avatar of farzanj
farzanj
Flag of Canada image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Thank you for responding.  I will try this option.