cancel
Showing results for 
Search instead for 
Did you mean: 

linux passwd question

SOLVED
Go to solution
navin
Super Advisor

linux passwd question

How do i make the account non expire in suse as well as redhat - which is an existing account

thanks
Learning ...
6 REPLIES
Steven E. Protter
Exalted Contributor
Solution

Re: linux passwd question

Shalom,

This can be done with the passwd command.

You can make the expiration time up to a few years in the future.

This will of course cause you to fail security audits going forward.

You could also replicate system users that don't expire and change their characteristics to be login users.

All of this is however opening a huge security hole and not recommended.

sEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
navin
Super Advisor

Re: linux passwd question

This is for a local monitoring software account,
Thanks
Learning ...
navin
Super Advisor

Re: linux passwd question

so what is the std command to set the linux passwd non expiring
Learning ...
Ivan Ferreira
Honored Contributor

Re: linux passwd question

Please check the man page for chage, option -M.

Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
loco_vikide
Frequent Advisor

Re: linux passwd question

Here is the command you are looking for:
/usr/bin/chage -M 99999 youruserid

Cheers
bullz
Super Advisor

Re: linux passwd question

try this.


passwd -x -1 username