LinuxQuestions.org
Visit Jeremy's Blog.
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 07-06-2007, 07:59 AM   #1
bennythepitbull
Member
 
Registered: Oct 2003
Distribution: slackware
Posts: 70

Rep: Reputation: 15
package manager GUI login


never ran into this before but....
I am trying to log into the GUI for package management and it will not accept my root password????

If I urpme in Shell it takes it fine --

I am sure I am typing it right --

Is this a bug or something ---
 
Old 07-06-2007, 02:28 PM   #2
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
Quote:
I am trying to log into the GUI for package management and it will not accept my root password????
Are you attempting to log into a GUI session as the root user, or are you attempting to enter the root password in a dialog box when you start the Package Manager?

If you are attempting to log into a GUI session as the root user, that ability is disabled by default in Mandriva Linux as a safety (security) measure.

When you start the Package Manager in a regular user GUI session, a dialog box requesting your root password should pop up so you should not need to log in as root to do this.

HTH,
 
Old 07-06-2007, 02:44 PM   #3
bennythepitbull
Member
 
Registered: Oct 2003
Distribution: slackware
Posts: 70

Original Poster
Rep: Reputation: 15
you bring up a good point -- IF i gave root permissions to a normal user I suspect this may be the same thing as you describe?
AM i Correct?
 
Old 07-06-2007, 05:48 PM   #4
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
While you're logged-in as a user, try calling drakrpm from a console instead, like this,

su (enter root password)
drakrpm

then when your finished, type exit.

Regards, Glenn
 
Old 07-06-2007, 11:51 PM   #5
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
I think so. Any user account that has full root authority can be as devastating to the system as the root account if it should be exploited. For example, if you are logged in as the root user and surf the WEB to a nefarious site (perhaps unknowingly) that executes code on your system, the code that is executed is executed with root authority because the WEB browser is being run under the root account. Any time a child process runs, it runs with the privileges of the parent.

On the other hand, there are things that must be done on a Linux system that should require root authority. One such task is software management. For this reason, the Mandriva GUI Package Manager can be started from a regular user account, but it will request the root password or refuse to make any changes to the system. The Mandriva Control Center (a collection of GUI system administrative and configuration utilities) works the same way.

If you need to run a tool (as root) from the command line, you can open a terminal window, enter su at the command prompt then your root password when requested to switch to a root session and run the tool. When you are finished with the tool, you switch back to the regular session in the terminal window with the CTRL+D keyboard combination. Use of this combination a second time will close the terminal window.

By keeping the use of the root account to a minimum (running a single application rather than a full session, or running a root session in a terminal window, but only for the time required to complete a needed task) you reduce the potential threat to system security and you reduce the chances you will forget you are logged in as root and do something that could compromise your system.

One thing I like most about Linux is the system security, but system security is only as strong as the user allows it to be. If you develop good usage behavior, it is relatively easy to have a very secure system. I use the standard security setting here. It is adequate because my system is not a server, and I have a hardware firewall between my computer and the Internet. I also use the interactive firewall that comes with Mandriva. System security should be a bit like the layers of an onion. Peel one layer away and there is another to deal with. It should also make it more work than what it's worth if (or when) the bad guy gets through your defenses.

HTH,
 
  


Reply

Tags
root



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
LXer: Simple Package management with Synaptic Package Manager LXer Syndicated Linux News 0 12-05-2006 06:33 PM
latex2e package unavailable in package manager or apt-get cesine Debian 2 07-11-2006 02:31 PM
Poll: Yast Package Manager vs. Smart Package Manager in 10.1 agentchange SUSE / openSUSE 6 06-02-2006 08:29 AM
synaptic package manager forcing me to delete a broken package mbman Linux - Software 6 04-25-2006 09:30 AM
Redhat 8.0 GUI Package Manager Problem redsea2002 Linux - Newbie 6 12-28-2002 03:05 PM

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

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