LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-24-2005, 09:43 AM   #1
redir
Member
 
Registered: May 2004
Location: Virginia USA
Distribution: Debian_Ubuntu_FreeBSD
Posts: 122

Rep: Reputation: 16
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
 
Old 02-24-2005, 09:51 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
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.
 
Old 02-28-2005, 11:01 AM   #3
redir
Member
 
Registered: May 2004
Location: Virginia USA
Distribution: Debian_Ubuntu_FreeBSD
Posts: 122

Original Poster
Rep: Reputation: 16
Druuna,

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
add a user with password without prompt grendel-IT Linux - Software 7 09-27-2006 02:07 PM
Help! Cannot Add a User to User Manager or Change Root Password lennysokol Linux - General 2 06-25-2005 09:59 AM
no password prompt after root login taboo Linux - General 1 12-22-2003 01:01 PM
Unable to login (no password prompt) T4urus Linux - General 1 12-21-2003 01:47 PM
Login password prompt stops working? rickbb Linux - General 4 09-27-2000 09:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration