<?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: How to set a user without password on Linux ? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-to-set-a-user-without-password-on-linux/m-p/3533122#M17271</link>
    <description>if you don't use shadow passwords:&lt;BR /&gt;simply remove seconds column from the user in /etc/passwd.So the entry will look like the following.&lt;BR /&gt;&lt;BR /&gt;user::500:500::/home/user:/bin/bash&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;use "authconfig" utility to set/unset shadow passwords.</description>
    <pubDate>Wed, 27 Apr 2005 09:43:51 GMT</pubDate>
    <dc:creator>Alexander Chuzhoy</dc:creator>
    <dc:date>2005-04-27T09:43:51Z</dc:date>
    <item>
      <title>How to set a user without password on Linux ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-set-a-user-without-password-on-linux/m-p/3533120#M17269</link>
      <description>Is that possible to set a user without password on Linux ?&lt;BR /&gt;&lt;BR /&gt;I have a device which is a terminal,wants to login to the Linux automatically. That is, the users who use the device doesn't have to type in any user authentication info. before they can sign in to the Linux server.&lt;BR /&gt;&lt;BR /&gt;( Security issue is not concerned at this moment, however, better solution will be appreciated )&lt;BR /&gt;&lt;BR /&gt;Thanks a lot !</description>
      <pubDate>Wed, 27 Apr 2005 07:46:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-set-a-user-without-password-on-linux/m-p/3533120#M17269</guid>
      <dc:creator>yyghp</dc:creator>
      <dc:date>2005-04-27T07:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a user without password on Linux ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-set-a-user-without-password-on-linux/m-p/3533121#M17270</link>
      <description>Yes, there is a way.&lt;BR /&gt;&lt;BR /&gt;Modify '/etc/shadow', and remove the encrypted password for the given user, i.e.&lt;BR /&gt;&lt;BR /&gt;genericuser:$1$2PCgTfmF$BbNzJv.sc7iNJ2xB.iHfP.:12407:0:99999:7:::&lt;BR /&gt;&lt;BR /&gt;to:&lt;BR /&gt;&lt;BR /&gt;genericuser::12407:0:99999:7:::&lt;BR /&gt;&lt;BR /&gt;If you ensure the matching /etc/passwd entry has an 'x' in the 2nd field (like all shadow-encrypted passwords), then the account will have 'no' password.&lt;BR /&gt;&lt;BR /&gt;There is no nice neat command to remove a password in this manner.  The 'passwd' command will force an unencryptable password (!!) if none is supplied.&lt;BR /&gt;&lt;BR /&gt;WARNING: Manually modifying the passwd and shadow files is dangerous.  Ensure you have a backup copy before doing anything, and make sure you can still log in (in another session) as user/root before logging the current session out.</description>
      <pubDate>Wed, 27 Apr 2005 08:37:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-set-a-user-without-password-on-linux/m-p/3533121#M17270</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-04-27T08:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a user without password on Linux ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-set-a-user-without-password-on-linux/m-p/3533122#M17271</link>
      <description>if you don't use shadow passwords:&lt;BR /&gt;simply remove seconds column from the user in /etc/passwd.So the entry will look like the following.&lt;BR /&gt;&lt;BR /&gt;user::500:500::/home/user:/bin/bash&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;use "authconfig" utility to set/unset shadow passwords.</description>
      <pubDate>Wed, 27 Apr 2005 09:43:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-set-a-user-without-password-on-linux/m-p/3533122#M17271</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2005-04-27T09:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a user without password on Linux ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-set-a-user-without-password-on-linux/m-p/3533123#M17272</link>
      <description>I believe you dont have to touch /etc/shadow file, just edit /etc/passwd file and remove 'x' in the user id entry.&lt;BR /&gt;&lt;BR /&gt;ex:&lt;BR /&gt; &lt;BR /&gt;user1:x:19910:19901:/home/user1:/bin/bash&lt;BR /&gt; &lt;BR /&gt;change to&lt;BR /&gt;&lt;BR /&gt;user1::19910:19901:/home/user1:/bin/bash&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Gopi</description>
      <pubDate>Wed, 27 Apr 2005 23:44:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-set-a-user-without-password-on-linux/m-p/3533123#M17272</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-04-27T23:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a user without password on Linux ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-to-set-a-user-without-password-on-linux/m-p/3533124#M17273</link>
      <description>Since you are asking for a better (more secure) solution, I would recommend using ssh with authorized_keys. The user wouldn't have to login with a password, but would HAVE a password, and all trafic would be encrypted as well. OR (less secure) you could use .rhosts for logins. While more secure than having no password, it is defininitely a distant second choice over ssh.&lt;BR /&gt;&lt;BR /&gt;-paul.</description>
      <pubDate>Thu, 28 Apr 2005 11:48:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-to-set-a-user-without-password-on-linux/m-p/3533124#M17273</guid>
      <dc:creator>Paul Cross_1</dc:creator>
      <dc:date>2005-04-28T11:48:24Z</dc:date>
    </item>
  </channel>
</rss>

