<?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: Linux password help needed in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/linux-password-help-needed/m-p/3537871#M17385</link>
    <description>I'm running RedHat Enterprise ES 3.0 and there is definitely no option to the passwd command that will force a user to login at next login.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 05 May 2005 09:18:33 GMT</pubDate>
    <dc:creator>Debbie Fleith</dc:creator>
    <dc:date>2005-05-05T09:18:33Z</dc:date>
    <item>
      <title>Linux password help needed</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-password-help-needed/m-p/3537865#M17379</link>
      <description>I'm running RH Linux and will be using useradd to create hundreds of user accounts. 3 questions:&lt;BR /&gt;1.  If I plan to run chage to force the user to change the password at next login, do I have to set an initial password?&lt;BR /&gt;2.  Is there some way to script the password command and pass it a generic value (to assign an initial password which I will then expire?)&lt;BR /&gt;3.  Is there anyway to change a user password without being root?  i.e. I have several non-human user accounts that I want a temp to set the passwords for and but don't want to give the temp root priviledges.</description>
      <pubDate>Wed, 04 May 2005 13:08:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-password-help-needed/m-p/3537865#M17379</guid>
      <dc:creator>Debbie Fleith</dc:creator>
      <dc:date>2005-05-04T13:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Linux password help needed</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-password-help-needed/m-p/3537866#M17380</link>
      <description>1. Why use chage??, you can use passwd -f "user_name", IF you have manu users to do this, you can put a script for it.&lt;BR /&gt;2. man chpasswd (It read a file containing usernames and passwords and sets it)&lt;BR /&gt;3. Yes. Use sudo.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Wed, 04 May 2005 14:03:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-password-help-needed/m-p/3537866#M17380</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-05-04T14:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Linux password help needed</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-password-help-needed/m-p/3537867#M17381</link>
      <description>passwd -f does not exist under Red Hat linux</description>
      <pubDate>Wed, 04 May 2005 14:52:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-password-help-needed/m-p/3537867#M17381</guid>
      <dc:creator>Debbie Fleith</dc:creator>
      <dc:date>2005-05-04T14:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Linux password help needed</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-password-help-needed/m-p/3537868#M17382</link>
      <description>passwd -f does exist on Red HatLinux, I just checked the man page.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;NAME&lt;BR /&gt;       passwd - update a userÃ¢s authentication tokens(s)&lt;BR /&gt;&lt;BR /&gt;SYNOPSIS&lt;BR /&gt;       passwd  [-k]  [-l]  [-u [-f]] [-d] [-n mindays] [-x maxdays] [-w warn-&lt;BR /&gt;       days] [-i inactivedays] [-S] [--stdin] [username]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Its not apparent from the man page what the functionality is but thats typical of a linux man page. hpux man pages are much better.&lt;BR /&gt;&lt;BR /&gt;For your specific issue, look at -n mindays -x maxdays -w warndays and -i inactivedays as possible solutions.&lt;BR /&gt;&lt;BR /&gt;SE</description>
      <pubDate>Wed, 04 May 2005 16:58:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-password-help-needed/m-p/3537868#M17382</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-05-04T16:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Linux password help needed</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-password-help-needed/m-p/3537869#M17383</link>
      <description>&lt;BR /&gt;depending on which version of linux you use the passwd program has different options. i checked on my SUSE server and it has -e option which does exactly what you are asking for.&lt;BR /&gt;&lt;BR /&gt; -e     The user will be forced to change the  password  at next login.&lt;BR /&gt;&lt;BR /&gt;if your passwd does not have this functionality then try the combination of -n and -x&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Gopi</description>
      <pubDate>Thu, 05 May 2005 00:58:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-password-help-needed/m-p/3537869#M17383</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-05-05T00:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Linux password help needed</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-password-help-needed/m-p/3537870#M17384</link>
      <description>1. Without password the user won't be able to login.&lt;BR /&gt;&lt;BR /&gt;2.yes there is a way to script passwd:&lt;BR /&gt;&lt;BR /&gt;#!/bin/bash&lt;BR /&gt;for i in [ 1 2 3 4 5 ]&lt;BR /&gt;do&lt;BR /&gt;useradd user$i&lt;BR /&gt;echo user$i |passwd --stdin user$i&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This script will add 5 users and give each it's username as password.&lt;BR /&gt;Password of user1 will be user1&lt;BR /&gt;&lt;BR /&gt;3.read man of sudo command.&lt;BR /&gt;</description>
      <pubDate>Thu, 05 May 2005 03:11:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-password-help-needed/m-p/3537870#M17384</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2005-05-05T03:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Linux password help needed</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-password-help-needed/m-p/3537871#M17385</link>
      <description>I'm running RedHat Enterprise ES 3.0 and there is definitely no option to the passwd command that will force a user to login at next login.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 05 May 2005 09:18:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-password-help-needed/m-p/3537871#M17385</guid>
      <dc:creator>Debbie Fleith</dc:creator>
      <dc:date>2005-05-05T09:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: Linux password help needed</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-password-help-needed/m-p/3537872#M17386</link>
      <description>Steven Protter:  if you look carefully at the man page that you quote, you will see that -f is a sub-flag of the -u flag.  &lt;BR /&gt;&lt;BR /&gt;It's not helpful to claim "Its not apparent from the man page what the functionality is but thats typical of a linux man page." - especially as you are mistaken.&lt;BR /&gt;&lt;BR /&gt;There is no "passwd -f" on Red Hat Linux.&lt;BR /&gt;&lt;BR /&gt;using the command:&lt;BR /&gt;&lt;BR /&gt;chage -d 0 username&lt;BR /&gt;&lt;BR /&gt;should expire the password and should be scriptable.</description>
      <pubDate>Thu, 26 May 2005 13:04:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-password-help-needed/m-p/3537872#M17386</guid>
      <dc:creator>Robert Morrison_2</dc:creator>
      <dc:date>2005-05-26T13:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Linux password help needed</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-password-help-needed/m-p/3537873#M17387</link>
      <description>1. If I plan to run chage to force the user to change the password at next login, do I have to set an initial password?&lt;BR /&gt;&lt;BR /&gt;How is the user going to know what the initial password if its not set.&lt;BR /&gt;&lt;BR /&gt;The diaglog is the same for all users. You gotta log on before you can be forced to change your password. Therefore you need to set an intiial value.&lt;BR /&gt;&lt;BR /&gt;2. Is there some way to script the password command and pass it a generic value (to assign an initial password which I will then expire?)&lt;BR /&gt;&lt;BR /&gt;You can script the password set.&lt;BR /&gt;&lt;BR /&gt;passwd username &amp;lt; file&lt;BR /&gt;&lt;BR /&gt;in the file&lt;BR /&gt;&lt;BR /&gt;newpassword&lt;BR /&gt;newpassword&lt;BR /&gt;&lt;BR /&gt;root runs it so nobody needs to set the initial password.&lt;BR /&gt;&lt;BR /&gt;alternate script text:&lt;BR /&gt;&lt;BR /&gt;passwd username &amp;lt;&amp;lt; EOF&lt;BR /&gt;newpassword&lt;BR /&gt;newpassword&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;3. Is there anyway to change a user password without being root? i.e. I have several non-human user accounts that I want a temp to set the passwords for and but don't want to give the temp root priviledges.&lt;BR /&gt;&lt;BR /&gt;Use root to set the temp password. sudo can give non-root users certain priviledges. I don't totally understand request 3.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 27 May 2005 00:07:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-password-help-needed/m-p/3537873#M17387</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-05-27T00:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Linux password help needed</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-password-help-needed/m-p/3537874#M17388</link>
      <description>I think for No. 3, he wants something like a web interface that says "Reset password" &lt;CLICK&gt;.&lt;BR /&gt;&lt;BR /&gt;And the 'sudo' answer is the good one.&lt;/CLICK&gt;</description>
      <pubDate>Fri, 27 May 2005 00:15:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-password-help-needed/m-p/3537874#M17388</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-05-27T00:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Linux password help needed</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-password-help-needed/m-p/3537875#M17389</link>
      <description>If Stuart is correct concerning item 3, there may be an answer.&lt;BR /&gt;&lt;BR /&gt;webmin.&lt;BR /&gt;&lt;BR /&gt;webmin is a web based, gui interface that lets you create users and such.&lt;BR /&gt;&lt;BR /&gt;It appears, based on the screen shot that you can create a limited administrative user with it that can handle functions such as password reset.&lt;BR /&gt;&lt;BR /&gt;This thread and a customer call have forced me to look further into this concept. I am reading the documentation at this time. Its already installed on my web servers and I'm learning how to use it and will hopefully have more details soon.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 27 May 2005 09:58:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-password-help-needed/m-p/3537875#M17389</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-05-27T09:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Linux password help needed</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-password-help-needed/m-p/3537876#M17390</link>
      <description>Webmin can certainly handle item 3.&lt;BR /&gt;&lt;BR /&gt;At this point I've got webmin/usermin working on Red Hat ES 4.&lt;BR /&gt;&lt;BR /&gt;Right now, my configuration lets the user change any password, which is unacceptable in my security cirumstances.&lt;BR /&gt;&lt;BR /&gt;I'm working on giving this user access only to users at his location. Then comes the step by step guide.&lt;BR /&gt;&lt;BR /&gt;Because I need it for myself it should not be long.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 27 May 2005 13:02:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-password-help-needed/m-p/3537876#M17390</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-05-27T13:02:24Z</dc:date>
    </item>
  </channel>
</rss>

