- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- "su - <username>" asks for password unless isued b...
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
Forums
Discussions
Discussions
Discussions
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
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
05-03-2002 06:50 AM
05-03-2002 06:50 AM
Any way to avoid this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 06:56 AM
05-03-2002 06:56 AM
Re: "su - <username>" asks for password unless isued by root
Check the permissions of the su command. They should read:-
-r-sr-xr-x 1 root bin
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 06:57 AM
05-03-2002 06:57 AM
Re: "su - <username>" asks for password unless isued by root
By default the root user must be allowed to do a su to any account without prompting for a password.
I only suspect the /etc/default/security file or the /etc/nologin file.
Please do man security .
Just my two cents.
-Sukant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 06:57 AM
05-03-2002 06:57 AM
Re: "su - <username>" asks for password unless isued by root
I'd advise patching wrt su eg 11.00 PHC0_16127
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 07:00 AM
05-03-2002 07:00 AM
Re: "su - <username>" asks for password unless isued by root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 07:01 AM
05-03-2002 07:01 AM
Re: "su - <username>" asks for password unless isued by root
Your subject and the question gives some confusion. Normally 'su -' issued by root will not require a password. But if issued by another user, then it will prompt for the password.
If you are root, then check if any alias set for this command:
# alias
If 'su' invoked with -d option, then it will prompt for the password even if it is root. See man pages of su
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 07:05 AM
05-03-2002 07:05 AM
Solutionhttp://us-support2.external.hp.com/wpsl/bin/doc.pl/screen=wpslDisplayPatch/sid=7fdbb6520e70716fad
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2002 07:12 AM
05-03-2002 07:12 AM
Re: "su - <username>" asks for password unless isued by root
Best Regards.