LinuxQuestions.org
Review your favorite Linux distribution.
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 01-18-2006, 03:10 AM   #1
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Rep: Reputation: 49
Problem with root.


Whenever I try to do anything that requires root privileges, Mandriva pops up a dialog, requiring me to enter the Root Password.

But when I enter the *Correct* Password, it says -- Incorrect Password.

When I try to su - to root from Konsole, I get the following:

Quote:

[amit@Copperskull ~]$ su -
Password:
su: warning: cannot change directory to /root: Permission denied
su: cannot set groups: Operation not permitted
[amit@Copperskull ~]$

Why is that?

Also, some days ago, i started using Mandriva back again. (Before that, everything used to work fine. I simply didn't use Mandriva in the Interim (used another Linux Distro.)

Didn't chmod or chown any folder pertaining to Mandriva (from other distro.)


Then why is this?



I also tried recreating the user, and checked the permissions. It seems to be fine.
 
Old 01-18-2006, 03:31 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
can you show us the output of "ls -ld /root" ?
 
Old 01-18-2006, 10:50 PM   #3
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Original Poster
Rep: Reputation: 49
Quote:
[amit@Copperskull ~]$ ls -ld /root
drwx------ 25 root root 1360 Jan 19 10:22 /root/
[amit@Copperskull ~]$

This is it.

Need to change the permissions or what?
 
Old 01-22-2006, 12:51 PM   #4
Anatida
LQ Newbie
 
Registered: Jan 2006
Posts: 4

Rep: Reputation: 0
I am having this same problem with Mandrake 10.1. I have not done any other installs. I posted this in another topic on root PW, but thought it might be better suited to this one (much apologies if this is spamming, not my intention):

---------------------------------------------------

I am trying to do some configuration on Mandrake 10.1 through my normal user account. It's been several weeks since I worked on learning this system... yes I'm a . I managed to get logged in as Root and reset the PW for my user acct that had 'expired'.

The problem is, when I'm logged into my User Acct, & try to run the configuration console (KDE) it wants Root access and will not accept the root PW. I know the pw is correct, because I keep going back and forth & logging into a root session, but for some reason it won't accept the PW in the user account. (Yes I've checked caps lock, case sensitivity etc.)

I notice that when I enter the PW in the root login dialog box, that KDE encrypts it, but from the User acct it does not... surely that would not make a difference?

Any ideas or suggestions?

Thank you!
 
Old 01-22-2006, 01:43 PM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
The permissions are right. What are the permissions of the /bin directory. If they are not 755, then change them to that.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
su - root problem alimutlu Linux - Security 3 01-16-2006 04:59 AM
Root problem Daniboy Linux - Software 2 10-08-2005 02:44 AM
root files: create as root:root or root:wheel? pcass Linux - Security 1 02-07-2004 04:14 PM
Root problem chamkila Linux - Security 2 11-21-2001 09:44 AM
root problem almostnew Linux - General 14 08-28-2001 01:53 AM

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

All times are GMT -5. The time now is 05:38 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration