Sponsored Content
Operating Systems Solaris How to recycle old passwords by modifying /etc/passwd file ? Post 302458143 by Exposure on Wednesday 29th of September 2010 09:52:45 PM
Old 09-29-2010
Quote:
Originally Posted by jlliagre
You certainly can as root isn't subject to password policy restrictions.
This would work but it is more complex and error prone.
think i am going to create a dummy account and try experimenting it
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

blanking out passwords within a file

I have a file in which I need to find every occurance of PASSWORD="somepassword" and replace the actual password with "xxx". Within the file that I am working, I can have combinations of PASSWORD or it can also show as RMT_PASSWORD. The 'edited' file (with passwords x'ed out) will then be emailed... (4 Replies)
Discussion started by: hedrict
4 Replies

2. Solaris

Passwords in /etc/shadow file

I want to import my passwd/shadow files from Solaris 6 to Solaris 10. I found that the encryption method for passwords has changed. Is there a command or script to convert the Solaris 6 passwords to Solaris 10? I have searched the net and just can't seem to find the answer. For Example: The... (6 Replies)
Discussion started by: westsiderick
6 Replies

3. Shell Programming and Scripting

How do I parse passwords into passwd command.

Do you know of any methods where I can send an input of passwords into the passwd command? For instance, I have a file which has the password stored and I want it to be sent into this command "passwd gilberteu" when it prompts for the new password and subsequently confirming the password that was... (0 Replies)
Discussion started by: gilberteu
0 Replies

4. UNIX for Dummies Questions & Answers

HP-UX recycle

Hi, I am new to HP-UX environment. Could someone help me giving commands to recycle the server and how to go to single user mode. Thanks Hemanth (3 Replies)
Discussion started by: Hemanth_gp
3 Replies

5. Shell Programming and Scripting

change home directory by modifying passwd

hi How can I change the home directory of a user without using usermod -d command? ( by modifying /etc/passwd) (17 Replies)
Discussion started by: tjay83
17 Replies

6. UNIX for Dummies Questions & Answers

Batch file to change all passwords

Hi all I am using tru64 Unix and I want to use batch file which makes me to change all user passwords at the same time ,instead of changing everyone separately. Please could anyone help me to do that. bye. (2 Replies)
Discussion started by: ahmedbashir
2 Replies

7. Solaris

passwd cmd reenables passwd aging in shadow entry

Hi Folks, I have Solaris 10, latest release. We have passwd aging set in /etc/defalut/passwd. I have an account that passwd should never expire. Acheived by emptying associated users shadow file entries for passwd aging. When I reset the users passwd using passwd command, it re enables... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies

8. UNIX for Advanced & Expert Users

When did UNIX start using encrypted passwords, and not displaying passwords when you type them in?

I've been using various versions of UNIX and Linux since 1993, and I've never run across one that showed your password as you type it in when you log in, or one that stored passwords in plain text rather than encrypted. I'm writing a script for work for a security audit, and two of the... (5 Replies)
Discussion started by: Anne Neville
5 Replies

9. AIX

When did AIX start using /etc/security/passwd instead of /etc/passwd to store encrypted passwords?

Does anyone know when AIX started using /etc/security/passwd instead of /etc/passwd to store encrypted passwords? (1 Reply)
Discussion started by: Anne Neville
1 Replies
pam_opendirectory(8)					    BSD System Manager's Manual 				      pam_opendirectory(8)

NAME
pam_opendirectory -- OpenDirectory PAM module SYNOPSIS
[service-name] function-class control-flag pam_opendirectory [options] DESCRIPTION
The OpenDirectory PAM module supports the authentication, account management and password management function classes. In terms of the function-class parameter, these are ``auth'', ``account'' and ``password'' respectively. The OpenDirectory Authentication Module The OpenDirectory authentication module permits or denies users based on OpenDirectory password authentication. The following option may be passed to this authentication module: nullok Allow null passwords. The OpenDirectory Account Management Module The OpenDirectory account management module permits or denies users based whether the account is enabled in OpenDirectory. The following option may be passed to this account management module: no_check_shell Skip validating the user's shell. no_check_home Skip validating the user's home directory. refresh=min Sets the mbr_check_membership(3) cache timeout to min minutes. When this option is used, the min value must be specified, and it must be an integer. The OpenDirectory Password Management Module The OpenDirectory password management module supports password changing and enforces the OpenDirectory password policy. SEE ALSO
mbr_check_membership(3), pam.conf(5), pam(8), pwpolicy(8), DirectoryService(8) BSD
February 7, 2009 BSD
All times are GMT -4. The time now is 09:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy