- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sudo problem
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
тАО08-30-2002 07:17 AM
тАО08-30-2002 07:17 AM
sudo problem
I'm using Sudo version 1.6.2b1 on hpux 11.11 system. I have couple of users in the DBA group.
User_Alias DBADMIN = %dba
DBADMIN ALL = (oracle) ALL
Now one of the users is having problem when he runs the following command,
sudo -u oracle ksh
It prompts him to enter his own account password. But when he types his password it says,
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these two things:
#1) Respect the privacy of others.
#2) Think before you type.
Sorry, try again
He's entering the right password but it's giving this message. Even he changed the password and tried again. It didn't help.
In the syslog.log file it's showing
1 incorrect password attempt
But he's entering the right PASSWORD. Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2002 07:37 AM
тАО08-30-2002 07:37 AM
Re: sudo problem
I dont recall the documentation saying that you had to do this (it may have), but I know I have to list commands that users can use in an ACL.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2002 07:48 AM
тАО08-30-2002 07:48 AM
Re: sudo problem
So they will be able to use all the commands. So I don't require to add the command alias
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2002 08:06 AM
тАО08-30-2002 08:06 AM
Re: sudo problem
I saw this problem when I had a user with their own individual entry AND when they were also in a group. There was some kind of conflict because the user was (effectively) in the file twice.
When I removed the individual entry, the problem was solved.
Besides being in the DBADMIN group, does your user have their own entry?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2002 08:24 AM
тАО08-30-2002 08:24 AM
Re: sudo problem
Runas_Alias oracle=oracle
I have to do this for Informix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2002 09:52 AM
тАО08-30-2002 09:52 AM
Re: sudo problem
The user doesn't have his own individual entry. More than 10 users are in the dba group. They all are able to use sudo (sudo -u oracle ksh).
Another user of the dba group had the same issue. We changed his password and it worked fine with the new password.
Nick,
I don't have that line in the sudoers file. But I don't have any issue for other users. It's happening with only one user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-30-2002 01:47 PM
тАО08-30-2002 01:47 PM
Re: sudo problem
Bill Hassell, sysadmin