logo © 1996 Phil Waclawski
Felitaur Site
Offerings
About Me
Crafts
Services
ftp files
Help Files
What's New?
Home Page
Other Links
Anatomy &
Physiology
Arthropods
Biology
Computers
Ferrets
Fun Links
Internet
Linux
S.C.A.
Win 95/NT
Comments or
Suggestions
webmaster@ felitaur.com
   
Managing Users and Groups
Lecture Overview Index | Linux SysAdmin Homepage
Overview
Week 3 for CIS126DL Linux Administration Course

You should be familiar with the basic administrative commands
You should also be familiar with the general location of configuration files
How to add and remove users
How to add users to groups

The following commands/programs will be used/discussed this week:

useradd
find / -user username -ls
find / -uid userid# -ls
userdel -r
usermod
passwd
chfn, chmod, chgrp, chown, chsh, chage
groupadd, groupdel, groupmod, gpasswd
groups
newgrp
/etc/passwd and shadow
/etc/skel
/etc/group and gshadow
/home/username
/var/spool/mail/username
(now need to add CREATE_MAIL_SPOOL=yes in /etc/default/useradd ??)
su -
sudo and /etc/sudoers (visudo)
PAM (Pluggable Authentication Modules)

Questions
How, in one command, would you add a new user "scott" with the password "changeme" ?
What is the purpose of creating different groups for users?
How would you find all files belonging to a particular user?
How would you remove a user safely?
What is the purpose of the chfn command?
Why would you set a group password?
What is the serious limitation of UNIX group access permissions?
What is PAM? Why does it interfere with group access?
What is ACL (Access Control Lanuage) or LDAP (Lightweight directory access protocol)? Why are they considered necessary?
***When you create a user, what files/directories are modified/created?
Activities & Assignments
Resources