15.3.5 Using the strings
Command in Object or Binary Files
#!/usr/bin/ksh tctl -f /dev/rmt0 rewind mkszfile mksysb -i /dev/rmt0 tctl -f /dev/rmt0 offline
In the above script the system administrator is editing a routine backup script using vi because the mkszfile command is unnecessary. What steps should the system administrator use to delete the line containing the mkszfile command?
-rwsr-xrw- 1 root system 76528 Nov 24 16:21 /usr/local/bin/scan_it
A long listing of the file /usr/local/bin/scan_it is shown above. When the command is executed as a nonroot user, it fails to run as root. What would be the first action to take?