Page 1 of 1

Linux Superuser

Posted: 31 Jul 2004, 18:42
by the_nominator
In mandrake 10 how do I log in as the admin, during the installation i'm sure I said I must have all rights and I am the only user I specified but it still won't let me see stuff like the root directory.
And this sucks cause some programs u have to be the 'superuser' to configure it.
Do I have to login using text mode?

Posted: 31 Jul 2004, 18:53
by the_nominator
Oh figured it out :D
User name: root
Password: ****************

Posted: 31 Jul 2004, 19:55
by vv3bcr3atur3
Word of advise: learn early on not to run as root user. Run as normal user and use the su command to get root access or simply type in the root password for GUI based programs when prompted for it. (same apply for win nt kernal OSs: don't run as admin if you don't have to!)

Posted: 31 Jul 2004, 20:02
by v1c
I disagree, as long as your not in a situation where important stuff could be lost or damaged you might as well go in as root, it's the best way to learn. You learn a lot more from the occasional screw up than from following the rules.

Posted: 31 Jul 2004, 20:04
by the_nominator
Well I needed root access to configure a program so it couldn't be done through text-mode so I had too.

Posted: 31 Jul 2004, 21:30
by vv3bcr3atur3
Through the terminal type:

Code: Select all

su
*password*
*programname/command* &
And now you know how: do it this way and you'll learn alot more and thank me one day.

Posted: 31 Jul 2004, 21:34
by the_nominator
Yes I know how to do that but what I'm sayin is its not possible to confugure that without the GUI and I have to be loged-in as root

Posted: 31 Jul 2004, 21:38
by vv3bcr3atur3
The above commands will bring up the GUI as well. All settings I can think of that cannot be configured this way (or at least not that simple) is root's desktop and screensaver settings. But I'm glad you figured the login thing out.

Posted: 01 Aug 2004, 11:27
by bb_matt
I think your doing it the right way.
When you login, always login as your username and when you need to configure something, go into su mode.
So long as you don't login as root from boot or do basic tasks that don't need root access, you'll be fine.