<?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 SUDO ?? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo/m-p/3358792#M193707</link>
    <description>Hi, &lt;BR /&gt;  What is Sudo ? and what is the difference &lt;BR /&gt;  having multiple UID set to "0" and having&lt;BR /&gt;  sudo installed on the system.&lt;BR /&gt;&lt;BR /&gt;  Is there any other way where you can have&lt;BR /&gt;  Role Based Access Control (RBAC) under HP-UX&lt;BR /&gt;&lt;BR /&gt;  Currently I am having 2 logins with uid "0"&lt;BR /&gt;  but when I give "ls" command it display&lt;BR /&gt;  the owner of the file created by mylogin is&lt;BR /&gt;  root since my login uid is "0" but group is&lt;BR /&gt;  users ?&lt;BR /&gt;  why is it so ?&lt;BR /&gt;&lt;BR /&gt;  Please anyone explain me why is it so ?&lt;BR /&gt;&lt;BR /&gt;  Thanks,&lt;BR /&gt;  Amit</description>
    <pubDate>Tue, 17 Aug 2004 07:55:40 GMT</pubDate>
    <dc:creator>Amit Dixit_2</dc:creator>
    <dc:date>2004-08-17T07:55:40Z</dc:date>
    <item>
      <title>SUDO ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo/m-p/3358792#M193707</link>
      <description>Hi, &lt;BR /&gt;  What is Sudo ? and what is the difference &lt;BR /&gt;  having multiple UID set to "0" and having&lt;BR /&gt;  sudo installed on the system.&lt;BR /&gt;&lt;BR /&gt;  Is there any other way where you can have&lt;BR /&gt;  Role Based Access Control (RBAC) under HP-UX&lt;BR /&gt;&lt;BR /&gt;  Currently I am having 2 logins with uid "0"&lt;BR /&gt;  but when I give "ls" command it display&lt;BR /&gt;  the owner of the file created by mylogin is&lt;BR /&gt;  root since my login uid is "0" but group is&lt;BR /&gt;  users ?&lt;BR /&gt;  why is it so ?&lt;BR /&gt;&lt;BR /&gt;  Please anyone explain me why is it so ?&lt;BR /&gt;&lt;BR /&gt;  Thanks,&lt;BR /&gt;  Amit</description>
      <pubDate>Tue, 17 Aug 2004 07:55:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo/m-p/3358792#M193707</guid>
      <dc:creator>Amit Dixit_2</dc:creator>
      <dc:date>2004-08-17T07:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo/m-p/3358793#M193708</link>
      <description>With sudo you can give users a subset of root commands without giving them access to all root commands. Additionally, sudo keeps a log of all tasks carried by users in a sudo session.&lt;BR /&gt;&lt;BR /&gt;Mark Syder (like the drink but spelt different)</description>
      <pubDate>Tue, 17 Aug 2004 07:58:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo/m-p/3358793#M193708</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2004-08-17T07:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo/m-p/3358794#M193709</link>
      <description>Hi,&lt;BR /&gt;having multiple users with id "0" is a common practice, but not correct.&lt;BR /&gt;&lt;BR /&gt;As in your case, all the files come up as the first user with id "0" in the /etc/passwd, which is root like in your example.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sudo is the right way to let every user, also non root users, to execute privileged commands.&lt;BR /&gt;&lt;BR /&gt;sudo let configured user to run with eid "0".&lt;BR /&gt;&lt;BR /&gt;If you want further control over what users can do, look also at Access Contro List, they can enhance the security a lot.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;  Massimo</description>
      <pubDate>Tue, 17 Aug 2004 07:59:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo/m-p/3358794#M193709</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2004-08-17T07:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo/m-p/3358795#M193710</link>
      <description>You can get sudo off of the Utah site.&lt;BR /&gt;&lt;BR /&gt;Packages for hp-ux are located at:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/&lt;/A&gt;</description>
      <pubDate>Tue, 17 Aug 2004 08:12:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo/m-p/3358795#M193710</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2004-08-17T08:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo/m-p/3358796#M193711</link>
      <description>sudo allows non-root users to run system commands as root.  When you configure sudo, you can specify a list of commands, and a list of users who are allowed to use them as root.  &lt;BR /&gt;&lt;BR /&gt;By giving a user access to a UID=0 account, you are giving them root access to everything.  With sudo, you can give a user root access to a limited number of commands, and you can control which commands they have root access to.&lt;BR /&gt;&lt;BR /&gt;I am not aware of RBAC under HP-UX, but would love to see HP include it in a future release.&lt;BR /&gt;&lt;BR /&gt;The system tracks users by their uid, not by their user name.  So, when you have duplicate uids listed in the password file, the system will always associate file ownership with the first user with this uid in the password file.&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Aug 2004 08:14:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo/m-p/3358796#M193711</guid>
      <dc:creator>john kingsley</dc:creator>
      <dc:date>2004-08-17T08:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo/m-p/3358797#M193712</link>
      <description>Hi,&lt;BR /&gt;  I have downloaded and installed SUDO&lt;BR /&gt;  doesn anyone have good doc to configure it&lt;BR /&gt;  &lt;BR /&gt;  Say I am having login "amit"&lt;BR /&gt;  I want this user can person some specific&lt;BR /&gt;  application start stop and Informix Install&lt;BR /&gt; &lt;BR /&gt;  How can I configure amit through sudo &lt;BR /&gt;  for the same.&lt;BR /&gt;&lt;BR /&gt;  Thanks,&lt;BR /&gt;  Amit</description>
      <pubDate>Tue, 17 Aug 2004 09:09:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo/m-p/3358797#M193712</guid>
      <dc:creator>Amit Dixit_2</dc:creator>
      <dc:date>2004-08-17T09:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo/m-p/3358798#M193713</link>
      <description>sudo and sudoers man pages are very useful.&lt;BR /&gt;&lt;BR /&gt;Here are some quick notes.&lt;BR /&gt;&lt;BR /&gt;To establish access control you first edit sudo  config file (called sudoers) with visudo. visudo provides locking (similar to vipw) and also checks sudoers file syntax.&lt;BR /&gt;&lt;BR /&gt;The following sudoers entry enables user amit to run (as root) /sbin/init.d/xfs with stop and start arguments on system called hpux.&lt;BR /&gt;&lt;BR /&gt;Host_Alias HPUX = hpux&lt;BR /&gt;Cmnd_Alias XFS_STOP = /sbin/init.d/xfs stop&lt;BR /&gt;Cmnd_Alias XFS_START = /sbin/init.d/xfs start&lt;BR /&gt;&lt;BR /&gt;amit HPUX = (root) XFS_STOP, XFS_START&lt;BR /&gt;&lt;BR /&gt;User amit can list allowed commands with sudo -l.&lt;BR /&gt;&lt;BR /&gt;When logged in as amit you can restart xfs as follows. When asked to provide password type password for amit account (not root).&lt;BR /&gt;&lt;BR /&gt;amit@hpux$ sudo /sbin/init.d/xfs stop&lt;BR /&gt;amit@hpux$ sudo /sbin/init.d/xfs start&lt;BR /&gt;&lt;BR /&gt;Do not give users sudo access to commands such as vi, chown and chmod, as they can easily get access to root shell.</description>
      <pubDate>Wed, 18 Aug 2004 01:22:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo/m-p/3358798#M193713</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2004-08-18T01:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: SUDO ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo/m-p/3358799#M193714</link>
      <description>hi amit,&lt;BR /&gt;there is also a nice intodruction on the following site - for me it was helpful for the first steps (just to understand how it works and so on):&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.komar.org/pres/sudo/toc.html" target="_blank"&gt;http://www.komar.org/pres/sudo/toc.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;doro</description>
      <pubDate>Wed, 18 Aug 2004 03:17:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo/m-p/3358799#M193714</guid>
      <dc:creator>Dorothee Singer</dc:creator>
      <dc:date>2004-08-18T03:17:07Z</dc:date>
    </item>
  </channel>
</rss>

