LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 03-02-2006, 04:42 PM   #1
joshknape
Member
 
Registered: Jul 2005
Posts: 216

Rep: Reputation: 30
why can't I log in as administrator?


I think I did something wrong during my Mandrake installation, because there is no option to log in as administrator. Can I enable that without reinstalling?
 
Old 03-02-2006, 04:45 PM   #2
Cottsay
Member
 
Registered: Feb 2004
Location: Chaska, MN
Distribution: Fedora
Posts: 195

Rep: Reputation: 31
do you mean root?
 
Old 03-02-2006, 04:49 PM   #3
bobbelfield
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Mandriva 2006
Posts: 154

Rep: Reputation: 30
Yeh Switch user | log in as root or
In a console type "su -" then your password
 
Old 03-02-2006, 04:58 PM   #4
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
from the sounds of it, it seems as though your not very familiar with root. be careful when using it; you can ruin the entire install .

read the RUTE user guide or the slackware guide, at least the sections that talk about root before you use it
 
Old 03-02-2006, 05:05 PM   #5
joshknape
Member
 
Registered: Jul 2005
Posts: 216

Original Poster
Rep: Reputation: 30
Yes, root is what I meant. I can't login in as root at the login screen, because the only user available is me. And I have used root before, thank you. I have to "root" out the old Ndiswrapper preinstalled by Mandrake so I can install a newer one. Logged in as myself, Mandrake won't let me delete the files specified by the Mandrake-specific Ndiswrapper instructions.
 
Old 03-02-2006, 05:08 PM   #6
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
well if you have used root before, you should remember that you should never log into the GUI as the root user.. use root for the extreme minimal time possible.

log in as the normal user, open a terminal/console and su to root, then run the command for your package manager with the root priviledges.
 
Old 03-02-2006, 05:09 PM   #7
Cottsay
Member
 
Registered: Feb 2004
Location: Chaska, MN
Distribution: Fedora
Posts: 195

Rep: Reputation: 31
in a terminal just type su root
 
Old 03-02-2006, 05:33 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,699

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Mandriva disables root logging in via the GUI by default. It is possible to enable root to login via Mandrake Control Center but it is not recommended. Use su in a terminal as previously posted.
 
Old 03-03-2006, 12:36 AM   #9
bobbelfield
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Mandriva 2006
Posts: 154

Rep: Reputation: 30
Jeesus what a load of paranoid garbage
True the user root isn't enabled on installation
As said above open System_>Configure your computer ,type in root password go to User administration and cross the root box so it shows up.
Then use switch user thereafter Back up your /home/~ stuff frequently and if you do any damage at any time just reinstall and don't format the user partition

What the heck is there to be frightened of its a bloody machine

Last edited by bobbelfield; 03-03-2006 at 12:38 AM.
 
Old 03-03-2006, 02:00 AM   #10
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Quote:
What the heck is there to be frightened of its a bloody machine
There isnt anything to be frightened of, you're quite right. Using root for any length of time is just plain stupid though. Anything you want to do can be setup to be done as a user and should be. Unless you have 100% typing accuracy 100% of the time (which you don't, nobody does) you will make a mistake at some point in time and maybe break something which would have been in vain.

Sure, you can format and start again but I for once have spent a lot of time playing with configs that I don't wish to repeat. You can do stuff as root though, that's fine. Next time you break something make sure you shoot me an email or PM or something so I can laugh about it
 
Old 03-03-2006, 03:38 AM   #11
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You can also run GUI apps as root whilst logged in as a normal user by using kdesu e.g. "kdesu k3b". GNOME has similar apps named gksu and gnomesu.

Last edited by reddazz; 03-04-2006 at 01:52 AM.
 
Old 03-03-2006, 03:48 PM   #12
bobbelfield
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Mandriva 2006
Posts: 154

Rep: Reputation: 30
Quote:
Originally Posted by cs-cam
There isnt anything to be frightened of, you're quite right. Using root for any length of time is just plain stupid though. Anything you want to do can be setup to be done as a user and should be. Unless you have 100% typing accuracy 100% of the time (which you don't, nobody does) you will make a mistake at some point in time and maybe break something which would have been in vain.

Sure, you can format and start again but I for once have spent a lot of time playing with configs that I don't wish to repeat. You can do stuff as root though, that's fine. Next time you break something make sure you shoot me an email or PM or something so I can laugh about it
You are a classic example "Wowsers" we call them . To the others I say
"You can be quite confident that attempting to do something yourself is an absolutely safe thing to do because whatever it is some bastard will stick his nose over your shoulder and tell you how you are doing it wrong.!"
Config files for your settings are all kept on your home partition and wont have to be done again and get real why would I want to tell you if I make a mistake . I don't understand why people have a need to include such ludicrous statements
 
Old 03-04-2006, 11:31 AM   #13
TatforTit
LQ Newbie
 
Registered: Feb 2006
Location: USA
Distribution: Mandriva 2006
Posts: 28

Rep: Reputation: 15
Guys, I saw the argument and thought it would be a good time to ask about root as a newbie.

How exactly do I log-in as root inside the KDE desktop without having to logout and log back in as root? For most activities requiring root priviledges, KDE will prompt you for a password, but if I need to add a line or two to a config file that my regular user doesn't have permission for, how do I do it? If I need to use the command line, can anyone tell me how to open a text file from the command line? Does the "sh" command open text files? I would prefer to just use KDE, though.
 
Old 03-04-2006, 01:53 PM   #14
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
I use sudo. For example if I need to check the mail log, I type sudo vim /var/log/maillog, I'm prompted for my user account's password and that's it.
 
Old 03-04-2006, 02:24 PM   #15
TatforTit
LQ Newbie
 
Registered: Feb 2006
Location: USA
Distribution: Mandriva 2006
Posts: 28

Rep: Reputation: 15
Ok, but when I go to a certain folder and try to open a config file for example, when I enter the sudo command in that directory and point it towards that file, I get a prompt saying no such command or command not recognized. Is there no way to actually enter locked folders from within KDE without having to log-out and re-enter as root? I want to open a root only text file in KDE without having to actually log-in to KDE as root to begin a session. Is this possible?
 
  


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
Administrator Megos Linux - Newbie 12 06-11-2007 11:55 PM
MySQL Administrator Meabert Linux - Software 6 06-08-2006 03:46 AM
Horde - How to log in as administrator? Xhalman Linux - Software 1 08-19-2005 11:48 PM
how do I log a administrator or root golpemortal Linux - Software 4 09-30-2003 10:42 AM
administrator help debdas Linux - Newbie 4 05-15-2003 04:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 07:08 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