Sys Admin Notes
Tuesday, February 28, 2006
Thursday, February 02, 2006
Netapp commands:
#list users
useradmin user list
#list group
useradmin group list
#create user guest, group guest
useradmin user add guest -g guest
# set guest as default nt user
options wafl.default_nt_user guest
# delete user bpm
useradmin user delete bpm
# delete group bpm
useradmin group delete bpm
# add qtree security /vol/bpm type ntfs
qtree security /vol/bpm ntfs
# allow archive and bpm full control through cifs
cifs access archive archive "full control"
cifs access bpm archive "full control"
# export export file
exportfs -a
JBoss.com - Wiki - UsingPortForwardingWithJBoss
iptables -t nat -A PREROUTING -p tcp --dport 80 -d 10.10.100.26 -j DNAT --to 10.10.100.26:9000
# to save policy
iptables-save -c > /etc/iptables-save
#To load rule-set with the iptables-restore command, we could do this in several ways, but we will mainly look at the simplest and most common way here.
cat /etc/iptables-save iptables-restore -c
