Table of Contents

Reset unsuccessful login count

chsec -f /etc/security/lastlog -s <username> -a unsuccessful_login_count=0

Permanently assign an IP to an interface

mktcpip -i en2 -h power1 -g 192.168.2.2 -a 192.168.4.6 -m 255.255.255.0
         |                |              |              |
         Interface        Gateway        Address        Netmask

Permanently add an alias to an interface

chdev -l en0 -a alias=192.168.1.1,255.255.255.0

Remove a permanently added alias from an interface

chdev -l en0 -a delalias=192.168.1.1,255.255.255.0

Download file from remote web-server

perl -e 'use LWP::Simple; getprint($ARGV[0]);'http://myserver.com/xxxx/xxx.html > file.iso

Mount iso file

loopmount -i file.iso -o ”-V cdrfs -o ro” -m /mnt