![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| activate and deactivate | munna_dude | UNIX for Advanced & Expert Users | 3 | 02-23-2007 07:34 AM |
| users of a particular dir | narsing | UNIX for Dummies Questions & Answers | 1 | 02-07-2006 05:34 AM |
| NIS users | Jody | UNIX for Dummies Questions & Answers | 1 | 08-08-2003 08:05 AM |
| no of users | asutoshch | UNIX for Dummies Questions & Answers | 3 | 03-29-2001 12:48 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi all,
we are running an hp-ux sd32 server with hp-ux 11.11 and i have to modify 130 users on the system, so that they are inactive. We have not installed the security package, so i cannot use usermod -e 2/24/04 qsc0017. Is there anyone who knows one command which i can use to change the user to deactiv status? Best regards, Frank |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
I found it by reading man page
Thanks, but i found it:
for i in `cat usernames_ascii_file` do passwd -l $i done. |
|
#3
|
|||
|
|||
|
deactivate users
I searched for the solution to deactivate 130 users with one command on hp-ux 11.11 server.
Here the solution: passwd -l username. |
|||
| Google The UNIX and Linux Forums |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|