Passwd History in Solaris 8


 
Thread Tools Search this Thread
Operating Systems Solaris Passwd History in Solaris 8
# 1  
Old 02-05-2005
Passwd History in Solaris 8

How to set passwd history feature in Solaris 8 to stop users from using their old passwords?
# 2  
Old 02-05-2005
amoorti,

First let me say welcome to the forums, but please ensure that you read the rules. Crossposting is not permitted within the forums, so I have removed your duplicate post from the UNIX For Advanced and Expert Users forum.

I know you can enable password history under Solaris 10 but as far as Solaris 8 goes I'm unsure. One of the Solaris gurus will clear this up for you I'm sure. You could always try something like npasswd.

Cheers
ZB
# 3  
Old 02-07-2005
............

Quote:
One of the Solaris gurus will clear this up for you I'm sure.
;-)

hiho,
it is a default behavior in solaris 7,8 and 9 if aging is sufficient to ensure that the new password meets construcion requirements.
Passwords must be constructed to meet the following requirements:

*Each password must have PASSLENGTH characters, where PASSLENGTH is defined in /etc/default/passwd and is set to 6. Only the first eight characters are significant.
*Each password must contain at least two alphabetic characters and at least one numeric or special character. In this case, "alphabetic" refers to all upper or lower case letters.
*Each password must differ from the user's login name and any reverse or circular shift of that login name. For comparison purposes, an upper case letter and its corresponding lower case letter are equivalent.
*New passwords must differ from the old by at least three characters. For comparison purposes, an upper case letter and its corresponding lower case letter are equivalent.

so take a look into your /etc/default/passwd file where you can set these options:
MAXWEEKS; MINWEEKS; PASSLENGTH, WARNWEEKS
these rules do not effect the root account!



greetings pressy
# 4  
Old 02-07-2005
Hi Pressy,

I am not after aging. Password history is different, with it you can force users to reset their passwords and making sure that they do not use an old password for a specific period of time i.e users cannot use an old password for the last 12 months. I managed to do it for red hat linux by setting the remember field for the pam_unix.so module; however it does not work for solaris.
# 5  
Old 02-07-2005
........

hmmm, i see....
such a history function is coverd in solaris10 with the HISTORY variable in your /etc/default/passwd, but the passwd in sol7-9 is not really timely. it only use 8 characters and "only" crypted with shadow, no md5 or 3DES like in linux. if you want such features follow the link of zazzybob.
http://www.cert.org/security-improve...s/i028.05.html

gP
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Solaris History

why in solaris 10 I do not get history when I have the role as root? computer.root > history I get history:not found I am in computer.root > echo $SHELL /bin/sh computer.root > how can I see roots history in the sh shell? but in other shells I can only see my... (6 Replies)
Discussion started by: goya
6 Replies

2. Solaris

solaris 10 reboot history

Dears Kindly am requested to collect the date histroy that the system was rebooted, so is there any log file or command that i can find the time that the system was rebooted? thanks a lot for you kind support. (2 Replies)
Discussion started by: thehero
2 Replies

3. Solaris

Solaris passwd script

Hello all, Since Solaris passwd does not have --stdin option can you advise how to change the password for 30 users with a script. The password can be the same one. I`ve tried already echoing, xargs, cat and similar. Thanks. ---------- Post updated at 04:04 AM ---------- Previous update... (0 Replies)
Discussion started by: click
0 Replies

4. Solaris

Solaris passwd problem

Hi, I am using solaris 10. i am facing a strange problem regarding os passwd. i have a user oracle with passwd abc123 when i open a putty session with the os using abc123 it logs on. but if i use abc123!@# it agian log on without passwd error. I came to know about the issue that if i... (5 Replies)
Discussion started by: malikshahid85
5 Replies

5. Solaris

solaris 8 passwd

Dear all, One one of the systems running solaris 8 the oracle account has a issue when trying to set the passwd. Following is what i get when the passwd command is executed. :/opt/oracle> passwd Enter existing login password: System configuration error. Please contact your administrator.... (1 Reply)
Discussion started by: earlysame55
1 Replies

6. UNIX for Advanced & Expert Users

change passwd remotely in solaris 10

i'm trying to change passwd remotely in unix (solaris) and tried using "expect" but it is not working. Any ideas to change the passwd remotely using a shell script? (1 Reply)
Discussion started by: pharos467
1 Replies

7. Solaris

solaris 10 vi history

i got solaris 10 DVD and i install it on intel 64. how do i set history to vi for command line? i can use backup space as well, it goes with "^H". this won't work, export EDITOR=vi, it response with not an identifier. thanks itik (4 Replies)
Discussion started by: itik
4 Replies

8. Solaris

Command history in Solaris

Can someone tell me what I can do to maintain a single history file ? As it is it creates a new file for each session. >ls -a .sh_* .sh_history.10106 .sh_history.15240 .sh_history.21635 .sh_history.4291 .sh_history.11311 .sh_history.16593 .sh_history.23709 .sh_history.4661... (3 Replies)
Discussion started by: jxh461
3 Replies

9. UNIX for Dummies Questions & Answers

Dont have the root passwd for Solaris 8

Hello chiefs :) I have a SUN Enterprise 250, running Solaris 8.5 - I have managed to be able to connect a dumb terminal to the box via a standard straight-through rj45 cable, to my ibm laptop. OK so Putty can connect to the box via ssh - nice! But I dont have the password for root - or any... (1 Reply)
Discussion started by: congo
1 Replies

10. UNIX for Advanced & Expert Users

clear passwd history without ...

how do I clear passwd history of a user without compromising the audit trail for security? in a nutshell, user abc wants to re-use his passwd ( he is not savvy with computers ) (4 Replies)
Discussion started by: A Stewart
4 Replies
Login or Register to Ask a Question