Operating System - HP-UX
1748159 Members
4050 Online
108758 Solutions
New Discussion

usermod -f 0 issue | hpux 11.31 ****URGENT*

 
SOLVED
Go to solution
Trng
Super Advisor

usermod -f 0 issue | hpux 11.31 ****URGENT*

Hi Gurus,

 

i am in deep trouble ...by mistake we have set   usermod -f 90  for all users in a HPUX 11.31 ..now we forsee some issues and we want to revert to defualt setitng that is  INACTIVE_MAXDAYS value of "0" 

 

 

infact usermod -f 0  not working on hpux 11.31 (userdb ) and throwing an error "Invalid Time interval specified " .pls help me to revert back to default setting of INACTIVE_MAXDAYS value of "0" 

 

My OS is not trusted mode and using HPUX 11.31 SMSE (userdb) .

 

 

rgds

 

administrator
2 REPLIES 2
likid0
Honored Contributor
Solution

Re: usermod -f 0 issue | hpux 11.31 ****URGENT*

using:

 

usermod -f -1 user

 

will fix the problem, just and example:

 

root@rx6:/etc> cat /etc/shadow | grep -i test
test:efrdFJfvqixUQ:15415::::20::
root@rx6:/etc> usermod -f -1 test
root@rx6:/etc> cat /etc/shadow | grep -i test
test:efrdFJfvqixUQ:15415::::::

Windows?, no thanks
Trng
Super Advisor

Re: usermod -f 0 issue | hpux 11.31 ****URGENT*

Fantastic 

administrator