User Tools

Site Tools


aix

This is an old revision of the document!


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

aix.1370605268.txt.gz · Last modified: 2013/06/07 11:41 by root