<?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: Please help about the root question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/please-help-about-the-root-question/m-p/2469503#M774976</link>
    <description>root has the UID 0 as defined in /etc/passwd&lt;BR /&gt;CDE is the Common Desktop Environment used on graphical displays (usually workstations but also available at servers with graphic cards)&lt;BR /&gt;To have a closer look for who is who type&lt;BR /&gt;&lt;BR /&gt;who -T&lt;BR /&gt;&lt;BR /&gt;this will show at the end of each line from where the login comes.</description>
    <pubDate>Fri, 01 Dec 2000 11:24:03 GMT</pubDate>
    <dc:creator>Rainer_1</dc:creator>
    <dc:date>2000-12-01T11:24:03Z</dc:date>
    <item>
      <title>Please help about the root question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/please-help-about-the-root-question/m-p/2469497#M774970</link>
      <description>Dear all HPUX experts,&lt;BR /&gt;&lt;BR /&gt;I have a question about the root. I understand that as a root only has one password, but I am believe that has their way to configure one root may have two or more login as root and giving the difference passwords. I am novice in HPUX. I used the command "who" and found that the current system had two roots and two operator login into the system but given different pts/???. I do not know what does the pts/??? means? &lt;BR /&gt;&lt;BR /&gt;operator   pts/tb       Nov 30 17:14&lt;BR /&gt;root       pts/1        Nov 25 14:50&lt;BR /&gt;root       pts/tc       Dec  1 07:35&lt;BR /&gt;operator   pts/td       Dec  1 07:52&lt;BR /&gt;&lt;BR /&gt;Thank you all experts in advance.&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Dec 2000 03:54:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/please-help-about-the-root-question/m-p/2469497#M774970</guid>
      <dc:creator>Chin Meng</dc:creator>
      <dc:date>2000-12-01T03:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Please help about the root question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/please-help-about-the-root-question/m-p/2469498#M774971</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You must be running CDE, the GUI interface.  Each window that is open is treated as a separate terminal and therefore as a separate login, which is why who is reporting each one although root is most likely only logged in once.&lt;BR /&gt;&lt;BR /&gt;The pts entries refer to the device file used by the window.  The device file for the psuedo terminal would be /dev/pts/X where X is an instance number.&lt;BR /&gt;&lt;BR /&gt;You are right that root (and any other account) can only have one password.  One way to get around this is to have two accounts with the same UID number.  (The UID number is recorded in the third field of the /etc/passwd file.)  Thus, if  another account has a UID of zero, that account would also have root privileges even though it could have a different password.  In effect, there is one account with two names, two passwords, two home directories, etc.  Both account would own the same files, though.&lt;BR /&gt;&lt;BR /&gt;Note, that having a "backdoor" account with UID 0 is a major security risk.  Now potential crackers have two accounts to attack instead of one.&lt;BR /&gt;&lt;BR /&gt;Hope this helps you out.  If not, let me know what is still unclear and I will try again,&lt;BR /&gt;&lt;BR /&gt;  --Bruce</description>
      <pubDate>Fri, 01 Dec 2000 04:37:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/please-help-about-the-root-question/m-p/2469498#M774971</guid>
      <dc:creator>Bruce Regittko_1</dc:creator>
      <dc:date>2000-12-01T04:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Please help about the root question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/please-help-about-the-root-question/m-p/2469499#M774972</link>
      <description>Hi,&lt;BR /&gt;   Bruce is right.&lt;BR /&gt;   In short, when you activate multi terminal windows in a workspace, there would be multi lines like pts/1 .. in the who output.&lt;BR /&gt;    If you change a user's id to 0 in the /etc/passwd file, the user will have root privillage.&lt;BR /&gt;&lt;BR /&gt;Thinphony</description>
      <pubDate>Fri, 01 Dec 2000 05:45:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/please-help-about-the-root-question/m-p/2469499#M774972</guid>
      <dc:creator>thinphony</dc:creator>
      <dc:date>2000-12-01T05:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Please help about the root question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/please-help-about-the-root-question/m-p/2469500#M774973</link>
      <description>Hi,&lt;BR /&gt;   Bruce is right.&lt;BR /&gt;   In short, when you activate multi terminal windows in a workspace, there would be multi lines like pts/1 .. in the who command output.&lt;BR /&gt;    If you change a user's id to 0 in the /etc/passwd file, the user will have root privillage.&lt;BR /&gt;&lt;BR /&gt;Thinphony</description>
      <pubDate>Fri, 01 Dec 2000 05:45:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/please-help-about-the-root-question/m-p/2469500#M774973</guid>
      <dc:creator>thinphony</dc:creator>
      <dc:date>2000-12-01T05:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Please help about the root question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/please-help-about-the-root-question/m-p/2469501#M774974</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I totally agree with Bruce. Having more than one account with UID (user ID) 0 is a major security risk.&lt;BR /&gt;It's just like having a safe with two or more doors. Would you really put all your money in such a safe ??&lt;BR /&gt;&lt;BR /&gt;If you want to give other people some root privileges, consider using 'sudo' which is a really nice utility. It has the advantage of logging all commands so you'll still be able to tell WHO did WHAT on your system.&lt;BR /&gt;&lt;BR /&gt;Here is the link to the main page:&lt;BR /&gt;&lt;A href="http://www.courtesan.com/sudo/sudo.html" target="_blank"&gt;http://www.courtesan.com/sudo/sudo.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Dec 2000 06:26:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/please-help-about-the-root-question/m-p/2469501#M774974</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2000-12-01T06:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Please help about the root question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/please-help-about-the-root-question/m-p/2469502#M774975</link>
      <description>Thank you for all helping me.&lt;BR /&gt;&lt;BR /&gt;Thank you to Bruce. &lt;BR /&gt;&lt;BR /&gt;What is the CDE? Meaning now, the system has been configured in two guys could login the system with their own password, right? How is the other guy have changed the root password, is that the second guy will be effected with problem login his password as a root?&lt;BR /&gt;&lt;BR /&gt;How for me to know who is who?&lt;BR /&gt;How to change it back to default?&lt;BR /&gt;Where to check the UID?&lt;BR /&gt;&lt;BR /&gt;Thank you so much for all experts.&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Dec 2000 09:08:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/please-help-about-the-root-question/m-p/2469502#M774975</guid>
      <dc:creator>Chin Meng</dc:creator>
      <dc:date>2000-12-01T09:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: Please help about the root question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/please-help-about-the-root-question/m-p/2469503#M774976</link>
      <description>root has the UID 0 as defined in /etc/passwd&lt;BR /&gt;CDE is the Common Desktop Environment used on graphical displays (usually workstations but also available at servers with graphic cards)&lt;BR /&gt;To have a closer look for who is who type&lt;BR /&gt;&lt;BR /&gt;who -T&lt;BR /&gt;&lt;BR /&gt;this will show at the end of each line from where the login comes.</description>
      <pubDate>Fri, 01 Dec 2000 11:24:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/please-help-about-the-root-question/m-p/2469503#M774976</guid>
      <dc:creator>Rainer_1</dc:creator>
      <dc:date>2000-12-01T11:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Please help about the root question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/please-help-about-the-root-question/m-p/2469504#M774977</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you want to avoid people to login as root from any terminal other than the system console, simply create the file (as root) /etc/securetty with the single line 'console' in it.&lt;BR /&gt;This can be done simply as follows:&lt;BR /&gt;# echo console &amp;gt; /etc/securetty&lt;BR /&gt;&lt;BR /&gt;By doing this, you would force people to use their own login, and to use 'su' or 'sudo' when they want root privileges. In that case, you'll be able to trace what people are doing.&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Dec 2000 11:53:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/please-help-about-the-root-question/m-p/2469504#M774977</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2000-12-01T11:53:54Z</dc:date>
    </item>
  </channel>
</rss>

