These are little recipes that have proven useful in the context of the computer equipment at Tanzanian teacher colleges. Although the configuration of each college may be different, all have Sun servers and thin clients running Solaris, and most have PCs as well.
For the executable files (.sh, .pl, etc.):
chmod 744 file
Takes a tab-delimited text file with the following fields and creates user accounts:
1- userID
2 - password
3 - full name
4 - group/stream
If disk quotas are in use, accepts a "template" user whose quotas are copied to the new users.
This allows root to send a message to any user on the local system. There is also an option to send the message to all users at once. The message will appear in a pop-up window.
Reset the desktop appearance to the default configuration - erase all preferences. Does not delete files in Documents and Desktop folders.
grep -i NamePart /etc/passwd
passwd -g USERID
Please send feedback to alingelb at yahoo dot com