- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Need Sudo help - uid does not exit in the pas...
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
11-02-2001 08:42 AM
11-02-2001 08:42 AM
I have mv sudo set up exactly the same on all
my boxes. Yet on this R390 HPUX 11.0 I am
having problems:
MOONLITE [/home/lkrumrey] # sudo clear
sudo: uid 102 does not exist in the passwd file!
My uid is 102 and yes it does exist in the
password file.
My visudo file is the same on all the servers.
I think I either made a silly mistake or
the 3rd party vendor software for web access
and taken over my box.
I also get this werid message I never saw before:
Moonlite [/home/lkrumrey] # whoami
Intruder alert.
Any clues???
thanks,
Laurie
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2001 08:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2001 08:47 AM
11-02-2001 08:47 AM
Re: Need Sudo help - uid does not exit in the passwd file
Check the permissions on /etc/passwd. They should be should be "-r--r--r--". I'll bet they're not!!!
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2001 08:48 AM
11-02-2001 08:48 AM
Re: Need Sudo help - uid does not exit in the passwd file
If it possible that you are having the same UID for more than one user and your username come after some other username who shares the same UID.
hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2001 08:53 AM
11-02-2001 08:53 AM
Re: Need Sudo help - uid does not exit in the passwd file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2001 08:54 AM
11-02-2001 08:54 AM
Re: Need Sudo help - uid does not exit in the passwd file
I would susepct either permissions, as JRF suggested, or duplicate UIDs. I think permissions though with the error you are getting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2001 08:55 AM
11-02-2001 08:55 AM
Re: Need Sudo help - uid does not exit in the passwd file
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2001 08:58 AM - last edited on 01-07-2021 03:08 AM by krupamn
11-02-2001 08:58 AM - last edited on 01-07-2021 03:08 AM by krupamn
Re: Need Sudo help - uid does not exit in the passwd file
Hi Laurie,
Are you using NIS+. Here is a thread from SUDO site.
http://www.courtesan.com/pipermail/sudo-users/2000-November/000427.html
hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2001 09:25 AM
11-02-2001 09:25 AM
Re: Need Sudo help - uid does not exit in the passwd file
I am trying to look this at different way. Are you using NIS for passwrod?
Check your /etc/nsswitch.conf file for that.
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2001 09:36 AM
11-02-2001 09:36 AM
Re: Need Sudo help - uid does not exit in the passwd file
And there is only uid 102 and that is me, but
it happens for my two backups login as well,but
their uid's show up.
Sudo is not a login and I have the right permissons on this file.
We are not using NIS+, we have a trusted system
but so are all my other boxes. I will try for
kicks to delete and re-add my account.
Laurie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2001 09:43 AM
11-02-2001 09:43 AM
Re: Need Sudo help - uid does not exit in the passwd file
On my problem server I have these perms:
-r-sr-xr-x 1 root bin 24576 Aug 6 1998 su
On my good server I have this:
-r-sr-xr-x+ 1 root bin 24576 Aug 6 1998 su
Maybe I need that plus sign +...
laurie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2001 09:49 AM
11-02-2001 09:49 AM
Re: Need Sudo help - uid does not exit in the passwd file
OK, make sure that the permisssions on /etc are 555 bin:bin.
I agree with Patrick, too, run 'pwck' on your /etc/passwd file to see if anything is amiss internally.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2001 09:53 AM
11-02-2001 09:53 AM
Re: Need Sudo help - uid does not exit in the passwd file
Uday's response to delete and recreate my account worked, tho I am not sure why.
the pwck did not find any problems...This is
a new box, maybe I added my account and then
converted to a trusted system..I'm just shooting in the dark here..but it works so the
ends justify the means, who cares if it works.
Sudo Lives!
Laurie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2001 10:04 AM
11-02-2001 10:04 AM
Re: Need Sudo help - uid does not exit in the passwd file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2001 10:12 AM
11-02-2001 10:12 AM
Re: Need Sudo help - uid does not exit in the passwd file
the env variables for PWD was not setup to my
home directory but /etc. I can't log back
into my server now to check (NIC problems -
don't you just love new servers)...
I think the 3rd Party Vendor stuff is messing
with stuff, but of course they would never
admit any problems.
Laurie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2004 09:55 PM
10-26-2004 09:55 PM