LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   add user prompt for password on login (https://www.linuxquestions.org/questions/linux-newbie-8/add-user-prompt-for-password-on-login-294333/)

redir 02-24-2005 09:43 AM

add user prompt for password on login
 
Can I add a user to my FC3 box with out a password so that when said user logs into the machine for the first time he/she will be asked to create a password?

I would like also to set that scenerio up for samba shares as well if possible. So that an individule on the windows net work can click on the samba share and be prompted for a password. I'm pretty sure I've done this in win2k years ago and feel certain there is a way to do it on my FC3 box but cannot find info on it? Thank you.

redir

druuna 02-24-2005 09:51 AM

Hi,

Take a look at the chage command

$ chage -d 0 -M 999 <user>

If you are using password aging you don't need the -M 999 part..
You need to create the account first.

Don't know if this will work in relation to win logons.

Hope this helps.

redir 02-28-2005 11:01 AM

Druuna,

Thank you. It does'nt work on the win/samba set up but so far so good.


All times are GMT -5. The time now is 06:55 AM.