<?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: Lock user in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/lock-user/m-p/3465461#M15960</link>
    <description>Hi Ken,&lt;BR /&gt;&lt;BR /&gt;What you mean about "lock the user" ?&lt;BR /&gt;&lt;BR /&gt;If you have a user that you need to avoid him to login you may change the password via passwd command (#passwd user), or you may change /etc/passwd last field, the shell field, to point to a script that sends a message (or not) and immediately exit from the system.&lt;BR /&gt;&lt;BR /&gt;Now I don't know how to limmit the commands that a user can execute, I'll try to find something on the web (google is our everytime friend).&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;xyko</description>
    <pubDate>Tue, 18 Jan 2005 11:02:25 GMT</pubDate>
    <dc:creator>xyko_1</dc:creator>
    <dc:date>2005-01-18T11:02:25Z</dc:date>
    <item>
      <title>Lock user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lock-user/m-p/3465460#M15959</link>
      <description>Everybody know how to lock the user account. Or limit user to use some command on Linux9.</description>
      <pubDate>Tue, 18 Jan 2005 10:15:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lock-user/m-p/3465460#M15959</guid>
      <dc:creator>kenlo</dc:creator>
      <dc:date>2005-01-18T10:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Lock user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lock-user/m-p/3465461#M15960</link>
      <description>Hi Ken,&lt;BR /&gt;&lt;BR /&gt;What you mean about "lock the user" ?&lt;BR /&gt;&lt;BR /&gt;If you have a user that you need to avoid him to login you may change the password via passwd command (#passwd user), or you may change /etc/passwd last field, the shell field, to point to a script that sends a message (or not) and immediately exit from the system.&lt;BR /&gt;&lt;BR /&gt;Now I don't know how to limmit the commands that a user can execute, I'll try to find something on the web (google is our everytime friend).&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;xyko</description>
      <pubDate>Tue, 18 Jan 2005 11:02:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lock-user/m-p/3465461#M15960</guid>
      <dc:creator>xyko_1</dc:creator>
      <dc:date>2005-01-18T11:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Lock user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/lock-user/m-p/3465462#M15961</link>
      <description>I have RH so here is what I find.&lt;BR /&gt;&lt;BR /&gt;Do a man on passwd.&lt;BR /&gt;To lock a user account user 'passwd -l $LOGNAME'&lt;BR /&gt;&lt;BR /&gt;To limit the commands of a user you might want to look at implementing SUDO and only put the commands to be executed in the sudoers file. &lt;BR /&gt;&lt;BR /&gt;Another option might be to setup ACLs.</description>
      <pubDate>Tue, 18 Jan 2005 12:24:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/lock-user/m-p/3465462#M15961</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-01-18T12:24:29Z</dc:date>
    </item>
  </channel>
</rss>

