Sponsored Content
Operating Systems HP-UX Temporarily Disable User Account Post 302103973 by XinU* on Monday 22nd of January 2007 02:59:00 PM
Old 01-22-2007
one suggestion may be :
To disable an account put an * in front of the account line in /etc/passwd.
To enable it again remove the * in front of the line.
 

10 More Discussions You Might Find Interesting

1. AIX

How to disable cd to other folder for a user

How to disable user for cd to some another folders other than his folders. AIX 5L 5.2 Thanks Dilip. (1 Reply)
Discussion started by: Dilippatel
1 Replies

2. UNIX for Dummies Questions & Answers

delete or disable the system generated account

I have this unix version 3.0 "UNIX_SV server 4.0 3.0 3425 Pentium II(TM)-ISA/PCI" can i delete or disable the system generated account as "daemon";"uucp";"sys";"adm";"listen";"bin" and if yes how can i do it? Regards (1 Reply)
Discussion started by: sak900354
1 Replies

3. AIX

how to block a user temporarily?

hi to all i'm a newbie on aix. how would i block temporarily a few users in accessing our aix server so that other users may not be affected by th cpu usage...because if all of them accessing our server the CPU utilization goes high... thanks winky (3 Replies)
Discussion started by: winky
3 Replies

4. Solaris

Root account - disable expiry

I couldnt find this in any other post - so hoping someone can help out. I want to set password expiry (or rather I have to) for a number of users on my solaris 9 system. I know i can set the following options in the /etc/default/passwd file to do it and then just type a passwd -f <username> to... (6 Replies)
Discussion started by: frustrated1
6 Replies

5. AIX

How to disable user login infor?

If user login and don't do anything in 15 mins, the user is kicked off from the server. how to disable it? (5 Replies)
Discussion started by: rainbow_bean
5 Replies

6. UNIX for Dummies Questions & Answers

Difference between : Locked User Account & Disabled User Accounts in Linux ?

Thanks AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies

7. Red Hat

cannot set user id: Resource temporarily unavailable (not open file/open process related)

First post, sorry to be a bother but this one has been dogging me. I have a process user (java application server) that trips a resource limit every couple weeks and need help finding what limit we're hitting. First, this is what's running: This is the error when jobs are run or the... (0 Replies)
Discussion started by: Katahdin
0 Replies

8. Solaris

Disable telnet for a particular user

On Solaris 8 is there anyway to disable telnet for a particular user and not for entire system altogether? I would like the user to retain a shell and so creating a noshell like ftp account is not an option. (14 Replies)
Discussion started by: boshyd
14 Replies

9. Shell Programming and Scripting

Grep: a better way to temporarily disable colors?

i was just using gnu grep grep (GNU grep) 2.20 and when running a command i kept getting really weird results, namely that eval and echo and various combinations would not run the command BIN="${FFMPEG} -i ${INPUT} ${setX265} ${videoCrop} ${audioOptions} ${OUTPUT}.mkv" with this... (7 Replies)
Discussion started by: f77hack
7 Replies

10. Solaris

Disable Inactive User in Solaris 11

Goal: To disable a Solaris user, after that user was inactive for X days. My understanding for linux was that there was no systematic way to disable inactive users, therefore we had to set a password expiration via /etc/default/passwd, MaxWeeks; then in /etc/default/useradd (/etc/shadow), the... (1 Reply)
Discussion started by: Drasavokian
1 Replies
vipw(8) 						      System Manager's Manual							   vipw(8)

NAME
vipw,vigr - edit the password, group or shadow file SYNOPSIS
vipw [-g|-p|-s] vigr [-g|-p|-s] DESCRIPTION
vipw/vigr edits the passwd,group or shadow file after setting the appropriate locks to prevent file corruption. vipw edits per default the /etc/passwd file, vigr the /etc/group file. Extended attributes (like ACLs or security attributes) are preserved. ENVIRONMENT
EDITOR If the environment variable exists, the editor specified by this variable is used instead of the default vi(1). OPTIONS
-g, --group Edit /etc/group. -p, --passwd Edit /etc/passwd. -s, --shadow Edit /etc/shadow. -u, --usage Print a usage message and exit. --help Print a more verbose help text and exit. Print version information and exit. FILES
/etc/group - group account information /etc/passwd - user account information /etc/shadow - shadow account information SEE ALSO
attr(5), passwd(1), passwd(5), shadow(5), vi(1) AUTHOR
Thorsten Kukuk <kukuk@suse.de> pwdutils October 2003 vipw(8)
All times are GMT -4. The time now is 10:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy