How to make the user password nonexpiry in Solaris 10?


 
Thread Tools Search this Thread
Operating Systems Solaris How to make the user password nonexpiry in Solaris 10?
# 1  
Old 03-15-2013
How to make the user password nonexpiry in Solaris 10?

Hi we got our new preprod servers which is having solaris 10 OS.I have application id "ingres" in which the password should not expired.

previously we have set the password as preprod01 and right now it got expired.We need to have the same password and it shouldn't be changed.


could you please help me on below two things
1)how to set the old password to the ingres userid which is "preprod01"
2)command to make the ingres password non expiry.

Advance thanks for your replies.

Last edited by DukeNuke2; 03-15-2013 at 04:07 AM..
# 2  
Old 03-15-2013
Smilie
Code:
man passwd

...
Smilie
Code:
passwd -x -1 ingres

This User Gave Thanks to MadeInGermany For This Post:
# 3  
Old 03-18-2013
By default, if you allocate a passwd, it will be non expiry only
# 4  
Old 03-18-2013
Quote:
Originally Posted by vamshigvk475
By default, if you allocate a passwd, it will be non expiry only
This depends on how you are set up. Most sensible organisations will insist that the default is something like "Expires immediately and every 30 days"

These are far to sensitive to allow non-expiry as the default. muraliinfy04 will have the defaults set correctly for their security policy and needs and exception which I think MadeInGermany has supplied.




Robin
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Pam.d and make difference between AD User and local user on Linux

Hello, i configured rhel linux 6 with AD directory to authorize windows users to connect on the system and it works. i have accounts with high privileges (oracle for example) if an account is created on the AD server i would to block him. I looked for how to do, for the moment all the... (3 Replies)
Discussion started by: vincenzo
3 Replies

2. Linux

How to make this command work wihtout password prompt?

Hi, I am trying to run this command to connect to each server without being prompted for the password. How can I do this in Linux redhat 7.2: for HOST in $VIPS; do su - Myadminid -c "ssh -o ConnectTimeout=10 $HOST 'date; hostname; pkill -9 -f -u Myadminid xx00 ; ps -ef |grep Myadminid'" ... (7 Replies)
Discussion started by: mrn6430
7 Replies

3. Shell Programming and Scripting

Make a password protected bash script resist/refuse “bash -x” when the password is given

I want to give my long scripts to customer. The customer must not be able to read the scripts even if he has the password. The following command locks and unlocks the script but the set +x is simply ignored. The code: read -p 'Script: ' S && C=$S.crypt H='eval "$((dd if=$0 bs=1 skip=//|gpg... (7 Replies)
Discussion started by: frad
7 Replies

4. UNIX for Advanced & Expert Users

Can we Automate the User creation and setting password through a script in solaris 10

Hi, I am using Solaris 10 OS and Bash shell.Is there any way can we automate User creation and setting passwords through a script or any freeware tool. Advance thanks for your response. (1 Reply)
Discussion started by: muraliinfy04
1 Replies

5. Shell Programming and Scripting

To make password/input text invisible?

All, My script is ----------- #cat pass.sh password=123 echo -n "Enter pass:" read pass if ; then echo "Correct password" else echo "Wrong password" fi When i run this script, text(password) which i'm entering is visible in screen... (4 Replies)
Discussion started by: thomasraj87
4 Replies

6. Shell Programming and Scripting

How to make files/folders Password protected

Any idea how to make files/folders password protected... I dont want to change the permissions of the files/folders... (1 Reply)
Discussion started by: know d unknown
1 Replies

7. Solaris

Solaris user changing password

i created 1 user . Now its passwd time period get expired. Now how can I set password for that user. Also how can I set a condition such a way that after every 3 months user must change his passwd. (5 Replies)
Discussion started by: ajitkraj
5 Replies

8. UNIX for Advanced & Expert Users

password verification verify password of a user for only first 8 characters

Helo , I m using linux pam library for user and its password authentication. I m creating new user and giving its password.I m giving password of 10 characters.now when I login in as that newly created user its ask me $ su - ram Password: You are required to change your password immediately... (12 Replies)
Discussion started by: amitpansuria
12 Replies

9. Shell Programming and Scripting

How to make script password protected

Hi All, I want to make my script password protected. i e: if somebody runs my script it should prompt for password. Can somebody help me in to execute the same?? Thanks in Advance :b: (11 Replies)
Discussion started by: achararun
11 Replies
Login or Register to Ask a Question