Results 1 to 7 of 7
Hi I am a newbie to linux and have installed mandrake 10.1. How do I get to the root prompt? When I startup mandrake automatically starts using autologin. Then what ...
- 12-16-2005 #1Just Joined!
- Join Date
- Nov 2005
- Posts
- 11
Login as root
Hi I am a newbie to linux and have installed mandrake 10.1. How do I get to the root prompt? When I startup mandrake automatically starts using autologin. Then what do I do? I only seem to have konsole available and all i get is username@localhost how do I change to login from this? I need an idiots guide to talk me through I have looked online and in books etc but can't seem to find the answer.
Any help really appreciated
Thanks
Andy
- 12-16-2005 #2Banned
- Join Date
- Nov 2004
- Location
- Belgium
- Posts
- 1,121
Re: Login as root
Log in as your normal user.
Originally Posted by swiss
Open a terminal and type:
...this will ask for your root password.Code:su
Type it, press enter and that's it.
To login as root outside the GUI:
*press Ctrl-Alt-F3 (this will bring you to a CLI in runlevel 3)
*log in with the name root and give your root password.
In both cases, type exit to get back.
- 12-16-2005 #3
Re: Login as root
Originally Posted by jens
type su -
that will be true root
su is user with some root privs (not all)
Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
-- Linus Torvalds
- 12-16-2005 #4Banned
- Join Date
- Nov 2004
- Location
- Belgium
- Posts
- 1,121
Re: Login as root
Not everyone agrees that's a safe thing to do
Originally Posted by adrenaline
- 12-16-2005 #5Just Joined!
- Join Date
- Nov 2005
- Posts
- 11
root login
Huge big thank you. Such a simple thing that I've found really difficult to find.
I have tried to access the fstab by typing through as the root@localhost, /etc/fstab but I get access denied. Any ideas?
Thanks
Andy
- 12-16-2005 #6Linux Engineer
- Join Date
- Nov 2004
- Location
- Ft. Polk, LA
- Posts
- 796
Re: Login as root
su is true root just as su - is, and as sudo is. The difference is that su - starts as a login shell with a clean environment. If you are root, you are true and full root, there is no halfway there, it's all or nothing. su does have it's advantages over su - because it doesn't clean the environment first, this is quite useful sometimes.
Originally Posted by adrenaline
- 12-16-2005 #7forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 17,754
Re: root login
Try this:
Originally Posted by swiss
That should get you into fstab with the vim editor. Substitute the name of the editor with any other editor of your choice.Code:su (enter root password when asked, and press Enter) vim /etc/fstab
Hope this helps.


Reply With Quote
