On 03/28/2010 02:49 PM, Sam Sharpe wrote:
On 28 March 2010 20:26, agraham agraham@g-b.net wrote:
On 28/03/10 09:29, Rajanish Kumar wrote:
Hi! I have already installed Fedora 12 .I have given root password...and finally added a user name "rajanish" .I am log in through "rajanish"but i have not accessing throgh root...I want to log in through root because i want to learn administrative property. please help me to guide log in through root..
At the login prompt (or your graphical login program - gdm, kdm etc) use the username "root" and password that you set when installing Fedora.
Nice idea, but it won't work unless you enable it: http://linuxers.org/quick-tips/fedora-12-enable-root-login-gui
Please ignore all those that present horror stories and FUD about root, you have to learn somehow and the best way is to mess around as root.
I disagree and I am a professional Linux sysadmin. I never login as root.
Unlike a normal user, your path with will include /sbin so you won't need to prepend root commands with a path e.g. /sbin/ifconfig.
You can add /sbin and /usr/sbin to your normal path if this is a problem for you. I do this and then I login as a normal user and use "sudo" or "su -c" to prefix any commands I want to run as root.
And if you happen to do something like "rm -rf /", just re-install and start-over, I'm sure you'll learn from your mistakes like we all did.
No comment ;o)
-- Sam
rm -rf / doesn't just happen on Linux...one of my coworkers did rm -rf * on Solaris...he thought he was one place, but he was at /
You should have heard his language. On second thought...no you shouldn't.