[HPADM] Re: passwd command
- From: Gerardo Oliva <gerardo_oliva@xxxxxxxxx>
- Date: Sat, 6 Oct 2007 19:34:23 -0700 (PDT)
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@xxxxxxxxx>
To: Stephanie C <stepchung@xxxxxxxxx>
Cc: HP-UX Group <hpux-admin@xxxxxxxxxxxxx>
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@xxxxxxxxx> 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@xxxxxxxxxxxxx
Name: hpux-admin@xxxxxxxxxxxxx Owner: owner-hpux-admin@xxxxxxxxxxxxx
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
- Prev by Date: [HPADM] Re: passwd command
- Next by Date: [HPADM] SUMMARY 700/96 and rx4640
- Previous by thread: [HPADM] Attaching external array
- Next by thread: [HPADM] PVlinks
- Index(es):
Relevant Pages
|
|