- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: problems with 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
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
тАО07-27-2004 08:17 AM
тАО07-27-2004 08:17 AM
problems with su
I am new to HP-UX. I am running 11i. I have created some local user accounts through the SAM interface. When I telnet into my system as a non-root user and try to su - as root, I enter the password and I get su: Sorry, as if I typed the wrong password. (The root password is correct, I set it, and I can telnet in directly as root). I have read the security man page, by default su should work. The file /etc/security does not even exist. There is also nothing helpful listed in /var/adm/sulog other than my failed attempts. Anyone have any ideas??
Thanks for your help,
Rich
Here is the output from /var/adm/sulog:
SU 07/27 10:36 - tc jgreen-root
SU 07/27 10:36 - tc jgreen-root
SU 07/27 10:36 - tc jgreen-root
SU 07/27 10:37 - td rich-root
SU 07/27 10:37 - td rich-root
SU 07/27 14:37 - td rich-root
SU 07/27 14:37 - td rich-root
SU 07/27 14:39 - td rich-root
SU 07/27 16:06 + td root-root
SU 07/27 16:07 + td root-rich
SU 07/27 16:07 - td root-root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2004 08:27 AM
тАО07-27-2004 08:27 AM
Re: problems with su
ll /usr/bin/su
-r-sr-xr-x 1 root bin 28672 Oct 4 2002 /usr/bin/su
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2004 08:29 AM
тАО07-27-2004 08:29 AM
Re: problems with su
# ll /usr/bin/su
-r-sr-xr-x 1 root bin 24576 Nov 14 2000 /usr/bin/su
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2004 08:37 AM
тАО07-27-2004 08:37 AM
Re: problems with su
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2004 08:38 AM
тАО07-27-2004 08:38 AM
Re: problems with su
Check if SU TO ROOT ALLOWED GROUPS is defined in the /etc/default/security file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2004 08:42 AM
тАО07-27-2004 08:42 AM
Re: problems with su
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2004 08:48 AM
тАО07-27-2004 08:48 AM
Re: problems with su
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2004 08:51 AM
тАО07-27-2004 08:51 AM
Re: problems with su
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2004 08:53 AM
тАО07-27-2004 08:53 AM
Re: problems with su
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2004 08:56 AM
тАО07-27-2004 08:56 AM
Re: problems with su
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2004 09:01 AM
тАО07-27-2004 09:01 AM
Re: problems with su
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2004 09:03 AM
тАО07-27-2004 09:03 AM
Re: problems with su
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2004 09:08 AM
тАО07-27-2004 09:08 AM
Re: problems with su
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2004 09:09 AM
тАО07-27-2004 09:09 AM
Re: problems with su
One way to tell if you have either of these products installed would be to look at the /etc/passwd file to see if the encrypted passwords for your non-root users are stored in the /etc/passwd file. If they are then I doubt either of these products are configured.
Also, are you using any backend name service for your /etc/passwd data, i.e. NIS, NIS+, LDAP, etc.?
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2004 09:21 AM
тАО07-27-2004 09:21 AM
Re: problems with su
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2004 09:23 AM
тАО07-27-2004 09:23 AM
Re: problems with su
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2004 09:28 AM
тАО07-27-2004 09:28 AM
Re: problems with su
passwd: files
group: files
hosts: dns [NOTFOUND=return] files
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2004 09:32 AM
тАО07-27-2004 09:32 AM
Re: problems with su
In looking at the sulog output, the only field I haven't seen before is the "tc" or "td" entries. I'm used to seeing the device file name of the virtual terminal that you were using when you issued the "su" command. In my systems this looks like:
# cat /var/adm/sulog
SU 07/27 13:24 - ttyp1 dolker-root
SU 07/27 13:24 + ttyp1 dolker-root
SU 07/27 13:28 + ttyp1 dolker-root
SU 07/27 13:31 + ttyp1 dolker-root
SU 07/27 13:31 + ttyp1 dolker-root
SU 07/27 13:32 + ttyp1 dolker-root
SU 07/27 14:31 + ttyp1 dolker-root
On all of my systems I get the name of the device file like "ttyp1" meaning /dev/ttyp1 was used.
I don't know if there is any significance to the fact that your system is logging "tc" and "td" when you telnet into your system and issue the command, and mine all say "ttyp#". Could be significant, or it could simply be my lack of experience with the sulog format.
Does anyone else see "tc" or "td" in their sulog file for this field?
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2004 01:42 PM
тАО07-27-2004 01:42 PM