- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sudo mails about /var/adm owned by uid 4
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
03-28-2011 11:26 PM
03-28-2011 11:26 PM
sudo mails about /var/adm owned by uid 4
I have installed iexpress sudo version 1.7.4p6 on a couple servers with 11.31 ia64. It works fine, but when a users executes a command that he is not allowed to run I get the following mail:
Mar 29 08:54:33 : cbrpr : /var/adm owned by uid 4, should be uid
0 ; TTY=pts/1 ; PWD=/home/cbrpr ; USER=root ; COMMAND=dmesg
Does anyone knows why this is happening? /var/adm should be owned by UID 4 (adm).
Thanks,
Michel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2011 12:12 AM
03-29-2011 12:12 AM
Re: sudo mails about /var/adm owned by uid 4
Doesn't seem like an "error" to me... It's just mail.... The adm pseudo account on /etc/passwd is one of the system account that has priveleged status and sometimes just termed as a UID. The home directory field of the adm pseudo account is /var/adm! {surprising isn't it!} and the adm priveleged account should normally own that directory.
Adm owning /var/adm has nothing to do with the iexpress sudo version installed...
Regards
Ismail Azad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2011 12:43 AM
03-29-2011 12:43 AM
Re: sudo mails about /var/adm owned by uid 4
I agree it's just a mail.
But why is sudo mailing that /var/adm should be owned by uid 0. That is not correct. sudo should be mailing that the user is not allowed to run the command dmesg or something similar.
Ok, i found it. /var/adm is the default location of the timestampdir. And that one should be owned by UID 0. I changed this default directory in the sudoers file to /var/adm/sudo and I do not get these mails anymore.
Michel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2011 12:45 AM
03-29-2011 12:45 AM
Re: sudo mails about /var/adm owned by uid 4
Michel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2011 12:48 AM
03-29-2011 12:48 AM
Re: sudo mails about /var/adm owned by uid 4
Perhaps that version of sudo thinks it should be owned by root?
But I would have expected only cbrpr not being allowed to use dmesg command.