This shows you the differences between two versions of the page.
aix [2012/08/17 14:02] root created |
aix [2013/06/07 11:45] (current) root |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Reset unsuccessful login count ====== | ||
- | Reset unsuccessful login count | + | chsec -f /etc/security/lastlog -s <username> -a unsuccessful_login_count=0 |
+ | |||
+ | ====== Permanently assign an IP to an interface ====== | ||
- | chsec -f /etc/security/lastlog -s <username> -a unsuccessful_login_count=0 | + | |
+ | 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 |