Sometimes for certain reasons we have to temporarily block an account.
GNU/Linux
To block it we must execute:
text
usermod -L rokitohTo unlock it we execute:
text
usermod -U rokitohHP UX
To block it we must execute:
text
/usr/lbin/modprpw -l -m alock=YES rokitohTo unlock it we execute:
text
/usr/lbin/modprpw -l -m alock=NO rokitohAmi, the other day I don't know why... a user wasn't unlocked like that and I had to do the following:
text
/usr/lbin/modprpw -k -l rokitohtext
/usr/lbin/modprpw -v -l rokitohSolaris
To block it we must execute:
text
faillog -r -u rokitoheither
text
passwd -l rokitohTo unlock it we execute:
text
passwd -u usernameBSD
To block it we must execute:
text
pw lock rokitohTo unlock it we execute:
text
pw unlock rokitohGreetings, rokitoh!
Comments