LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-03-2003, 02:26 PM   #1
bmxermark
LQ Newbie
 
Registered: Apr 2003
Distribution: [DUAL BOOT] mandrake 9.1, windows ME
Posts: 15

Rep: Reputation: 0
root user in mandrake


i need to access the root user cos im installin some drivers for my modem..i have got a guide to do it and it says i need to be in the root user. but i can only select normal users in the login bit. how can i do it??

its mandrake 9.1
 
Old 05-03-2003, 03:16 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
type "su" in a terminal and enter the password
 
Old 05-04-2003, 05:25 AM   #3
lynch
Member
 
Registered: Nov 2000
Location: A Mid-Atlantic state
Distribution: SuSE 8.1,Knoppix 3.2,Mandrake 9.1
Posts: 388

Rep: Reputation: 30
Re: root user in mandrake

Quote:
Originally posted by bmxermark
i need to access the root user cos im installin some drivers for my modem..i have got a guide to do it and it says i need to be in the root user. but i can only select normal users in the login bit. how can i do it??

its mandrake 9.1
If you cant select root in the "login bit" then just type root into the blank user field.Then the root password in the password field.
Acid-kewpie's tip is right,though:a newbie can do less damage by logging in as root through the CLI.A root desktop can be very dangerous
lynch
 
Old 05-04-2003, 05:34 AM   #4
bmxermark
LQ Newbie
 
Registered: Apr 2003
Distribution: [DUAL BOOT] mandrake 9.1, windows ME
Posts: 15

Original Poster
Rep: Reputation: 0
i have no user fields to type in....i can only select a normal user then it askes for the pass.

anyway i tried su and i managed to install my modem drivers from there.. thanx

if you can say how i can get to the root desktop then please do.


oh yeah..how can you make certain users have restirctions...like restricting the games from one user but lettin another have them..im cruious
 
Old 05-04-2003, 05:59 AM   #5
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Why do you need to log in as root with a desktop? Usually you can just use the command line/a terminal and su to root. Try man su for more info

If you must know, in Mandrake you need to change the Display Manager from Mdkdm to another choice, like KDM, GDM or XDM. Go to Hardware in the Mandrake Control Centre, but you shouldnt need to log in as root constantly.

Try searching for some info about user and group permissions in linux.

Last edited by Proud; 05-04-2003 at 06:01 AM.
 
Old 05-05-2003, 10:02 AM   #6
MacLatvian
LQ Newbie
 
Registered: May 2003
Distribution: Mandrake 9.1
Posts: 7

Rep: Reputation: 0
That still doesn't answer BMXERMARK's question. I have the same issue, I can't log in as root. No field to type in 'root'. There are some items in Mandrake Control Center that insist I log in as root, well, I can't figure out how to do that.
 
Old 05-05-2003, 10:09 AM   #7
bmxermark
LQ Newbie
 
Registered: Apr 2003
Distribution: [DUAL BOOT] mandrake 9.1, windows ME
Posts: 15

Original Poster
Rep: Reputation: 0
would be nice if some one actually said, whatever the reason for it
 
Old 05-05-2003, 10:17 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
security. Root can do a VAST amount of damage so so easily, and you should never use it as a matter of course. There are countless stories on this site where people have used root as it's easier etc... thinking they won't screw anything up, then they accidentally run.... say... "rm -rf /" instead of "rm -rf test/" and they're are utterly stuffed with no recourse to fix. You'd do well to get used to, and appreciate, these practises as they are there for *very* good reasons.
 
Old 05-05-2003, 12:34 PM   #9
MacLatvian
LQ Newbie
 
Registered: May 2003
Distribution: Mandrake 9.1
Posts: 7

Rep: Reputation: 0
OK, we get that, I know that. I *still* need to know how to log on as root in Mnadrake 9.1! Like I said, Mandrake Center, for some items (I'm not in Mandrake right now,) requires that I be in root.

Besides which, it's my machine, if I blow it up due to some stupidity on my end, I'll learn not to do that, but at least I've been given that choice. Mandrake not easily giving the ability to log on as root is very Microsoftian.
 
Old 05-05-2003, 12:40 PM   #10
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
The Mandrake control center asks for root's password when I launch it from my user's account. Does yours not act this way?

# System administration
The best ways I have found to administer my computer is with basic bash commands in a virtual terminal or an xterminal, or with another powerful shell, the well kept secret of mc (Midnight Commander), with a file manager, editor, and lots more handy tools.

If you use the gui log in, you will be on virtual terminal 1 (most installs default to 6 of these terminals) and your x session will be running in virtual terminal 7.

You have mouse support in the command line with gpm unless it has been disabled, so copy and paste is just as easy in virtual terminals as it is in x.

From a virtual terminal, you can switch from one terminal to another by holding down the alt key and pressing one of the function keys F1 - F6. If you are in x, hold down the control key as well as the alt and F<N> key and you wiNll go that terminal. The terminal that was first used to login will be busy and if x was run from that terminal, the error messages generated by x will be shown. The others will display the login prompt until it is used to log in to an account. To return to x from a virtual terminal, press alt and F7 and you are back to your x session.

Remember, whatever you command in root (It's the "god" mode. You can bless or destroy at your whim) usually gets done if enough system is left to carry out the command.

Type
Code:
mc
and press return and the Midnight Commander shell should run. Type control-o and you are in bash. Type control-o and you are in mc.
Code:
man mc
info mc
will give lots of info. You can use Midnight Commander in either user or root accounts.

You can do the normal linux copy/paste with the mouse from one virtual terminal to another by left clicking and swiping text in one, alt-FN to switch to the virtual terminal you wish to paste into, and middle click will paste the text that was swiped in the first virtual terminal into the file at the blinking cursor position.

To surf the internet from the command line, I recommend installing links as it displays most pages reasonably. Also, you can use it to post your questions about Linux here using it. Remember to refresh the posting page after login.

There should be no fear of the command line as it is actually easier to use than the gui. All that is necessary is to know the commands.

If you have zgv installed, you can even view images from the console command line.
 
Old 05-05-2003, 01:15 PM   #11
JayCnrs
Member
 
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Rep: Reputation: 30
If you really want to use root in the desktop environment, log in as a user, Click on the Menu button---> Configuration---> KDE menu--->System---> Login Manager

Then go to the tab Users and take the x out of the box beside root.

Now logout and root should be in your choices for Logins. If you are using Gnome you should be able to get to the Login Manager the same way but I'm not sure since I only use KDE.

PS. Be Careful using the Desktop this way !!! I personally prefer administering my system this way but every once in a while I go back to the CLI.
 
Old 05-06-2003, 06:54 AM   #12
mjolnir
Member
 
Registered: Apr 2003
Posts: 815

Rep: Reputation: 99
My sys does as Fancypiper says,click on control center and mdk9.1
asks for root pwd. When I boot up (to cmd line) I log in as user,
type pwd, get a prompt (Fred@localhost#). If I then type su, enter
I'm asked for root's pwd,enter and I,m at a / prompt. I type startx
get a warning message, hit continue, and I,m root in graphic mode
with a red background ( danger ! ). I heeded those warnings and
ran halt.
 
Old 05-06-2003, 08:16 AM   #13
MacLatvian
LQ Newbie
 
Registered: May 2003
Distribution: Mandrake 9.1
Posts: 7

Rep: Reputation: 0
JayCnrs, thank you, your suggestion worked. I'm using Gnome, but I couldn't find that option. I switched to KDE, followed your path, and now am a happy camper!

mjolnir, I played with your suggestion, but I keep getting a 'fatal server crash'. But thanks anyway, I got what I needed!

fancypiper, I'll play around with what you wrote, it'll be a learning experience.

thanx, everyone
 
Old 05-06-2003, 12:56 PM   #14
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
You can also launch the control center from gnome. Just make a launcher with the same command in it (look at properties of launcher in kde).
 
Old 05-06-2003, 01:07 PM   #15
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
kcontrol
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandrake 10.1 Giving User Account all Root Privelages morbid81 Mandriva 3 01-14-2005 01:21 AM
mandrake linux 9.2 root/user help zdos Linux - Software 4 05-15-2004 04:49 PM
IntelliMouse thumb buttons work as root, broken as non-root user, wheel works always digital vortex Linux - Hardware 7 03-02-2004 04:14 PM
Mandrake, KDE and root user Jongi Linux - Newbie 7 09-20-2003 12:12 PM
Cannot mount cdrom as user or root in Mandrake 8.2 TlitJ Linux - General 11 09-09-2003 03:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration