I am executing a find command in my script i.e
find $2 -type f -name '*.gif' -mtime +$1 -exec rm {} \;
how do i check that this command is executed properly.. i would lke t trap the errror and display my error message
kinly help.. this is an urgent issue. (1 Reply)
Hello Unix Champs,
For keeping audit trail, I want to log the commands entered by the normal users, on their terminal into a text file.
I tried putting a "script -a username.timestamp.txt" in the user profile file, but script command stops execution when user types exit or presses CTRL+D... (3 Replies)
Hi all
I want to know the commands executed a by particular user .. for the whole day on my machine.
I have checked out with the commad
$lastcomm <user>
It is throwing an error called: ..
/var/adm/pacct: No such file or directory
Can u help me in this regard..
Thank U... (3 Replies)
Hi all
I want to know the commands executed a by particular user .. for the whole day on my machine.
I have checked out with the commad
$lastcomm <user>
It is throwing an error called: ..
/var/adm/pacct: No such file or directory
Can u help me in this regard..
Thank U
Naree (1 Reply)
Hi,
I am trying to write a script which would figure out who has run which command and their IP. As i dont have any clue as to which commands would do this job, i request some gurus to help me on this.
Thanks
Vishwas (2 Replies)
in our environment role ids are created in unix to which user does su.
say my individual id is drout and a role is devid.
i will login to drout
the su - devid
password : <nothing > password less role id
then i will login to devid.
can i write a function and pass it in a script while i... (4 Replies)
Hi,
on our hp-ux box we have 100s of shell scripts in a bin folder.
Now i have to figure out which scripts are not being used at all.
The timestamp for these are the ones when they were promoted to this 'bin' folder.
Now, how can I find when was the last time each of these scripts were run?
I... (2 Replies)
Hi,
i have requirement to find logged in user based on process id. i have below scenario.
1. all my users will logon to unix box using ssh from windows system.
2. after successful logon they will sudo to common user. ex. sudo -su edadm
lot of users are executing jobs from edadm user and... (2 Replies)
All team members has sudo access to user "batch55".
Need to track all the commands used by team members after sudo to "batch55".
Using HP-UX and ksh shell in our environment.
How can i acheive this?
Thanks In Advance. (2 Replies)
Discussion started by: venkatababu
2 Replies
LEARN ABOUT SUNOS
ncp
ncp(7D)ncp(7D)NAME
ncp - Niagara crypto provider device driver
The ncp device driver is a multi-threaded, loadable hardware driver supporting hardware assisted acceleration of RSA and DSA cryptographic
operations. This support is built into the Niagara CMT processor.
The ncp driver requires the presence of the Solaris Cryptographic Framework to enable applications and kernel clients to access the pro-
vided services.
CONFIGURATION
You configure the ncp driver by defining properties in /platform/sun4v/kernel/drv/ncp.conf which override the default settings. The fol-
lowing property is supported:
nostats Disables the generation of statistics. The nostats property may be used to help prevent traffic analysis, but this may
inhibit support personnel.
NETWORK STATISTICS
Solaris network drivers must implement statistics variables. The ncp driver maintains the following statistics:
mauXqfull Number of times the queue for MAU X was found full when attempting to submit jobs.
mauXupdate_failure Number of submit job failures on MAU X.
mauXsubmit Number of jobs submitted to MAU X since driver load (boot).
rsapublic Total number of jobs submitted to the device for RSA public key operations.
rsaprivate Total number of jobs submitted to the device for RSA private key operations.
dsasign Total number of jobs submitted to the device for DSA signing.
dsaverify Total number of jobs submitted to the device for DSA verification.
Additional statistics may be supplied for Sun support personnel, but are not useful to Solaris users and are not doc- umented in this
manpage.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Architecture |SPARC |
+-----------------------------+-----------------------------+
|Availability |SUNWcakr.v |
+-----------------------------+-----------------------------+
|Interface Stability |Unstable |
+-----------------------------+-----------------------------+
FILES
/platform/sun4v/kernel/drv/sparcv9/ncp
64-bit ELF kernel driver.
/platform/sun4v/kernel/drv/ncp.conf
Configuration file.
cryptoadm(1M), kstat(1M), prtconf(1M), attributes(5)
Solaris Cryptographic Framework -- Solaris Software Developer Collection
Solaris Security for Developer's Guide -- Solaris Software Developer Collection
14 Mar 2005 ncp(7D)