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

How to Create a snapshot volume

2 Answers  


How to check the communication between 2 nodes?

5 Answers  


In which file port No’s are defined

3 Answers  


How to add a tape deck on Sun Solaris version 10

2 Answers  


When iam checking the services its showing unintialized then what should i do step by step.pls tell me the answer as soon as posible.

1 Answers   Wipro,






If the root disk is failed how can change it?

0 Answers   EDS, Reliance,


What is mean by paging & server average time.

1 Answers  


Explain rc script and run level

1 Answers  


Which command display diagnostics in ok boot prompt?

1 Answers   HP,


How to delete “abc” files using find command

3 Answers  


How will you check the process for particular user

2 Answers  


Which file to be configuring the logs messages (like: /var/adm/message etc…)

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)