""The data on a stolen laptop may be far more valuable than the device itself""
Follow the link
http://www.redhatmagazine.com/2007/01/18/disk-encryption-in-fedora-past-present-and-future/
Tuesday, 25 December 2007
Monday, 24 December 2007
Auto logout in shell
Shell Bash
file .bash_profile
export TMOUT=60
TMOUT in seconds
Shell Csh
file .cshrc
set autologout = (VAL1 VAL2)
VAL1 The number of minutes of inactivity before automatic logout
VAL2 The number of minutes of inactivity before automatic locking will take place this is optional.
file .bash_profile
export TMOUT=60
TMOUT in seconds
Shell Csh
file .cshrc
set autologout = (VAL1 VAL2)
VAL1 The number of minutes of inactivity before automatic logout
VAL2 The number of minutes of inactivity before automatic locking will take place this is optional.
Sunday, 16 December 2007
Script is not running as cron job
Be sure you set cron job right.
I assume your script is running manually.
You can check it has executed from cron
# tail -f /var/log/cron
Also check root mails to errors.
# less /var/mail/root
Probably you have environment variables problem.
You can check differences between you cron and command environment
# env > /tmp/envmanual
and put a cron job
* * * * * env > /tmp/envcron
Look for differences
# diff /tmp/env*
Put differences that you found in your script and export them.
e.g export TERM=linux
I assume your script is running manually.
You can check it has executed from cron
# tail -f /var/log/cron
Also check root mails to errors.
# less /var/mail/root
Probably you have environment variables problem.
You can check differences between you cron and command environment
# env > /tmp/envmanual
and put a cron job
* * * * * env > /tmp/envcron
Look for differences
# diff /tmp/env*
Put differences that you found in your script and export them.
e.g export TERM=linux
Wednesday, 12 December 2007
Solaris i386 nge e1000 network settings
Look status
# dladm show-dev
nge0 link: up speed: 1000 Mbps duplex: full
Set duplex speed,
ndd -set /dev/nge0 adv_1000fdx_cap 1
ndd -set /dev/nge0 adv_100fdx_cap 0
ndd -set /dev/nge0 adv_100hdx_cap 0
ndd -set /dev/nge0 adv_autoneg_cap 0
1 enable related settings and 0 disable. These commands enable 1000 Full duplex.
# dladm show-dev
nge0 link: up speed: 1000 Mbps duplex: full
Set duplex speed,
ndd -set /dev/nge0 adv_1000fdx_cap 1
ndd -set /dev/nge0 adv_100fdx_cap 0
ndd -set /dev/nge0 adv_100hdx_cap 0
ndd -set /dev/nge0 adv_autoneg_cap 0
1 enable related settings and 0 disable. These commands enable 1000 Full duplex.
Subscribe to:
Posts (Atom)