View Single Post
Old 10th June 2008
Darwimy Darwimy is offline
Port Guard
 
Join Date: Jun 2008
Location: Germany
Posts: 36
Default

The basic commands for user management:

* chpass(1) <= Add or change user database information
* login(1) <= Login user, invoked by getty
* passwd(1) <= Modify user's password, using login class' settings
* finger(1) <= Display user information

* adduser(8) <= Add a new user interactively or in batch mode
* pw(8) <= Add, modify, delete users and groups
* vipw(8) <= Directly edit the password database
* pwd_mkdb(8) <= Generate password databases (used by chpass, passwd, etc)
* rmuser(8) <= Remove user and his files
* pam_passwdqc(8) <= Optional password quality check PAM module for passwd

* passwd(5) <= User database without passwords
* master.passwd(5) <= User database with passwords, class, change and expire settings
* login.access(5) <= Login access control table (who, from where)
* login.conf(5) <= Defines resource limits, environment, authentication options
* netgroup(5) <= Defines groups (host, user, domain)
* adduser.conf(5) <= Default settings for adduser
* pw.conf(5) <= Default settings for pw

Although not really commands - when dealing with users and groups one should know:

Group wheel:
  • Only wheel members may use su to login as root.
Group operator:
  • May execute shutdown.
  • May directly read / write disk devices.
  • May create filesystem snapshots
Group dialer:
  • May access serial devices (”/dev/cuaa*”).
  • May start pppd.
Group network:
  • May execute ppp.
  • May execute sliplogin.

Last edited by Darwimy; 10th June 2008 at 08:49 PM.
Reply With Quote