HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sudo prompting for password only once.
Operating System - HP-UX
1834712
Members
2140
Online
110069
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
08-27-2008 06:50 AM
08-27-2008 06:50 AM
Hello all,
I've recently configured sudo and I'm running into a problem with password prompting when invoking sudo.
We'll start this off fresh with a 'sudo -K' to clear out any timestamps out there.
I then invoke 'sudo passwd test' and I'm prompted for my user password before I'm allowed to change the test user's password.
Now, I'm expecting the sudo timestamp to expire after 5 minutes (default), but this is not happening. If I try another command with sudo after 5, 10 or even 15 minutes I am not re-prompted for my password. the command just completes. If I log off the system for 30 minutes and go back in and run another command with sudo, I still don't receive my password prompt.
It's like it's ignoring the timestamp altogether.
Any idea what's going on? I've attached my sudoers file.
I've recently configured sudo and I'm running into a problem with password prompting when invoking sudo.
We'll start this off fresh with a 'sudo -K' to clear out any timestamps out there.
I then invoke 'sudo passwd test' and I'm prompted for my user password before I'm allowed to change the test user's password.
Now, I'm expecting the sudo timestamp to expire after 5 minutes (default), but this is not happening. If I try another command with sudo after 5, 10 or even 15 minutes I am not re-prompted for my password. the command just completes. If I log off the system for 30 minutes and go back in and run another command with sudo, I still don't receive my password prompt.
It's like it's ignoring the timestamp altogether.
Any idea what's going on? I've attached my sudoers file.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2008 07:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2008 09:39 AM
08-27-2008 09:39 AM
Re: Sudo prompting for password only once.
Ahhh, stupid mistake on my part! That's what you get for pulling a template from another system.
Thanks for the help!
Thanks for the help!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP