Sponsored Content
Operating Systems AIX Script allows user to kill other users: I'd like to know HOW... Post 302126004 by kah00na on Monday 9th of July 2007 03:39:52 PM
Old 07-09-2007
I don't see a question in your post...?? Are you asking how one user running this script is able to kill other user's sessions? If so, do a "ls -l brkill.txt" and post that. It may have a root sticky bit on it.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script to kill stranded/orphan process by users.

I have customers on our AIX/UNIX node startup a process that becomes stranded or orphaned and must be killed. I would like to create a script to check for these orphan processes and kill them. I can have cron run this job. The customers process will run and after 24 hours time out leaving an... (4 Replies)
Discussion started by: rjohnson
4 Replies

2. Shell Programming and Scripting

kill process of other users

Hi, Can I kill process submitted by another uesr (say user1) if I'm not the su. If I got some previledges granted from user1, can I kill user1's process? Please advise? Thank you very much! Regards, Tse (4 Replies)
Discussion started by: tsesukfan
4 Replies

3. Shell Programming and Scripting

Kill users

Someone knows how do I kill a login user only with the login_name? This moment I kill the user using the following command. E4500:/mg98/samuel$ whodo samuel Tue Sep 14 08:32:10 EST 2004 sun pts/234 samuel 7:30 pts/234 24200 0:00 ksh pts/234 26724 0:00 whodo... (3 Replies)
Discussion started by: samuel
3 Replies

4. HP-UX

Is there a script available to kill Idle users

My max user parm is set to 1050. I'm currently at 1038 this is causing major slow downs on the server. I looking for a way log off "idle" user logins with out having to do it individually. :confused: (5 Replies)
Discussion started by: rfmurphy_6
5 Replies

5. Shell Programming and Scripting

kill crashed out users

Hi all, We have a problem where we get a fair few users either exiting incorrectly or crashing. I'm trying to get a script together that runs every hour to kill these processes off. We are running Sco OperServer(TM) Release 5 The command we use to get a list of users who have crashed: ps... (2 Replies)
Discussion started by: tez
2 Replies

6. HP-UX

kill idle users

Hi, In my network we uses the NetTerm program to connect us to HP-UX 10.x server from windows workstations, but in some cases the user doesn't logout and close it by window's x button. The problem is that in HP-UX the user and all his tasks remain active and when he enter again HP-UX creates a... (12 Replies)
Discussion started by: efrenba
12 Replies

7. UNIX for Dummies Questions & Answers

crontab or looping script to Kill process from user

I am looking for a way to kill 2 processes from a user through some kind of script. Using an oracle script, I get two process ids that need to be killed. SQL> select ssn.process as client_process_id, pcs.spid as oracle_process_id, ssn.sid, ssn.serial# 2 from v$session ssn inner join... (5 Replies)
Discussion started by: Meert
5 Replies

8. Shell Programming and Scripting

Help with script to stop a user giving kill command on a server!!

Hi, I am new to shell scripting and want to create a script with the follwoing description: I want to restrict the users from giving a kill command on a unix server. The server have a restricted logins with login id and passwords. I want a script that will find out if a user has given a... (9 Replies)
Discussion started by: shell_scripting
9 Replies

9. UNIX for Advanced & Expert Users

How to kill network users?

Hi everybody. I am using SCO open server. My problem is to kill users logged in my local network. I am using Kill -9 command for kill the repective user/terminal. But it shows in 'who -u'. when i try to kill agina that process it shows like "6229: no such process " User count is... (6 Replies)
Discussion started by: sanjaykunjam
6 Replies

10. Shell Programming and Scripting

script to ignore the user from list of users

Hi, I have a situation where I want to ignore few users from list of users and print rest of user in log file. say, I want to ignore aaa, bbb, ccc, ddd .. ppp from list of 20 user (do not want to include) What is the good command or any script? Thanks in advance. (1 Reply)
Discussion started by: sumit30
1 Replies
slrnpull(1)							   User Manuals 						       slrnpull(1)

NAME
slrnpull - Pull a small newsfeed for offline reading. SYNOPSIS
slrnpull [-d spooldir] [-h server] [--debug file] [--expire] [--fetch-score n] [--help] [--kill-log file] [--kill-score n] [--logfile file] [--marked-bodies] [--new-groups] [--no-post] [--post] [--post-only] [--rebuild] [--version] DESCRIPTION
slrnpull pulls a small newsfeed from an NNTP server. It puts the articles into a spool directory from which slrn can later read them, even if the server is unreachable at that time. Typically, this is useful if you do not have a permanent network connection. OPTIONS
The following options can be used when calling slrnpull from the command line. -d spooldir Set slrnpull's root directory for this run to spooldir, overriding the $SLRNPULL_ROOT environment variable. -h host[:port] Connect to the NNTP server on host, overriding the $NNTPSERVER environment variable. If no port is given, the default NNTP port (119) will be used. --debug file Write dialogue with the server and some additional debugging output to file. --expire Expire (remove) old messages from the spool, but do not fetch news. --fetch-score n Fetch article bodies with a score of at least n automatically (in true offline mode, the default is to fetch only bodies that were explicitly marked by the user). --help Show help for command line switches. --kill-log file Keep a log of all articles that were killed by the scorefile in file. By default, no such logfile is created. --kill-score n Kill all articles with a score below n. The default value for this is 0. --logfile file Log the messages and errors that slrnpull prints to the screen to file. By default, they get written to the file log in slrnpull's root directory. --marked-bodies Only fetch bodies that were marked for download within slrn. --new-groups Check for new groups, appending them to the file new.groups in the data directory. --no-post Do not post any articles to the server. --post Obsolete version of --post-only. --post-only Post outgoing articles, but do not fetch news. --rebuild Like --expire, but also rebuild the overview information. To be used when the overview information is damaged. --version Print the version number. ENVIRONMENT
slrnpull reads the following environment variables. Note that they can be overridden by command line switches. NNTPSERVER You can use this variable to tell slrnpull which NNTP server to connect to. It can be overridden by the command line option -h. SLRNPULL_ROOT Defines the directory where slrnpull will look for its configuration files and spool the articles. An absolute filename is needed here. This can be overriden by the option -d. FILES
$SLRNPULL_ROOT/authinfo If the server requires authentication, this file needs to contain the data (username in the first line, password in the second). Be careful not to make this file world-readable! $SLRNPULL_ROOT/log The default file to log status and error messages to. $SLRNPULL_ROOT/score If you want slrnpull to apply scoring rules to decide which articles to download, put them into this file. $SLRNPULL_ROOT/slrnpull.conf The main configuration file. It tells slrnpull how many articles to get from which groups and when to expire them. SEE ALSO
The documentation that comes with slrnpull, especially README and SETUP. The FAQ of slrn also answers some questions about slrnpull. You might also want to look at slrn's official home page, http://slrn.sourceforge.net/ or post to news.software.readers if you have a ques- tion not covered by existing documentation. The latest version of slrnpull is part of the slrn package available from http://prdownloads.sourceforge.net/slrn/ AUTHOR
John E. Davis <davis@space.mit.edu> Please send any bug reports to the current maintainer, Thomas Schultz <tststs@gmx.de> Unix September 2004 slrnpull(1)
All times are GMT -4. The time now is 12:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy