- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sudo user password does not work
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
тАО09-26-2004 04:00 PM
тАО09-26-2004 04:00 PM
sudo user password does not work
System: 9000/N4000 Trusted System
Problem: User password is not recognised when a sudo command is executed.
Sudo software was installed using default configuration and default paths/logging. A test user was created using SAM and placed in a group called DEV. /etc/sudoers was edited with visudo with the following entry:
%DEV
A process (top) was started under root. The test user logged in and tried to kill -9 the PID of the top process without success. When the test user executed the command "sudo kill -9
Questions:
1. Does sudo work on a trusted system?
2. What OS services and configurations need to be enabled to allow the user passwords to be recognised?
3. How do I change the sudo greeting message when sudo commands are executed?
Thank you for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-26-2004 04:49 PM
тАО09-26-2004 04:49 PM
Re: sudo user password does not work
visudo
And try on command line as,
sudo kill -9
Refer this too,
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=692212
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2004 04:15 AM
тАО09-27-2004 04:15 AM
Re: sudo user password does not work
'Still no joy.
I used visudo to edit the /etc/sudoers file to modify the call as suggested but the sudo program still asks for a password even with NOPASSWD specified. Could the trusted system configuration be preventing the sudo program from processing the request?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2004 04:34 AM
тАО09-27-2004 04:34 AM
Re: sudo user password does not work
Our 'sudo' works with trusted systems. However, we compile it in house with --with-pam option.
Do the following
#cd /wherever_sudo_is/bin
#ldd sudo
See if you see something like /usr/lib/libpam.1 => /usr/lib/libpam.1.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2004 04:35 AM
тАО09-27-2004 04:35 AM
Re: sudo user password does not work
Defaults !lecture
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2004 04:43 AM
тАО09-27-2004 04:43 AM
Re: sudo user password does not work
# ldd sudo
/usr/lib/libc.2 => /usr/lib/libc.2
/usr/lib/libdld.2 => /usr/lib/libdld.2
/usr/lib/libc.2 => /usr/lib/libc.2
/usr/lib/libsec.2 => /usr/lib/libsec.2
/usr/lib/libm.2 => /usr/lib/libm.2
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2004 05:16 AM
тАО09-27-2004 05:16 AM
Re: sudo user password does not work
sudo -V |grep -i -e "password" -e "authenticat"
And post the output.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2004 05:23 AM
тАО09-27-2004 05:23 AM
Re: sudo user password does not work
# sudo -V | grep -i -e "password" -e "authenticat"
Authentication methods: 'passwd'
Syslog priority to use when user authenticates successfully: notice
Syslog priority to use when user authenticates unsuccessfully: alert
Require users to authenticate by default
Authentication timestamp timeout: 5 minutes
Password prompt timeout: 5 minutes
Number of tries to enter a password: 3
Incorrect password message: Sorry, try again.
Path to authentication timestamp dir: /var/run/sudo
Default password prompt: Password:
When to require a password for 'list' pseudocommand: any
When to require a password for 'verify' pseudocommand: all
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2004 06:35 AM
тАО09-28-2004 06:35 AM
Re: sudo user password does not work
Thank you for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2005 10:02 PM
тАО08-21-2005 10:02 PM
Re: sudo user password does not work
I have just started on HP-UX, and have had 2 systems to install.
On the initial one, I didn't notice HP supplied sudo on one of the install disks, so I got sudo provided by http://gatekeep.cs.utah.edu/hppd/hpux/ HP-UX software place.
On the 2nd system, I got sudo from the HP supplied packages.
So, the HP INSTALL DISKS SUPPLIED SUDO WON'T WORK OUT OF BOX. The one from gatekeep will.
Ironic.