LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-12-2003, 04:06 PM   #1
zoomzoom
Member
 
Registered: Aug 2003
Posts: 55

Rep: Reputation: 15
can't su and don't know why!


Hello,

for some reason, im not able to change to the root user with 'su' although im entering the correct password! I just says 'sorry'...

when i login as root at startup, it works fine...

Does anybody know what's the problem?

bye
 
Old 12-12-2003, 09:59 PM   #2
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
You've got security settings to high at it locks out su...
 
Old 12-13-2003, 03:36 AM   #3
zoomzoom
Member
 
Registered: Aug 2003
Posts: 55

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Caeda
You've got security settings to high at it locks out su...
and what setting exactly??
 
Old 12-13-2003, 09:26 AM   #4
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
Well, I have absolutely no idea because you never posted a distro, a version, software you might be using that affects sercurity. I can lock out su in suse by clicking "Security" and changing it to "Paranoia"
 
Old 12-13-2003, 03:29 PM   #5
zoomzoom
Member
 
Registered: Aug 2003
Posts: 55

Original Poster
Rep: Reputation: 15
sorry, forgot about that:

Distro: LFS
Kernel: 2.4.23-rc5
Security/login software: GNU coreutils, shadow (using the shadow version of 'su')

While typing this, got an idea: Cause I'm using the shadow su, it could be (in contrast to GNU su which doesn't require this) that I'm not in the same group as root... I'll check that out...
 
Old 12-14-2003, 09:46 AM   #6
zoomzoom
Member
 
Registered: Aug 2003
Posts: 55

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by zoomzoom
While typing this, got an idea: Cause I'm using the shadow su, it could be (in contrast to GNU su which doesn't require this) that I'm not in the same group as root... I'll check that out...
Although that wasn't the problem, I finally found the solution: I changed the permission flags of su from rwx---r-x to rws---r-x...
 
  


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



LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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