From: Gerardo Oliva (gerardo_oliva@yahoo.com)
Date: Sat Oct 06 2007 - 22:34:23 EDT
You can try this ones:
to disable an account:
/usr/lbin/modprpw -m alock=YES username
to enable a user account:
/usr/lbin/modprpw -k username
to check status of the account:
/usr/lbin/getprpw -r -m lockout username
it will return a 7 digit number and if the 6th digit is set to 1 that the account is locked
Salu2 y que Dios te bendiga
Gerardo
<:))))><<
Juan 11:25-27
"Dícele Jesús: Yo soy la resurrección y la vida: el que cree en mí, aunque esté muerto, vivirá.
Y todo aquel que vive y cree en mí, no morirá eternamente. ¿Crees esto?
Dícele: Sí Señor; yo he creído que tú eres el Cristo, el Hijo de Dios, que has venido al mundo."
----- Original Message ----
From: Ýlker Erek Duran <ilker.duran@gmail.com>
To: Stephanie C <stepchung@gmail.com>
Cc: HP-UX Group <hpux-admin@dutchworks.nl>
Sent: Friday, October 5, 2007 9:46:11 AM
Subject: [HPADM] Re: passwd command
hi, if you are using trusted passwords, you have to make :
# modprpw -v username
# modprpw -k username
regards,
ilker
On 10/3/07, Stephanie C <stepchung@gmail.com> wrote:
> Hi-
> passwd -l useracct (lock user account on both hpux and solaris)
>
> passwd -u useracct (unlock user account on solaris - hpux does not work)
>
> What is the option in hpux 'passwd' command to unlock the user account?
>
> Thanks for your help.
>
> Stephanie
--
---> Please post QUESTIONS and SUMMARIES only!! <---
To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
Name: hpux-admin@dutchworks.nl Owner: owner-hpux-admin@dutchworks.nl
Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only)
http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
-- ---> Please post QUESTIONS and SUMMARIES only!! <--- To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl Name: hpux-admin@dutchworks.nl Owner: owner-hpux-admin@dutchworks.nl Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only) http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)
This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:57 EDT