LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-18-2008, 10:18 AM   #1
knockout_artist
Member
 
Registered: Sep 2005
Distribution: fedora core 9
Posts: 324

Rep: Reputation: 33
passwd -e <userid> pasword expire every day?


Good day,

Shouldn't that be a one time thing. Like you setup a user account give him temp. password then do
passwd -e <hisid>
Than he should be forced to change password upon next login.

I did it but now user can't log in every"next day".
Like he would use it today, tomorrow I would get a call abiut him unable to login.

Thanks.
 
Old 03-18-2008, 11:22 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,898

Rep: Reputation: 353Reputation: 353Reputation: 353Reputation: 353
Try it in combination with -x (max number of days a password is valid).

As in: passwd -e -x 3 <hisid>
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
revealing user's pasword wincrk Linux - Security 12 04-24-2006 04:04 PM
what is the default root pasword? MurX Ubuntu 4 02-21-2006 05:08 AM
pasword Baghdad Linux - Newbie 2 12-01-2005 07:50 AM
change user pasword israel Linux - Software 2 09-24-2003 09:52 PM
pasword database sqn Linux - Networking 1 04-25-2002 04:34 AM

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

All times are GMT -5. The time now is 12:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration