07-30-2011
Fix your corrupt wtmpx file. The usual reason for having one is /var file system being almost full while some event is logged in wtmpx.
I haven't tried it but you might get help with that tool:
martin carpenter / projects / ckwtmpx
This User Gave Thanks to jlliagre For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hey, I'm trying to create the command that will create a file named user.txt that contains the output of the command cut -d: -f1,5 /etc/passwd, and displays itself afterwards.
I don't know how to bridge cat > user.txt with cut -d: -f1,5 /etc/passwd, or how display it afterwards. Any help would... (2 Replies)
Discussion started by: raidkridley
2 Replies
2. Shell Programming and Scripting
Hi All,
can anyone tell me what is wrong with this command.
tail -f /opt/olr-logs/PaymentGateway.log | grep "DEBUG - Start! AkhtarPaymentGateway - generateChecksum" | awk '{print $13}' | sed 's/,//g'>> abc
But I found nothing in the file abc
Please do help me.or Provide me some... (8 Replies)
Discussion started by: akhtar.bhat
8 Replies
3. UNIX for Advanced & Expert Users
i am trying to find the files which are more than 100MB and it was created 10 days ago.
find /lola/loaded -size +102400 -mtime -10 -print | xargs ls -ltr
-rw-rw-r-- 1 lola_adm gdrmp 82054170 Jun 23 06:17 /lola/loaded/ILMEMBER20090622.txt
-rw-rw-r-- 1 lola_adm gdrmp 652080494 Jun 24... (3 Replies)
Discussion started by: sudhiroracle
3 Replies
4. UNIX for Dummies Questions & Answers
Hello,
I try to using the below command to find out all the datafiles under "sja"
direcotory.
$ xargs -i find {} -type f -ls < sja
/bin/ksh: sja: cannot open
so can you tell me what is wrong?
Thanks
Jerry (3 Replies)
Discussion started by: GreatJerry
3 Replies
5. UNIX for Advanced & Expert Users
Hello,
I'm having a problem with xbindkeys giving the wrong mapping information, hence I can't get it work at all when trying new mappings from this machine.
From another computer, I have some definitions for xbindkeys (made with xbindkeys-config). These key codes work correctly on this... (0 Replies)
Discussion started by: Narnie
0 Replies
6. AIX
I faced an interesting problem on my AIX servers. When I checked last logins with command last I saw that hostnames are wrong. Let say, I made login from workstation xxxxx and with the command last I saw:
root pts/2 yyyyy 5 jan 15:38 still logged in
Ping xxxxx and ping... (3 Replies)
Discussion started by: giovanni
3 Replies
7. Shell Programming and Scripting
Hi all,
I'm trying to run the following command to get all files in one directory to another with the files' timestamps preserved,
cp -p /logs/dvgbiau/batch/* /logs/dvgbiau/tmp_batch
Note that ./batch and ./tmp_batch are two sub-directories under /logs/dvgbiau.
The error was,... (1 Reply)
Discussion started by: isaacniu
1 Replies
8. UNIX for Dummies Questions & Answers
Options::
A)$shell
B)echo $ bash
C)echo $ O
D)$ O (1 Reply)
Discussion started by: raghugowda
1 Replies
9. Shell Programming and Scripting
I use things like this a lot in ksh and bash, but lately bash has been printing the command for every loop:
... | while read f
do
if
then
echo Differ "$f"
fi
done
How to prevent this? (5 Replies)
Discussion started by: DGPickett
5 Replies
10. UNIX for Beginners Questions & Answers
I want to create a shell script to gather user account information and displays the result to administrator.
I have created a script but its showing all the information when i search for username like:
amit@mx:~$ ./uinfo.sh amit
Username : amit
User Info ... (2 Replies)
Discussion started by: amit1986
2 Replies
sckmd(1M) System Administration Commands sckmd(1M)
NAME
sckmd - Sun Fire High-End system key management daemon
SYNOPSIS
/usr/platform/SUNW,Sun-Fire-15000/lib/sckmd
DESCRIPTION
sckmd is a server process that resides on a Sun Fire high-end system domain. sckmd maintains the Internet Protocol Security (IPsec) Secu-
rity Associations (SAs) needed to secure the communication between the Sun Fire 15K System Controller (SC) and the cvcd(1M) and dcs(1M)
daemons running on a Sun Fire 15K domain. See ipsec(7P) for a description of Security Associations.
sckmd receives SAs from the SC and provides these SAs to the Security Association Databases (SADBs) using pf_key(7P).
sckmd normally starts up at system boot time. Each domain supports only one running sckmd process at a time.
FILES
/etc/inet/ipsecinit.conf Configuration file for default system-wide IPsec policies
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+------------------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+------------------------------------+
|Architecture |Sun Fire High-End systems |
+-----------------------------+------------------------------------+
|Availability |SUNWsckmx.u, SUNWsckmu.u, SUNWsckmr |
+-----------------------------+------------------------------------+
SEE ALSO
cvcd(1M), dcs(1M), ipsecconf(1M), ipsecalgs(1M), attributes(5), ipsec(7P), ipsecah(7P), ipsecesp(7P), pf_key(7P)
Sun Enterprise 10000 SSP Reference Manual
System Management Services (SMS) Reference Manual
NOTES
IPsec is used by Sun Fire high-end systems such as a Sun Fire 15K, to secure the communication between the SC, and the cvcd(1M) and dcs(1M)
daemons running on a domain. System-wide IPsec policies for these daemons are configured on a domain with ipsecconf(1M). Default policies
are defined when the SUNWsckmr package is installed on a Sun Fire high-end system domain at OS install time.
Package SUNWsckmr configures default system-wide policies for cvcd(1M) and dcs(1M) by adding the following entries in
/etc/inet/ipsecinit.conf:
{ dport sun-dr ulp tcp } permit
{ auth_alg md5 }
{ sport sun-dr ulp tcp } apply
{ auth_alg md5 sa unique }
{ dport cvc_hostd ulp tcp } permit
{ auth_alg md5 }
{ sport cvc_hostd ulp tcp } apply
{ auth_alg md5 sa unique }
The cvc_hostd service represents cvcd(1M) and the sun-dr service represents dcs(1M) in the preceding entries.
These policies conform to the format defined by ipsec(7P) and require and require IPsec AH protection using the HMAC-MD5 algorithm. See
ipsecah(7P).
System-wide policies for cvcd(1M) and dcs(1M) configured on a domain using ipsecconf(1M) must match the IPsec policies defined for these
services on the SC. On an SC, IPsec policies for these services are defined by the SMS key management daemon. Refer to thekmd(1M) man page
in the System Management Services (SMS) Reference Manual.
IPsec encryption or authentication with encryption can be enabled on the domain using the encr_algs and encr_auth_algs properties, as
described in the ipsecconf(1M) manual page. For example, the following ipsecconf(1M) entries require IPsec ESP protection using the Triple-
DES encryption algorithm and the HMAC-MD5 authentication algorithm.
{ dport cvc_hostd ulp tcp } permit
{ encr_algs 3des encr_auth_algs md5 }
{ sport cvc_hostd ulp tcp } apply
{ encr_algs 3des encr_auth_algs md5 sa unique }
See ipsecesp(7P) for more information on the IPsec ESP protocol. You can obtain a list of authentication and encryption algorithms and
their properties by using the ipsecalgs(1M) command.
SunOS 5.10 23 Oct 2003 sckmd(1M)