The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > 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 05:32 PM
RID - password - user salvor_hardin UNIX for Advanced & Expert Users 1 12-09-2007 11:13 PM
AIX 4.3.3 takes forever to log in Jwoollard AIX 3 03-14-2005 07:56 AM
Add User and Password alan thui UNIX for Dummies Questions & Answers 1 11-08-2001 10:14 AM
user Id vs Password Cerberus UNIX for Dummies Questions & Answers 2 09-26-2001 05:03 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-27-2007
xramm xramm is offline
Registered User
  
 

Join Date: May 2007
Posts: 113
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
  #2 (permalink)  
Old 08-27-2007
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is online now Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,991
use the "admintool" and set the required settings... (you need a X forwarding!)
  #3 (permalink)  
Old 08-27-2007
pressy's Avatar
pressy pressy is offline Forum Staff  
solaris cultist
  
 

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

regards
- PRESSY
  #4 (permalink)  
Old 08-27-2007
reborg's Avatar
reborg reborg is online now Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,240

Code:
passwd -n -1 <username>

  #5 (permalink)  
Old 08-29-2007
xramm xramm is offline
Registered User
  
 

Join Date: May 2007
Posts: 113
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
#

  #6 (permalink)  
Old 08-29-2007
xramm xramm is offline
Registered User
  
 

Join Date: May 2007
Posts: 113
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
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 05:34 PM.


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