How to set a passord without expiration?

Answers were Sorted based on User's Feedback



How to set a passord without expiration?..

Answer / chandu

passwd -x -1 username

Is This Answer Correct ?    25 Yes 0 No

How to set a passord without expiration?..

Answer / phani

open the /etc/default/passwd file. and in that file at the
line put max weeks = null

Max weeks = Null

:wq!

Is This Answer Correct ?    8 Yes 3 No

How to set a passord without expiration?..

Answer / m.sankar

In solaries to change the /etc/shadow file,

passwd -n min username
passwd -x max username

Example:
passwd -n 10 -x 75 sankar

Is This Answer Correct ?    6 Yes 5 No

How to set a passord without expiration?..

Answer / pavan

respected people


plz try to under stand me

u dont gave any thing to creating a password time
that means permissions of passord
then its nt expire

Is This Answer Correct ?    1 Yes 0 No

How to set a passord without expiration?..

Answer / phani-a

1) passwd -x -0 username

x= Non expiry

0= never expiry

Is This Answer Correct ?    3 Yes 5 No

Post New Answer

More Solaris AllOther Interview Questions

What is meant by jumpstart?

2 Answers   IBM,


Important daemons for zones

3 Answers  


i have sun ultra10 machine,OS is solaris 9 and i have single harddisk, now i want same ,exact copy of data in anoher harddisk so that i should be able boot from new harddisk, how do yo do this? is it called as cloning?

4 Answers   Symphony,


how u will recover the disk group

2 Answers   IBM,


How do you boot from a Network with jumpstart?

3 Answers  






what is the 3rd field of /etc/inittab file..? what are the possible values of that field...?

1 Answers  


I am not login to server with telnet and ssh then what to do?

3 Answers   Symphony,


how to add swap space?

2 Answers   CSC,


When the system is hang?Unable to login,and console is available?what is the action u will take?

2 Answers  


what is file system ?can u explain briefly ?

2 Answers  


what is the use RAID and which is the best(Solaris)

4 Answers   IBM,


What does ndd do?

2 Answers  


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)