- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Can't su to root except from root
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2005 11:30 AM
тАО06-15-2005 11:30 AM
Can't su to root except from root
All userid's have valid pw's and accounts are not expired. I can su to root from root. All other ID's get "su: sorry" whenever trying to su to root or any other ID. After searching the forum. Pam.conf is good. There is not /etc/default/security file. The system is trusted. Not sure where to turn from here.
Thanks in advance for any help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2005 11:53 AM
тАО06-15-2005 11:53 AM
Re: Can't su to root except from root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2005 11:58 AM
тАО06-15-2005 11:58 AM
Re: Can't su to root except from root
Also.. what log entires are made in '/var/log/messages' when you attempt to 'su'?
You say 'pam.conf'. What distribution are you using? In most modern distributions, the file you should be looking at is '/etc/pam.d/su'. Paste the contents of that file here too please.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2005 04:13 PM
тАО06-15-2005 04:13 PM
Re: Can't su to root except from root
That sounds like an hpux system?!
Am I right?
If so run the following commands as root.
pwck
grpck
If you have root login at all.
You may need to boot single user to get back to root control.
It would appear that you may have a corrupt /etc/passwd or /etc/group file
Or that I have totally misdiagnosed this call and should be whacked around a few times.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2005 05:15 PM
тАО06-15-2005 05:15 PM
Re: Can't su to root except from root
if this is a linux box then check /etc/pam.d/su file and see whether the following line is uncommented, if so comment it back.
#auth required /lib/security/$ISA/pam_wheel.so use_uid
also it would be better if you give the exact command line and exit status (check $?) also the contents of /var/log/messages and /var/log/secure
Regards,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2005 06:16 PM
тАО06-15-2005 06:16 PM
Re: Can't su to root except from root
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=907929
Hope this helps,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2005 07:08 PM
тАО06-15-2005 07:08 PM
Re: Can't su to root except from root
if the following line is not commented out then only the users in wheel group are allowed to do su.
auth required /lib/security/pam_wheel.so use_uid
So check this in the file /etc/pam.d/su.