- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- shadow and sudo (passwd authentication)
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
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
тАО02-10-2009 03:05 AM
тАО02-10-2009 03:05 AM
shadow and sudo (passwd authentication)
I have installed shadow software on my 11.11 box
# PHCO_27035 1.0 shadow.h cumulative patch
# ShadowPW B.11.11.03 HP-UX 11.11 Shadow Password Enablement Product
ShadowPW.SHADOW B.11.11.03 Shadow Password Enablement
ShadowPW.SHADOW-MAN B.11.11.03 Shadow Password Enablement Man Pages
The sudo version installed on this server is
Sudo version 1.6.3p7
Authentication methods: 'passwd' 'secureware'
When i do sudo su - my password does not accepted. It says wrong password. However; my passowrd works during login
So my doubt is
Do shadow and sudo(passwd authentication) work together?
Or i will have to change the authentication to PAM
Thanks
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2009 03:10 AM
тАО02-10-2009 03:10 AM
Re: shadow and sudo (passwd authentication)
sudo is fully compatible with shadow password authentication.
I have used it on Linux and HP-UX shadowed systems.
I would have shadow installed and working prior to installing sudo, but that is probably not strictly necessary.
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
тАО02-10-2009 03:15 AM
тАО02-10-2009 03:15 AM
Re: shadow and sudo (passwd authentication)
After installing shadow; sudo without passwd authentication works fine but not with passwd authentication
Can you suggest any action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2009 04:22 AM
тАО02-10-2009 04:22 AM
Re: shadow and sudo (passwd authentication)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2009 04:24 AM
тАО02-10-2009 04:24 AM
Re: shadow and sudo (passwd authentication)
The password i am using is exactly 8 characters long.
It has only 1 special character "_"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2009 04:56 AM
тАО02-10-2009 04:56 AM
Re: shadow and sudo (passwd authentication)
grep log /opt/sudo/etc/sudoers
If you don't have a log file entry in sudoers, put one in. Then, try the password authentication again and examine the sudo log.
I would have guessed that you have a @ in your password; however, your last entry says you don't.
Make sure you type your password cleanly - no backspaces, etc. Perhaps your term isn't set up quite correctly such that instead of
abc123
you're actually typing
adj^H^Hbc123
To answer your original question, though, shadow passwords and sudo are fully compatible. We use them across our environment to good effect.
Doug O'Leary
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2009 05:06 AM
тАО02-10-2009 05:06 AM
Re: shadow and sudo (passwd authentication)
# echo $TERM
xterm
I am entering the password correctly.
Other users are also facing same problem with their passwords
There is no entry for log file in /etc/sudoers
However the sudo messages are logging in syslog.log
Feb 10 01:40:48 servername sudo: username : 2 incorrect password attempts ; TTY=pts/5 ; PWD=/home/username ; USER=root ; COMMAND=/usr/bin/su -
Feb 10 01:52:18 servername sudo: user : 1 incorrect password attempt ; TTY=pts/6 ; PWD=/home/user ; USER=root ; COMMAND=/usr/bin/su -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2009 06:57 AM
тАО03-12-2009 06:57 AM
Re: shadow and sudo (passwd authentication)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2009 07:10 AM
тАО03-12-2009 07:10 AM
Re: shadow and sudo (passwd authentication)
You could upgrade you sudo install to the latest version (1.6.9p17.001).
http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1123
Regards,
Robert-Jan