<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: problems with su in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342598#M190933</link>
    <description>Are you using any backend name service for your /etc/passwd data, i.e. NIS, NIS+, LDAP, etc.?  Could you copy/paste your /etc/nsswitch.conf file contents here so we can see what the "passwd:" entry looks like?&lt;BR /&gt;&lt;BR /&gt;Dave</description>
    <pubDate>Tue, 27 Jul 2004 16:23:51 GMT</pubDate>
    <dc:creator>Dave Olker</dc:creator>
    <dc:date>2004-07-27T16:23:51Z</dc:date>
    <item>
      <title>problems with su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342583#M190918</link>
      <description>Hello all,&lt;BR /&gt;   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??&lt;BR /&gt;&lt;BR /&gt;Thanks for your help, &lt;BR /&gt;Rich&lt;BR /&gt;&lt;BR /&gt;Here is the output from /var/adm/sulog:&lt;BR /&gt;&lt;BR /&gt;SU 07/27 10:36 - tc jgreen-root&lt;BR /&gt;SU 07/27 10:36 - tc jgreen-root&lt;BR /&gt;SU 07/27 10:36 - tc jgreen-root&lt;BR /&gt;SU 07/27 10:37 - td rich-root&lt;BR /&gt;SU 07/27 10:37 - td rich-root&lt;BR /&gt;SU 07/27 14:37 - td rich-root&lt;BR /&gt;SU 07/27 14:37 - td rich-root&lt;BR /&gt;SU 07/27 14:39 - td rich-root&lt;BR /&gt;SU 07/27 16:06 + td root-root&lt;BR /&gt;SU 07/27 16:07 + td root-rich&lt;BR /&gt;SU 07/27 16:07 - td root-root&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Jul 2004 15:17:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342583#M190918</guid>
      <dc:creator>Richard Zawaski_2</dc:creator>
      <dc:date>2004-07-27T15:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: problems with su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342584#M190919</link>
      <description>check the permissions on su&lt;BR /&gt;&lt;BR /&gt;ll /usr/bin/su&lt;BR /&gt;-r-sr-xr-x 1 root bin    28672 Oct 4 2002 /usr/bin/su&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 27 Jul 2004 15:27:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342584#M190919</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-07-27T15:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: problems with su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342585#M190920</link>
      <description>got the same output, permissions look good.&lt;BR /&gt;&lt;BR /&gt;# ll /usr/bin/su&lt;BR /&gt;-r-sr-xr-x   1 root       bin          24576 Nov 14  2000 /usr/bin/su&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Jul 2004 15:29:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342585#M190920</guid>
      <dc:creator>Richard Zawaski_2</dc:creator>
      <dc:date>2004-07-27T15:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: problems with su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342586#M190921</link>
      <description>Do you see any additional logging messages in the /var/adm/syslog/syslog.log file that might point to the problem?&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Tue, 27 Jul 2004 15:37:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342586#M190921</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2004-07-27T15:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: problems with su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342587#M190922</link>
      <description>The file you should be looking at is /etc/default/security and not /etc/security.&lt;BR /&gt;&lt;BR /&gt;Check if SU TO ROOT ALLOWED GROUPS is defined in the /etc/default/security file.</description>
      <pubDate>Tue, 27 Jul 2004 15:38:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342587#M190922</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-07-27T15:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: problems with su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342588#M190923</link>
      <description>No, there is nothing else in the syslog.log other than the duplicate info that is in sulog. For the last post, sorry, I meant to type /etc/default/security. Yes, this file does not exist. The only thing in 2 files in there are fs and useradd.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Jul 2004 15:42:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342588#M190923</guid>
      <dc:creator>Richard Zawaski_2</dc:creator>
      <dc:date>2004-07-27T15:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: problems with su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342589#M190924</link>
      <description>Have you made any changes to the PAM configuration files?  The files I'm curious about are /etc/pam.conf and /etc/pam_user.conf.  If you've made changes to these files you could try putting the default versions of these files back and see if su works.&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Tue, 27 Jul 2004 15:48:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342589#M190924</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2004-07-27T15:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: problems with su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342590#M190925</link>
      <description>No this is a fresh install of 11i. I did not do the install however. But, the pam.conf file looks to be default, no ref to the su command listed. Also, there is nothing in the pam_user.conf file, all the lines are commented out.</description>
      <pubDate>Tue, 27 Jul 2004 15:51:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342590#M190925</guid>
      <dc:creator>Richard Zawaski_2</dc:creator>
      <dc:date>2004-07-27T15:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: problems with su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342591#M190926</link>
      <description>Just to be sure, could you try doing a diff of /etc/pam.conf against the default file /usr/newconfig/etc/pam.conf and see if there is any difference between these files?&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Tue, 27 Jul 2004 15:53:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342591#M190926</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2004-07-27T15:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: problems with su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342592#M190927</link>
      <description>No differences....</description>
      <pubDate>Tue, 27 Jul 2004 15:56:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342592#M190927</guid>
      <dc:creator>Richard Zawaski_2</dc:creator>
      <dc:date>2004-07-27T15:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: problems with su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342593#M190928</link>
      <description>Is trusted systems turned on by any chance?&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Tue, 27 Jul 2004 16:01:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342593#M190928</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2004-07-27T16:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: problems with su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342594#M190929</link>
      <description>I dont think so, how would I tell? Is it part of the standard install?</description>
      <pubDate>Tue, 27 Jul 2004 16:03:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342594#M190929</guid>
      <dc:creator>Richard Zawaski_2</dc:creator>
      <dc:date>2004-07-27T16:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: problems with su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342595#M190930</link>
      <description>This is a long shot, you said you were running "su - root", have you tried running "su root"?</description>
      <pubDate>Tue, 27 Jul 2004 16:08:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342595#M190930</guid>
      <dc:creator>john kingsley</dc:creator>
      <dc:date>2004-07-27T16:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: problems with su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342596#M190931</link>
      <description>Trusted systems is included with the standard HP-UX 11i, but it is disabled by default.  Shadow password support is also available for 11i but it doesn't ship with the system.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Also, are you using any backend name service for your /etc/passwd data, i.e. NIS, NIS+, LDAP, etc.?&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Tue, 27 Jul 2004 16:09:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342596#M190931</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2004-07-27T16:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: problems with su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342597#M190932</link>
      <description>Checking the passwd file and trusted system is not enabled. I have already tried su root. Same result.</description>
      <pubDate>Tue, 27 Jul 2004 16:21:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342597#M190932</guid>
      <dc:creator>Richard Zawaski_2</dc:creator>
      <dc:date>2004-07-27T16:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: problems with su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342598#M190933</link>
      <description>Are you using any backend name service for your /etc/passwd data, i.e. NIS, NIS+, LDAP, etc.?  Could you copy/paste your /etc/nsswitch.conf file contents here so we can see what the "passwd:" entry looks like?&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Tue, 27 Jul 2004 16:23:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342598#M190933</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2004-07-27T16:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: problems with su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342599#M190934</link>
      <description>nsswitch.conf&lt;BR /&gt;&lt;BR /&gt;passwd:       files&lt;BR /&gt;group:        files&lt;BR /&gt;hosts:        dns [NOTFOUND=return] files&lt;BR /&gt;services:     files&lt;BR /&gt;networks:     files&lt;BR /&gt;protocols:    files&lt;BR /&gt;rpc:          files&lt;BR /&gt;publickey:    files&lt;BR /&gt;netgroup:     files&lt;BR /&gt;automount:    files&lt;BR /&gt;aliases:      files&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Jul 2004 16:28:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342599#M190934</guid>
      <dc:creator>Richard Zawaski_2</dc:creator>
      <dc:date>2004-07-27T16:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: problems with su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342600#M190935</link>
      <description>Ok, I'm running out of ideas.  :)&lt;BR /&gt;&lt;BR /&gt;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:&lt;BR /&gt;&lt;BR /&gt;# cat /var/adm/sulog&lt;BR /&gt;SU 07/27 13:24 - ttyp1 dolker-root&lt;BR /&gt;SU 07/27 13:24 + ttyp1 dolker-root&lt;BR /&gt;SU 07/27 13:28 + ttyp1 dolker-root&lt;BR /&gt;SU 07/27 13:31 + ttyp1 dolker-root&lt;BR /&gt;SU 07/27 13:31 + ttyp1 dolker-root&lt;BR /&gt;SU 07/27 13:32 + ttyp1 dolker-root&lt;BR /&gt;SU 07/27 14:31 + ttyp1 dolker-root&lt;BR /&gt;&lt;BR /&gt;On all of my systems I get the name of the device file like "ttyp1" meaning /dev/ttyp1 was used.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Does anyone else see "tc" or "td" in their sulog file for this field?&lt;BR /&gt;&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Jul 2004 16:32:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342600#M190935</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2004-07-27T16:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: problems with su</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342601#M190936</link>
      <description>Do you have any special characters in the root's password? If so, have you tried using just a combination of letters and numbers for the root's password?</description>
      <pubDate>Tue, 27 Jul 2004 20:42:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problems-with-su/m-p/3342601#M190936</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2004-07-27T20:42:12Z</dc:date>
    </item>
  </channel>
</rss>

