- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Invalid ID during su
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
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
10-16-2000 10:37 PM
10-16-2000 10:37 PM
When I try to su from a normal user, I have the following error.
$ su root
Password:
setgroups: Not owner
su: Invalid ID
Can anyone tell me what is happening. Remove out the /etc/logingroup link, the setgroups NOt owner gone but Invalid ID still there.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2000 11:15 PM
10-16-2000 11:15 PM
Re: Invalid ID during su
Looks like an error in your passwd file. What does the root entry in your passwd file look like ? (you can remove the password bit for security reasons).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2000 01:40 AM
10-17-2000 01:40 AM
Re: Invalid ID during su
You might try checking your password and group files with 'pwck' and 'grpck' respectively. See the man (1M) pages for each.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2000 02:05 AM
10-17-2000 02:05 AM
Re: Invalid ID during su
Below is the output of pwck command:
nobody:*:-2:-2::/:
Invalid GID
pwrchute::101:20:Powerchute Pseudo User:/home/pwrchute:/sbin/false
Login directory not found
developer:XNc3FBgJz5QuI:8410:8400:HP84000 developer:/home/developer:/bin/ksh
Logname too long/short
student10::8430:8400:84000 student,,,:/home/student10:/usr/bin/ksh
Logname too long/short
Login directory not found
mklim:1p1FqbXrIUEV6:103:20:,,,:/home/mklim:/usr/bin/sh
Login directory not found
--------------------------------------------
Below is the output of pwck on a machine that DONOT have su problem:
nobody:*:-2:-2::/:
Invalid GID
pwrchute::101:20:Powerchute Pseudo User:/home/pwrchute:/sbin/false
Login directory not found
developer:cSw4Isw54K1Ps:8410:8400:HP84000 developer:/home/developer:/bin/ksh
Logname too long/short
sam_exec:xxx:0:1::/home/sam_exec:/usr/bin/sh
1 Bad character(s) in logname
I am also attaching the /etc/passwd file from the problematic machine.
Please help, thank you !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2000 02:24 AM
10-17-2000 02:24 AM
Re: Invalid ID during su
Sorry, I forgot to mention that 'pwck' complains about lots of those things -- like underscores in user names, etc.
You never said to whom or from whom you are doing the 'su'. Make sure that your default groups as represented in the /etc/passwd file are represented in the /etc/group. You are using a group ID = 8400 for some users. Is that defined in the group file?
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2000 03:06 AM
10-17-2000 03:06 AM
Re: Invalid ID during su
Thank you for your reply.
I am enclosing the /etc/group file...
I did su from users operator to root.
Infact, I have tried, none of the users on that system can succesfully su to root.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2000 03:16 AM
10-17-2000 03:16 AM
SolutionAnother thing that could be causing your problem is the permissions of the su command /usr/bin/su.
ll /usr/bin/su should give you:-
-r-sr-xr-x 1 root bin ...
To return them to normal you need to
chmod 4555 /usr/bin/su
chown root:bin /usr/bin/su
Hope this helps,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2000 05:50 AM
10-19-2000 05:50 AM
Re: Invalid ID during su
Hope that solves it.
Thanks,
Matt