The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
login ssh without password alfredo HP-UX 2 04-13-2008 11:10 PM
login password.... venkatramana UNIX for Dummies Questions & Answers 1 12-07-2007 09:03 AM
Change password by pushing encrypted password to systems benq70 UNIX for Dummies Questions & Answers 1 09-02-2005 09:08 AM
login & password cab UNIX for Advanced & Expert Users 8 08-01-2003 03:33 PM
How to force user to change password at login? penguin-friend UNIX for Advanced & Expert Users 10 07-08-2002 10:46 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-02-2002
rrivas rrivas is offline
Registered User
  
 

Join Date: Jul 2001
Location: Panama
Posts: 17
Question Password change at login????

I want Red Hat Linux 7.2 prompt for new password at next login time.

How can I do this?????

passwd -f don't work for linux......
  #2 (permalink)  
Old 08-03-2002
binhnx2000's Avatar
binhnx2000 binhnx2000 is offline
Registered User
  
 

Join Date: Jul 2002
Location: France
Posts: 78
Wink

Okies! you can edit password in /etc/passwd and save it...

After! you will login to system with new password...

Good Luck
  #3 (permalink)  
Old 08-07-2002
cerberusofhate
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
on a decently secure system, shadowed passwords will be enabled. Thus, your solution won't work. You can however, edit /etc/shadow and change the minimum passwd expiration. Read the man page for shadow:
man shadow
That will give you what you want
  #4 (permalink)  
Old 08-08-2002
PxT's Avatar
PxT PxT is offline Forum Advisor  
Registered User
  
 

Join Date: Oct 2000
Location: Sacramento, CA
Posts: 909
As root:

chage -M x -d 1 username


Where x is the maximum number of days until the user has to change the password. i.e. they will be forced to change the password at next login, and then again in x days.
  #5 (permalink)  
Old 08-12-2002
rrivas rrivas is offline
Registered User
  
 

Join Date: Jul 2001
Location: Panama
Posts: 17
Thumbs up

I really appreciate all your help..... thanks a lot.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:02 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0