The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
ftp and user/password joeyg Shell Programming and Scripting 7 02-07-2008 01:32 PM
RID - password - user salvor_hardin UNIX for Advanced & Expert Users 1 12-09-2007 07:13 PM
AIX 4.3.3 takes forever to log in Jwoollard AIX 3 03-14-2005 03:56 AM
Add User and Password alan thui UNIX for Dummies Questions & Answers 1 11-08-2001 06:14 AM
user Id vs Password Cerberus UNIX for Dummies Questions & Answers 2 09-26-2001 01:03 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-27-2007
Registered User
 

Join Date: May 2007
Posts: 111
Arrow user password forever

Hi I am very new for Solaris, I want to make some users' passwords never expired. My ssytem kernel is: 5.8
# uname -a
SunOS sspfs_svr 5.8 Generic_117000-01 sun4u sparc SUNW,Netra-240

Could you make some advice?
Thanks
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 08-27-2007
DukeNuke2's Avatar
Soulman
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 1,328
use the "admintool" and set the required settings... (you need a X forwarding!)
Reply With Quote
  #3 (permalink)  
Old 08-27-2007
pressy's Avatar
solaris cultist
 

Join Date: Aug 2003
Location: Vienna / Austria (Europe) [EARTH]
Posts: 714
i think it is defined in /etc/default/passwd

regards
- PRESSY
Reply With Quote
  #4 (permalink)  
Old 08-27-2007
reborg's Avatar
Administrator
 
Join Date: Mar 2005
Location: Ireland
Posts: 3,513
Code:
passwd -n -1 <username>
Reply With Quote
  #5 (permalink)  
Old 08-29-2007
Registered User
 

Join Date: May 2007
Posts: 111
Quote:
Originally Posted by reborg View Post
Code:
passwd -n -1 <username>
reborg,
it didn t work ?

output is:

Code:
# uname -a
SunOS sspfs_svr 5.8 Generic_117000-01 sun4u sparc SUNW,Netra-240
# passwd -n -1 limaint
passwd: Invalid argument to option -n
Invalid argument to option
#
Reply With Quote
  #6 (permalink)  
Old 08-29-2007
Registered User
 

Join Date: May 2007
Posts: 111
Question

I think it must be
passwd -x -1 <username>
to turn off password aging.

Code:
# passwd -x -1 <username>
passwd: password information changed for <username>
is it a reasonable solution
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:17 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0