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

Is it possible to create swap in new harddisk without format

2 Answers  


How to Create a snapshot mirror

2 Answers  


How to find the hardware configuration

1 Answers  


How to find the network card speed

3 Answers  


Tell me the port for Telnet, ftp,nis,ssh,nfs

5 Answers  






How can we take the failback in Veritas Cluster Server.

1 Answers   ITC Infotech,


Write the steps involved in creating and executing a program to implement the “case” command.

0 Answers  


To find the OBP environment variable

2 Answers  


What is default permission of files and directory?

4 Answers  


What are the daemons will run when the system is booting?

2 Answers   EDS,


What are the two types of service groups?

2 Answers  


how to find out the how many disks attached in the server?

13 Answers   Accel, HP,


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)