<?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: su problems in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/su-problems/m-p/4179658#M322237</link>
    <description>&amp;gt;if do a su - (anotherusername) it stills stays as root. Any suggestions?&lt;BR /&gt;&lt;BR /&gt;You didn't do "anotherusername", you did "an_alias_for_root".&lt;BR /&gt;&lt;BR /&gt;What does the passwd entry for piuser1 show?&lt;BR /&gt;&lt;BR /&gt;(Showing us the whole copyright info wasn't all that useful.  We trust you'll copy the important stuff. :-)&lt;BR /&gt;It would have been helpful to do just "su piuser1" then do id(1).&lt;BR /&gt;&lt;BR /&gt;&amp;gt;# id&lt;BR /&gt;&amp;gt;uid=0(root) gid=3(sys)&lt;BR /&gt;&amp;gt;# pwd&lt;BR /&gt;&amp;gt;/home/piuser1&lt;BR /&gt;&lt;BR /&gt;This shows you are root but you have the home directory of piuser1.  So piuser1 == root.&lt;BR /&gt;Note: If you did just "su" and you started in /home/piuser1, the pwd wouldn't be helpful.</description>
    <pubDate>Tue, 15 Apr 2008 07:32:12 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2008-04-15T07:32:12Z</dc:date>
    <item>
      <title>su problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-problems/m-p/4179652#M322231</link>
      <description>i have a server that when you login as root  if you do a su - (anotherusername)  it stills stays as root.  Any suggestions?</description>
      <pubDate>Mon, 14 Apr 2008 15:26:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-problems/m-p/4179652#M322231</guid>
      <dc:creator>pedliz11</dc:creator>
      <dc:date>2008-04-14T15:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: su problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-problems/m-p/4179653#M322232</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Upon what behavior do you base your conclusion?  what does 'id' show?&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 14 Apr 2008 15:34:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-problems/m-p/4179653#M322232</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-04-14T15:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: su problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-problems/m-p/4179654#M322233</link>
      <description>the # sign designates root  if i su to anotheruser name the # remains the same example: su - piuser&lt;BR /&gt;comes back with /home/piuser#</description>
      <pubDate>Mon, 14 Apr 2008 15:51:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-problems/m-p/4179654#M322233</guid>
      <dc:creator>pedliz11</dc:creator>
      <dc:date>2008-04-14T15:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: su problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-problems/m-p/4179655#M322234</link>
      <description>That's hardly a guarantee that you are in fact still root.&lt;BR /&gt;And what does "id" show?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 14 Apr 2008 16:06:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-problems/m-p/4179655#M322234</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2008-04-14T16:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: su problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-problems/m-p/4179656#M322235</link>
      <description>HI (again):&lt;BR /&gt;&lt;BR /&gt;&amp;gt; the # sign designates root if i su to anotheruser name the # remains the same &lt;BR /&gt;&lt;BR /&gt;If the login profile of the account to which you 'su - ' sets the PS1 prompt to "#" then this is going to look like a 'root' prompt.&lt;BR /&gt;&lt;BR /&gt;What is the PS1 prompt in the target user's '.profile'?&lt;BR /&gt;&lt;BR /&gt;Most importantly, as I first said:&lt;BR /&gt;&lt;BR /&gt;What does 'id' show after the 'su'?&lt;BR /&gt;&lt;BR /&gt;# id&lt;BR /&gt;# su - anotherusername&lt;BR /&gt;# id&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 14 Apr 2008 16:13:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-problems/m-p/4179656#M322235</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-04-14T16:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: su problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-problems/m-p/4179657#M322236</link>
      <description>this is the output:&lt;BR /&gt;phdb1057/home/root#pwd&lt;BR /&gt;/home/root&lt;BR /&gt;phdb1057/home/root#whoami&lt;BR /&gt;root&lt;BR /&gt;phdb1057/home/root#id&lt;BR /&gt;uid=0(root) gid=3(sys) groups=0(root),1(other),2(bin),4(adm),5(daemon),6(mail),7(lp),20(users)&lt;BR /&gt;phdb1057/home/root#su - piuser1&lt;BR /&gt;(c)Copyright 1983-2003 Hewlett-Packard Development Company, L.P.&lt;BR /&gt;(c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California&lt;BR /&gt;(c)Copyright 1980, 1984, 1986 Novell, Inc.&lt;BR /&gt;(c)Copyright 1986-2000 Sun Microsystems, Inc.&lt;BR /&gt;(c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology&lt;BR /&gt;(c)Copyright 1989-1993  The Open Software Foundation, Inc.&lt;BR /&gt;(c)Copyright 1990 Motorola, Inc.&lt;BR /&gt;(c)Copyright 1990, 1991, 1992 Cornell University&lt;BR /&gt;(c)Copyright 1989-1991 The University of Maryland&lt;BR /&gt;(c)Copyright 1988 Carnegie Mellon University&lt;BR /&gt;(c)Copyright 1991-2003 Mentat Inc.&lt;BR /&gt;(c)Copyright 1996 Morning Star Technologies, Inc.&lt;BR /&gt;(c)Copyright 1996 Progressive Systems, Inc.&lt;BR /&gt;  &lt;BR /&gt;&lt;BR /&gt;                  RESTRICTED RIGHTS LEGEND&lt;BR /&gt;Use, duplication, or disclosure by the U.S. Government is subject to&lt;BR /&gt;restrictions as set forth in sub-paragraph (c)(1)(ii) of the Rights in&lt;BR /&gt;Technical Data and Computer Software clause in DFARS 252.227-7013.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                  Hewlett-Packard Company&lt;BR /&gt;                  3000 Hanover Street&lt;BR /&gt;                  Palo Alto, CA 94304 U.S.A.&lt;BR /&gt;&lt;BR /&gt;Rights for non-DOD U.S. Government Departments and Agencies are as set&lt;BR /&gt;forth in FAR 52.227-19(c)(1,2).&lt;BR /&gt;&lt;BR /&gt;***************************************************************************&lt;BR /&gt;                            NOTICE TO USERS&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This computer system is the private property of Pepsico and It's Authorized Users, whether&lt;BR /&gt;individual, corporate or government.  It is for authorized use only.&lt;BR /&gt;Users (authorized or unauthorized) have no explicit or implicit&lt;BR /&gt;expectation of privacy.&lt;BR /&gt;&lt;BR /&gt;Any or all uses of this system and all files on this system may be&lt;BR /&gt;intercepted, monitored, recorded, copied, audited, inspected, and&lt;BR /&gt;disclosed to your employer, to authorized site, government, and law&lt;BR /&gt;enforcement personnel, as well as authorized officials of government&lt;BR /&gt;agencies, both domestic and foreign.&lt;BR /&gt;&lt;BR /&gt;By using this system, the user consents to such interception, monitoring,&lt;BR /&gt;recording, copying, auditing, inspection, and disclosure at the&lt;BR /&gt;discretion of such personnel or officials.  Unauthorized or improper use&lt;BR /&gt;of this system may result in civil and criminal penalties and&lt;BR /&gt;administrative or disciplinary action, as appropriate. By continuing to use&lt;BR /&gt;this system you indicate your awareness of and consent to these terms&lt;BR /&gt;and conditions of use. LOG OFF IMMEDIATELY if you do not agree to the&lt;BR /&gt;conditions stated in this warning.&lt;BR /&gt;&lt;BR /&gt;****************************************************************************&lt;BR /&gt;&lt;BR /&gt;# id                                                                    &lt;BR /&gt;uid=0(root) gid=3(sys)&lt;BR /&gt;# pwd&lt;BR /&gt;/home/piuser1&lt;BR /&gt;# &lt;BR /&gt;</description>
      <pubDate>Mon, 14 Apr 2008 16:24:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-problems/m-p/4179657#M322236</guid>
      <dc:creator>pedliz11</dc:creator>
      <dc:date>2008-04-14T16:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: su problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-problems/m-p/4179658#M322237</link>
      <description>&amp;gt;if do a su - (anotherusername) it stills stays as root. Any suggestions?&lt;BR /&gt;&lt;BR /&gt;You didn't do "anotherusername", you did "an_alias_for_root".&lt;BR /&gt;&lt;BR /&gt;What does the passwd entry for piuser1 show?&lt;BR /&gt;&lt;BR /&gt;(Showing us the whole copyright info wasn't all that useful.  We trust you'll copy the important stuff. :-)&lt;BR /&gt;It would have been helpful to do just "su piuser1" then do id(1).&lt;BR /&gt;&lt;BR /&gt;&amp;gt;# id&lt;BR /&gt;&amp;gt;uid=0(root) gid=3(sys)&lt;BR /&gt;&amp;gt;# pwd&lt;BR /&gt;&amp;gt;/home/piuser1&lt;BR /&gt;&lt;BR /&gt;This shows you are root but you have the home directory of piuser1.  So piuser1 == root.&lt;BR /&gt;Note: If you did just "su" and you started in /home/piuser1, the pwd wouldn't be helpful.</description>
      <pubDate>Tue, 15 Apr 2008 07:32:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-problems/m-p/4179658#M322237</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-04-15T07:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: su problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-problems/m-p/4179659#M322238</link>
      <description>Check the user id on the /etc/passwd file. If it is saying 0, that means it is same as root. &lt;BR /&gt;&lt;BR /&gt;grep piuser /etc/passwd&lt;BR /&gt;grep root /etc/passwd&lt;BR /&gt;&lt;BR /&gt;Otherwise, change to a new user id for the piuser.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Apr 2008 08:01:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-problems/m-p/4179659#M322238</guid>
      <dc:creator>Rasheed Tamton</dc:creator>
      <dc:date>2008-04-15T08:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: su problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/su-problems/m-p/4179660#M322239</link>
      <description>Dear friend&lt;BR /&gt;once done su&lt;BR /&gt;what is the id displaying this is what we are asking inorder to check id&lt;BR /&gt;other wise&lt;BR /&gt;what is u /etc/passwd file &lt;BR /&gt;id anotherusername /etc/passwd&lt;BR /&gt;please send this output</description>
      <pubDate>Tue, 15 Apr 2008 08:15:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/su-problems/m-p/4179660#M322239</guid>
      <dc:creator>Sajjad Sahir</dc:creator>
      <dc:date>2008-04-15T08:15:48Z</dc:date>
    </item>
  </channel>
</rss>

