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

how to find the nic card name in x86, if it is not installed?

6 Answers  


how to create nis master,slave,client

2 Answers   IBM,


hi to all,, i need few real time issues please provide me,, if you have any,,,

0 Answers   IBM, Tech Mahindra,


when i am starting solaris10 with 'fail safe mode' on intel machine it is asking "#starting shell".what is it and how to solve this problem?

3 Answers   Wipro,


File system creation steps??

2 Answers  






What is the Boot procedure in Solaris(Unix)

3 Answers   IBM,


how to kill the process

6 Answers   Lehman Brothers,


What is the zone in DNS?

0 Answers  


What is the use of Ldap utility in solaris

1 Answers  


how to copy the disk image

1 Answers  


types of installations in solaris

7 Answers   IBM,


What is /etc/system for?

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