05-16-2012
Quote:
Originally Posted by
TH3M0Nk
Thanks but this deals with audits on the server, which something the Administrator shall be aware of.
Sounds like you want to do something the administrator can't change. This is usually the case in security-aware environments. I got a company (card-processing business) through a PCI certification and they had similar issues.
We did the following there: installed
Samhain (a host-based intrusion detection system) and
syslog-ng. The syslog-ng allows for multiple output destinations and we used one "secure server" which was not under the administration of the usual admins as destination.
We intended to install
Snoopylogger too, but alas never got it to run on AIX, so we only installed it on the Linux systems.
I hope this helps.
bakunin
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm new to UNIX....
I'm running SCO UNIX and would like to disable routed daemon from being start at boot time.
How should I do this????? Please help. (2 Replies)
Discussion started by: rrivas
2 Replies
2. Shell Programming and Scripting
I have a couple of servers that can't see each other and need to copy files from one to the other. I try to invoke scp from a 3rd server that can see both servers - get error msgs that are cryptic.
from server C
I can do
scp user@serverA:~/file .
scp file user@serverB:~
but if I try to... (2 Replies)
Discussion started by: bigjohn-nj
2 Replies
3. Shell Programming and Scripting
Hi all,
I am trying to run a script in crontab but I receive the email below. Note the empty variable SHELL. Apparently cron doesn't invoke a shell. That explains the errors in the script it is trying to execute. Anyone know what maybe wrong?
Subject: Output from cron job... (3 Replies)
Discussion started by: ivanushka
3 Replies
4. Shell Programming and Scripting
Hi all,
I am getting a License error when Iam trying to call a perl script which builds TestRT (Test Real Time) application. When Iam calling the same script from command prompt it is building successfully.
Iam using Solaris 9 Operating system.
I have checked all the environment variables... (0 Replies)
Discussion started by: srini.g
0 Replies
5. Shell Programming and Scripting
Hi,
Is there a way to determine if the script has been invoked manually or not( might be invoked by a schedular or crontab)?
Thanks, (8 Replies)
Discussion started by: hitmansilentass
8 Replies
6. Ubuntu
Hi masters,
I am still learning trades in kernel. I am trying to learn the basic of daemon programming. Can any one tell me how can I start a daemon automatically during boot up. I will be greatfull if anyone post some example code to the above task.
Also what are... (3 Replies)
Discussion started by: iamjayanth
3 Replies
7. UNIX for Advanced & Expert Users
Say there is a shell script named test.sh. I intentionally omit the #! line in test.sh for testing perpose. I did the following :
$ echo $0
-ksh ---> current shell
$ echo $$
12919 ---> PID of the current shell... (4 Replies)
Discussion started by: hongwei
4 Replies
8. Solaris
Hi,
I am running some etl commands in the windows from shell script(from unix sun solaris 5.9) by using expect package .While running manually the script is working fine.While running from cron it is exiting the after successfully firing the ETL command(The control does not stop after firing... (1 Reply)
Discussion started by: megh
1 Replies
9. Shell Programming and Scripting
Hi,
I have the following script -
fixpart="/files/myScript # Transfer Script"
echo "Specify the transfer frequency in minutes - "
echo "every 1, 2, 3, or 5 minutes (default every 1 minute) "
echo $nn "Frequency ? :" $cc
read ans
case $ans in
2) echo... (9 Replies)
Discussion started by: angshuman_ag
9 Replies
10. Shell Programming and Scripting
Hi All,
I have two scripts - ScriptA and ScriptB
ScriptA has logic to invoke ScriptB :
- with some parameter
- or without any parameter
ScriptB can also be invoked by the user from the command line.
Is there anyway to ensure that when I execute ScriptB from the command line, it does... (3 Replies)
Discussion started by: chaitanya.gvc
3 Replies
LPRM(1) BSD General Commands Manual LPRM(1)
NAME
lprm -- remove jobs from the line printer spooling queue
SYNOPSIS
lprm [-] [-P printer] [-w maxwait] [job# ...] [user ...]
DESCRIPTION
lprm will remove a job, or jobs, from a printer's spool queue. Since the spooling directory is protected from users, using lprm is normally
the only method by which a user may remove a job. The owner of a job is determined by the user's login name and host name on the machine
where the lpr(1) command was invoked.
Options and arguments:
-Pprinter
Specify the queue associated with a specific printer (otherwise the default printer is used).
-w maxwait
Specify the maximum time to wait in seconds for remote responses. The default is 300 seconds or 5 minutes.
- If a single '-' is given, lprm will remove all jobs which a user owns. If the super-user employs this flag, the spool queue will be
emptied entirely.
user Causes lprm to attempt to remove any jobs queued belonging to that user (or users). This form of invoking lprm is useful only to the
super-user.
job # A user may dequeue an individual job by specifying its job number. This number may be obtained from the lpq(1) program, e.g.
% lpq -l
1st:ken [job #013ucbarpa]
(standard input) 100 bytes
% lprm 13
If neither arguments or options are given, lprm will delete the currently active job if it is owned by the user who invoked lprm.
lprm announces the names of any files it removes and is silent if there are no jobs in the queue which match the request list.
lprm will kill off an active daemon, if necessary, before removing any spooling files. If a daemon is killed, a new one is automatically
restarted upon completion of file removals.
ENVIRONMENT
If the following environment variable exists, it is used by lprm.
PRINTER If the environment variable PRINTER exists, and a printer has not been specified with the -P option, the default printer is assumed
from PRINTER.
FILES
/etc/printcap Printer characteristics file.
/var/spool/output/* Spooling directories.
/var/spool/output/*/lock Lock file used to obtain the pid of the current daemon and the job number of the currently active job.
DIAGNOSTICS
``Permission denied'' if the user tries to remove files other than his own.
SEE ALSO
lpq(1), lpr(1), lpd(8)
HISTORY
The lprm command appeared in 3.0BSD.
BUGS
Since there are race conditions possible in the update of the lock file, the currently active job may be incorrectly identified.
BSD
June 6, 1993 BSD