adduser man page on MirBSD

Man page or keyword search:  
man Server   6113 pages
apropos Keyword Search (all sections)
Output format
MirBSD logo
[printable version]

ADDUSER(8)		 BSD System Manager's Manual		    ADDUSER(8)

NAME
     adduser - create new users with a text-driven menu interface

SYNOPSIS
     adduser

DESCRIPTION
     The adduser utility creates a user with a group whose name and GID
     correspond to the user's name and UID, and populates his home directory
     with the contents of /etc/skel. The user is by default put into the login
     class "default", has no password timeouts, secondary groups, or other
     special options.

     To change the login class, use the following command:

	   $ sudo vipw

     To add a user to a secondary group or remove him from any groups, or to
     add not yet existing groups, use the following command:

	   $ sudoedit /etc/group

     Users and groups are never removed. To disable a user, change his login
     class to default (empty field), his home directory to /nonexistant, and
     his shell to /sbin/nologin. Remove his former home directory and set the
     password so that the user cannot login any more (only an asterisk), but
     do not delete the entry.

SEE ALSO
     ed(1), mksh(1), passwd(1), group(5), login.conf(5), passwd(5),
     nologin(8), sudo(8), vipw(8)

HISTORY
     adduser first appeared in MirOS #10.

AUTHORS
     adduser was written by Thorsten Glaser <tg@mirbsd.de>.

CAVEATS
     MirOS #8 and previous had a complex user-management suite mixed from
     shell, perl, and C code, with an added advertising clause, and many more
     unneeded functions. It is recommended to never delete users and groups,
     just disable them, anyway, so that the UIDs and GIDs will not be reused.
     This utility scans for collisions with both UIDs and GIDs, so that, in
     practice, retaining the group is enough.

     Changing the login class or group memberships of a user, as well as group
     management, must be done manually by using vipw and editing /etc/group,
     respectively. This is actually by design.

     To make an S/Key- or SSH public key only user account, set his password
     field to the string "skey" using vipw, or use an empty password and
     answer "no" when asked if the user should be prevented from logging in,
     to prevent the daily cron job's security checks from complaining.

MirOS BSD #10-current		June 25, 2008				     1
[top]

List of man pages available for MirBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net