GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- cannot use su to switch to root
Operating System - HP-UX
1851064
Members
2841
Online
104056
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
05-16-2001 11:05 AM
05-16-2001 11:05 AM
cannot use su to switch to root
When I attempt to su to root, either as a regular user or after being logged in as root, I get an error:
xxxxxxxx[/]-241# su -
su: You do not have the ability to su to root
xxxxxxxx[/]-242# which su
/usr/bin/su
xxxxxxxx[/]-243# ll /usr/bin/su
-rwsr-xr-x 1 root sys 69632 Oct 25 2000 /usr/bin/su
I saw a lot of posts from people wanting this functionality, but none about why su might be acting this way. Sudo is present but not active and there is no /etc/securetty file. I can su from root to a regular user. Ideas? Thanks in advance.
-Tom
xxxxxxxx[/]-241# su -
su: You do not have the ability to su to root
xxxxxxxx[/]-242# which su
/usr/bin/su
xxxxxxxx[/]-243# ll /usr/bin/su
-rwsr-xr-x 1 root sys 69632 Oct 25 2000 /usr/bin/su
I saw a lot of posts from people wanting this functionality, but none about why su might be acting this way. Sudo is present but not active and there is no /etc/securetty file. I can su from root to a regular user. Ideas? Thanks in advance.
-Tom
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2001 11:23 AM
05-16-2001 11:23 AM
Re: cannot use su to switch to root
Hi Tom:
Try 'chown'ing to "root:bin" rather than "root"sys". I'd also take the write-permission off the owner. I have:
-r-sr-xr-x 1 root bin 24576 Aug 6 1998 /usr/bin/su
...JRF...
Try 'chown'ing to "root:bin" rather than "root"sys". I'd also take the write-permission off the owner. I have:
-r-sr-xr-x 1 root bin 24576 Aug 6 1998 /usr/bin/su
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2001 11:23 AM
05-16-2001 11:23 AM
Re: cannot use su to switch to root
Hi Tom,
What OS are you running? 11x has a feature that can be enabled if a patch was installed
that only allows members of group su to su - root. (PHCO_16127) Since you mentioned that sudo was installed, it too can controll access - examine /etc/sudoers.
What OS are you running? 11x has a feature that can be enabled if a patch was installed
that only allows members of group su to su - root. (PHCO_16127) Since you mentioned that sudo was installed, it too can controll access - examine /etc/sudoers.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2001 02:26 AM
05-17-2001 02:26 AM
Re: cannot use su to switch to root
s700_800 11.00 su(1) cumulative patch(PHCO_16127)
s700_800 10.20 su(1) cumulative patch(PHCO_14258)
s700_800 10.20 su(1) cumulative patch(PHCO_14258)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP