<?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: Creating a sudo user in RHAS 2.1 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058337#M48835</link>
    <description>Found what I was looking for.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Jorge</description>
    <pubDate>Mon, 23 Jul 2007 11:07:44 GMT</pubDate>
    <dc:creator>Jorge Cocomess</dc:creator>
    <dc:date>2007-07-23T11:07:44Z</dc:date>
    <item>
      <title>Creating a sudo user in RHAS 2.1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058313#M48811</link>
      <description>Greetings,&lt;BR /&gt;&lt;BR /&gt;I would like to know how to setup a user with sudo account.  I would like to give this user the option to change the permission on a file from time to time.&lt;BR /&gt;&lt;BR /&gt;I will try to do everything before giving up the root password.&lt;BR /&gt;&lt;BR /&gt;Again, we're currently using RHAS 2.1.&lt;BR /&gt;&lt;BR /&gt;Thank you in advance.&lt;BR /&gt;&lt;BR /&gt;Jorge</description>
      <pubDate>Mon, 16 Jul 2007 10:37:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058313#M48811</guid>
      <dc:creator>Jorge Cocomess</dc:creator>
      <dc:date>2007-07-16T10:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a sudo user in RHAS 2.1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058314#M48812</link>
      <description>install sudo if it is not already installed. then run visudo as root. and add something like this&lt;BR /&gt;&lt;BR /&gt;username ALL = /bin/chmod /path/to/file NOPASSWD: ALL&lt;BR /&gt;&lt;BR /&gt;This will allow the user to run chmod on the file as root. The NOPASSWD will not prompt the user for the users password. If you omit that the user will be prompted for the users password.</description>
      <pubDate>Mon, 16 Jul 2007 10:48:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058314#M48812</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-07-16T10:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a sudo user in RHAS 2.1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058315#M48813</link>
      <description>Disagree, if you add that line:&lt;BR /&gt;&lt;BR /&gt;username ALL = /bin/chmod /path/to/file NOPASSWD: ALL&lt;BR /&gt;&lt;BR /&gt;You will be giving the possibility to user "username" to run ALL commands as root. The format of the file is:&lt;BR /&gt;&lt;BR /&gt;USER HOSTS = [(RUN_AS_USER)] [NOPASSWD:] LIST_OF_COMMANDS&lt;BR /&gt;&lt;BR /&gt;For example, using visudo add:&lt;BR /&gt;&lt;BR /&gt;user01  ALL = NOPASSWD: /bin/chmod /path/to/file</description>
      <pubDate>Mon, 16 Jul 2007 11:21:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058315#M48813</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-07-16T11:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a sudo user in RHAS 2.1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058316#M48814</link>
      <description>Ivan,&lt;BR /&gt;&lt;BR /&gt;You are correct. i still get confused with the order in the sudoers file.</description>
      <pubDate>Mon, 16 Jul 2007 11:35:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058316#M48814</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-07-16T11:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a sudo user in RHAS 2.1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058317#M48815</link>
      <description>I just need to know where I should add this user-name in the sudo script.&lt;BR /&gt;&lt;BR /&gt;Thank you everyone.&lt;BR /&gt;&lt;BR /&gt;Jorge</description>
      <pubDate>Mon, 16 Jul 2007 13:23:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058317#M48815</guid>
      <dc:creator>Jorge Cocomess</dc:creator>
      <dc:date>2007-07-16T13:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a sudo user in RHAS 2.1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058318#M48816</link>
      <description>just add it to the end of the file.</description>
      <pubDate>Mon, 16 Jul 2007 13:32:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058318#M48816</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-07-16T13:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a sudo user in RHAS 2.1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058319#M48817</link>
      <description>Okay, I added this line to the end of the sudoers script.&lt;BR /&gt;user01 ALL = NOPASSWD: /bin/chmod /path/to/file&lt;BR /&gt;&lt;BR /&gt;Is there anything else I will need to do before I test out by logging as this user??&lt;BR /&gt;&lt;BR /&gt;Thanks so much for your help.&lt;BR /&gt;&lt;BR /&gt;Jorge&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Jul 2007 14:38:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058319#M48817</guid>
      <dc:creator>Jorge Cocomess</dc:creator>
      <dc:date>2007-07-16T14:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a sudo user in RHAS 2.1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058320#M48818</link>
      <description>Hopefully you did not actually add this exact statement.&lt;BR /&gt;&lt;BR /&gt;user01 ALL = NOPASSWD: /bin/chmod /path/to/file&lt;BR /&gt;&lt;BR /&gt;You need to pull the path to a real file.&lt;BR /&gt;&lt;BR /&gt;Ej.&lt;BR /&gt;&lt;BR /&gt;user01 ALL = NOPASSWD: /bin/chmod /data/eng/eng_group_file.out&lt;BR /&gt;&lt;BR /&gt;Otherwise you are good to go.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Jul 2007 14:42:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058320#M48818</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-07-16T14:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a sudo user in RHAS 2.1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058321#M48819</link>
      <description>Hopefully you did not actually add this exact statement.&lt;BR /&gt;&lt;BR /&gt;user01 ALL = NOPASSWD: /bin/chmod /path/to/file&lt;BR /&gt;&lt;BR /&gt;You need to put the path to a real file.&lt;BR /&gt;&lt;BR /&gt;Ej.&lt;BR /&gt;&lt;BR /&gt;user01 ALL = NOPASSWD: /bin/chmod /data/eng/eng_group_file.out&lt;BR /&gt;&lt;BR /&gt;Otherwise you are good to go.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Jul 2007 14:43:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058321#M48819</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-07-16T14:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a sudo user in RHAS 2.1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058322#M48820</link>
      <description>No, that exactly like that.  I still have have a permission issue when I tried to do a chmod.&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;Jorge</description>
      <pubDate>Mon, 16 Jul 2007 14:47:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058322#M48820</guid>
      <dc:creator>Jorge Cocomess</dc:creator>
      <dc:date>2007-07-16T14:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a sudo user in RHAS 2.1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058323#M48821</link>
      <description>What is the issue? can you post the output?</description>
      <pubDate>Mon, 16 Jul 2007 16:22:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058323#M48821</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-07-16T16:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a sudo user in RHAS 2.1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058324#M48822</link>
      <description>I was getting a message stating, "chmod: changing permission of 'test.txt' : operation not permitted"&lt;BR /&gt;&lt;BR /&gt;Jorge</description>
      <pubDate>Mon, 16 Jul 2007 17:11:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058324#M48822</guid>
      <dc:creator>Jorge Cocomess</dc:creator>
      <dc:date>2007-07-16T17:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a sudo user in RHAS 2.1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058325#M48823</link>
      <description>as the user did you do the following&lt;BR /&gt;&lt;BR /&gt;# sudo chmod 755 /data/test.txt&lt;BR /&gt;&lt;BR /&gt;the user will need to type the word sudo before the command and arguments.</description>
      <pubDate>Mon, 16 Jul 2007 19:00:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058325#M48823</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-07-16T19:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a sudo user in RHAS 2.1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058326#M48824</link>
      <description>Oh no, I did not submit the sudo command before using.  let me try it again and let you know.&lt;BR /&gt;&lt;BR /&gt;Thanks so much.&lt;BR /&gt;&lt;BR /&gt;Jorge&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Jul 2007 23:30:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058326#M48824</guid>
      <dc:creator>Jorge Cocomess</dc:creator>
      <dc:date>2007-07-16T23:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a sudo user in RHAS 2.1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058327#M48825</link>
      <description>Is this resolved?</description>
      <pubDate>Tue, 17 Jul 2007 10:40:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058327#M48825</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-07-17T10:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a sudo user in RHAS 2.1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058328#M48826</link>
      <description>Sorry, but I was totally tied up with other operational issues yesterday.&lt;BR /&gt;&lt;BR /&gt;Anyways, this is an error message that I received, "We trust you have received the usual lecture from the local system administrator.  It usually boils down to these two things:&lt;BR /&gt;1. Respect the privacy of others.&lt;BR /&gt;2. Think before you type.&lt;BR /&gt;&lt;BR /&gt;Password:</description>
      <pubDate>Wed, 18 Jul 2007 11:02:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058328#M48826</guid>
      <dc:creator>Jorge Cocomess</dc:creator>
      <dc:date>2007-07-18T11:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a sudo user in RHAS 2.1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058329#M48827</link>
      <description>Sorry, but I was totally tied up with other operational issues yesterday.&lt;BR /&gt;&lt;BR /&gt;Anyways, this is an error message that I received, "We trust you have received the usual lecture from the local system administrator.  It usually boils down to these two things:&lt;BR /&gt;1. Respect the privacy of others.&lt;BR /&gt;2. Think before you type.&lt;BR /&gt;&lt;BR /&gt;Password: "&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I assume it's asking for the root password.&lt;BR /&gt;&lt;BR /&gt;Please advise.&lt;BR /&gt;&lt;BR /&gt;Jorge&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jul 2007 11:03:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058329#M48827</guid>
      <dc:creator>Jorge Cocomess</dc:creator>
      <dc:date>2007-07-18T11:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a sudo user in RHAS 2.1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058330#M48828</link>
      <description>seems like something is wrong with the entry in the sudoers file. Can you please post the line that you added.</description>
      <pubDate>Wed, 18 Jul 2007 15:39:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058330#M48828</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-07-18T15:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a sudo user in RHAS 2.1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058331#M48829</link>
      <description>uid ALL=(root)  NOPASSWD: scriptname&lt;BR /&gt;&lt;BR /&gt;try this way.it should work</description>
      <pubDate>Wed, 18 Jul 2007 15:51:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058331#M48829</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-07-18T15:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a sudo user in RHAS 2.1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058332#M48830</link>
      <description>Should I use the actual user_name (test1) or should I be using the UID??  Does the NOPASSWD should be in caps or lowercase characters?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Jorge&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jul 2007 18:15:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/creating-a-sudo-user-in-rhas-2-1/m-p/5058332#M48830</guid>
      <dc:creator>Jorge Cocomess</dc:creator>
      <dc:date>2007-07-18T18:15:36Z</dc:date>
    </item>
  </channel>
</rss>

