- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- su - is not working
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
09-01-2006 07:00 AM
09-01-2006 07:00 AM
su - is not working
I have a Trusted Mode system with HP-UX 11.00 and when I try to switch root with the command su - the system show this message:
unknown id:root and return the prompt
What is happening in my system??
thanks, Toscanini
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2006 07:02 AM
09-01-2006 07:02 AM
Re: su - is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2006 07:07 AM
09-01-2006 07:07 AM
Re: su - is not working
run the command
grep root /etc/passwd
and see if root has been accidently deleted.
Do you have sudo installed? If so, you will at least be able to switch to root and correct the problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2006 07:14 AM
09-01-2006 07:14 AM
Re: su - is not working
Just when I run the su command the connection is rejected.
Toscanini
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2006 07:16 AM
09-01-2006 07:16 AM
Re: su - is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2006 07:20 AM
09-01-2006 07:20 AM
Re: su - is not working
what it shows the path and size for su?
$ ll /usr/bin/su
-r-sr-xr-x 1 root bin 28672 Oct 4 2002 /usr/bin/su
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2006 07:36 AM
09-01-2006 07:36 AM
Re: su - is not working
The su - root is not working and this is the permision for su path.
-r-xr-xr-x 1 root bin 24576 Aug 6 1998 /usr/bin/su
I can see only a excution permission for su command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2006 07:40 AM
09-01-2006 07:40 AM
Re: su - is not working
-r-xr-xr-x 1 root bin 24576 Aug 6 1998 /usr/bin/su
The mode should be:
-r-sr-xr-x
So chmod 4555 /usr/bin/su and make sure that the ownership remains root:bin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2006 07:40 AM
09-01-2006 07:40 AM
Re: su - is not working
try a chmod u +s /usr/bin/su
to change the sticky bit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2006 07:50 AM
09-01-2006 07:50 AM