sudo and su –

Hacker Girl

This is post 9 of 11 in the series “The Linux Command Line” Both sudo and su are highly dangerous. The sudo command is used to run a following command as the super-user. Think “super-user do.” It lets regular users do rootly thing, like: sudo cat /etc/shadow You’ll be prompted for a password: Your Password. …

Group Information

Where group information is stored Group information is stored in /etc/group. This file should be changed with the usermod, groupadd and groupmod commands. The format of each line is: Group name Group password (hardly ever used) Group ID User names (separated by commas) Each field is separated by a colon.

Debugging

Glenn Norman

This is post 6 of 19 in the series “[ Shell Scripting ]” There are several very elementary techniques you can use to debug your scripts. Switch Your Shell to Execute (Debug) Mode Remember the Order of Operations? You can change the mode of the Bourne/bash/Korn shell to show you what your command looks like …