how to block a user temporarily?


 
Thread Tools Search this Thread
Operating Systems AIX how to block a user temporarily?
# 1  
Old 06-09-2007
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
# 2  
Old 06-09-2007
Set their shells to a program that simply exits
# 3  
Old 06-09-2007
Not sure about AIX but try:

echo "System busy... Please try again later." > /etc/nologin
# 4  
Old 06-19-2007
change user settings

lock their user account so they cannot login:

chuser account_locked=true <user_name>
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Fork: Resource temporarily unavailable

Hi friends, Working on a linux X86-64 bit system, I suddenly started getting this error (mentioned in subject) from various scripts. I googled, found that there are couple of reason which causes this issue. - less memory I am pretty sure, memory seems to be stable on my system and at the... (15 Replies)
Discussion started by: clx
15 Replies

2. AIX

Tape device temporarily unavailable

Hi All, After (by accident) closing a session that ran a restore command I can not access the tape drive anymore. I get the following error: # tctl -f /dev/rmt0 rewind /dev/rmt0: Resource temporarily unavailable But I cannot find any processes associated with the tape device: # ps... (2 Replies)
Discussion started by: petervg
2 Replies

3. 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

4. Shell Programming and Scripting

temporarily suspend crontab

Issues: Cron jobs are running everyday at 8PM to hot backup database, archivelog, and some other files. Sometimes crontab scheduled backups need to be suspended for some other tasks randomly but doesn't happen all the time. Objective: I need to create simple script or command ( example :... (7 Replies)
Discussion started by: Paul.S
7 Replies

5. Post Here to Contact Site Administrators and Moderators

RSS Diabled Temporarily - Please Discuss Here.

We have disabled RSS temporarily and apologize for any problems this may cause anyone. If you want to discuss this, please post here. (0 Replies)
Discussion started by: Neo
0 Replies

6. UNIX for Dummies Questions & Answers

Temporarily change the date / time

Hi - I'd like to know if it's possible to change the time on a Unix box temporarily, do some stuff, and then set it back to the correct time. I'm testing some code that reads a time (in hours) from a config file, and does something at that time. I want to be able to run regression test... (5 Replies)
Discussion started by: samgdavies
5 Replies

7. Shell Programming and Scripting

Can is set permissions temporarily?

I want to do just what the title says. Here's why: I am adapting a script that backups to a mount. In the script it has a catch where if the drive isn't RW then it unmounts and attempts to remount RW. # attempt to remount the RW mount point as RW; else abort $MOUNT -o remount,rw... (3 Replies)
Discussion started by: Movomito
3 Replies

8. HP-UX

Temporarily Disable User Account

I want to temporarily disable a user account on HP-UX at the start of a script and renable the account at the end of the script. What would be the best method on HP-UX to temporarily disable a user account? I know of the passwd -l option that will lock the account, but I do not see a flag for... (4 Replies)
Discussion started by: scotbuff
4 Replies
Login or Register to Ask a Question