- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- su command prob in hp-ux 10.20
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
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
тАО12-29-2000 09:01 AM
тАО12-29-2000 09:01 AM
su command prob in hp-ux 10.20
I have E class server which has HP-UX 10.20,Whenever i try to excecute "su" command from user level ,it gives "can not get efective user id" error message.What could be the prob.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2000 11:38 AM
тАО12-29-2000 11:38 AM
Re: su command prob in hp-ux 10.20
A problem in the .profile
Check- try adding set -x as the first line
A problem with the /etc/passwd file
Check this and make sure it's ok..look for underscores where they don't belong, etc. Might run pwck to see if this helps find any problems.
A problem with the permissions
Try resetting them
chmod 4555 /usr/bin/su
chown root:bin /usr/bin/su
But wait for others input....they may have the perfect answer to this,
/rcw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-29-2000 12:47 PM
тАО12-29-2000 12:47 PM
Re: su command prob in hp-ux 10.20
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2001 02:30 AM
тАО01-03-2001 02:30 AM
Re: su command prob in hp-ux 10.20
Remember to run chown before chmod. If you run chmod before chown, chown will reset your permissions from 4755 to 0755 and render your initial chmod ineffective.
Hope this helps. Regards.
Steven Sim
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2001 08:03 AM
тАО01-03-2001 08:03 AM
Re: su command prob in hp-ux 10.20
I've found a post relating the same problem:
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x83810559ff7cd4118fef0090279cd0f9!0,00.html
Dan