How to set passwd never expire for a user

Answers were Sorted based on User's Feedback



How to set passwd never expire for a user..

Answer / venugopal adep

#passwd -x -1 <login id>

-x max Sets maximum field for name. The max field
contains the number of days that the password is valid
for user. The aging for name is turned off immediately if
max is set to -1.

Is This Answer Correct ?    9 Yes 0 No

How to set passwd never expire for a user..

Answer / sbrahman75

#passwd –x –1 (username)

Is This Answer Correct ?    10 Yes 3 No

How to set passwd never expire for a user..

Answer / ramunix123

#passwd -x -1 <username>

Is This Answer Correct ?    6 Yes 1 No

How to set passwd never expire for a user..

Answer / kp

#passwd -x -1 <login id>

Is This Answer Correct ?    4 Yes 2 No

Post New Answer

More Solaris Commands Interview Questions

If super block corrupted how to recover

2 Answers  


How can u check parameters in ok boot prompt?

1 Answers  


How to add a root dg?

3 Answers  


usage of temp directory should be restricted to 1 gb if total temp directory size is 5 gb?

3 Answers   Wipro,


How will check patches installed

1 Answers  






what are the two conditions need to be taken before encapsulating the disk under the VxVm control(Veritas volume manager)

3 Answers   Systel,


what is differnce between boot -s and boot -S ?

3 Answers  


How to enable the telnet or ftp session for one host

3 Answers  


How can you see the adpters information?

2 Answers   Bank Of America,


How will see the kernel version

5 Answers  


In VxVm why should we do for Disk Group import and Deport?

2 Answers   EDS,


what is a solaris toolkit

1 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)