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 bring the resource to online and offline

2 Answers  


If the /var file system is full then what you will do.

2 Answers   HP, ITC Infotech,


Syntax for useradd commad

4 Answers  


How to find the demo?

1 Answers  


Options in ufsdump

1 Answers  






What is nslookup

2 Answers  


how to view how many samba user in solaris

4 Answers   3i Infotech,


How to view the kernel (shmmax)paramiter value in solaris 10?

6 Answers   Xavient,


what is interface in solaris

2 Answers  


What does pkgadd command do?

0 Answers  


When you "ping server" and "ping server.domainname", you get different results. Why?

4 Answers  


What are the differences between the command line and graphical user interface?

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