Identify scsi disk paths – Mapping Devices for disk in ‘/dev/sd*[a-z]’; do printf “%s %s\n” “$(basename $disk)” “$(scsi_id -p 0x83 -gs /block/$(basename $disk))” done
Tag: admin
Best Practices – critical hosts should be in local host file
Any hosts that are critical should be found in the local host file or referred to by IP address in the application configuration.
Adding users to Windows via command line
net user <user> <password> /add net user bob password To add to administrators group net localgroup administrators <user>/add To allow remote desktop access net localgroup “Remote Desktop Users” <user>/add If the password isn’t supposed to expire use this: WMIC USERACCOUNT…