lnewusers man page on OpenMandriva

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

lnewusers(1)							  lnewusers(1)

NAME
       lnewusers - Create new user accounts

SYNOPSIS
       lnewusers [OPTION]...

DESCRIPTION
       Creates new user accounts using data read from standard input.

       The  input  data	 consists  of  lines,  each line has 7 colon-separated
       fields:

       User name

       Plaintext password

       User ID
	      lnewusers refuses to create users with user ID 0 (the root  user
	      ID).

       Group  If  this field is a valid group ID, it is interpreted as a group
	      ID, otherwise as a group name.  If the field is empty,  a	 group
	      name equal to user name is used.

	      If  the specified group does not exist, it is automatically cre‐
	      ated.  If the group is specified with a group  ID,  the  created
	      group has group name equal to the user name.

       GECOS  The  GECOS field is traditionally used to store user's real name
	      and other information.

       Home directory
	      If this field is empty, a default specified by libuser  configu‐
	      ration,  or  /home/username  if  libuser	configuration does not
	      specify a default, is used.

       Login shell
	      If this field is empty, a default specified by libuser  configu‐
	      ration is used.

       Errors  in user specifications are reported and processing continues on
       the next line.

OPTIONS
       -f, --file=file
	      Read account data from file instead of standard input.

       -i, --interactive
	      Ask all questions when connecting to the user database, even  if
	      default answers are set up in libuser configuration.

       -M, --nocreatehome
	      Don't create home directories.

       -n, --nocreatemail
	      Don't create mail spool files.

EXIT STATUS
       The  exit  status  is  0 on success, nonzero on fatal error.  Errors in
       user specifications are not reflected in the exit status.

libuser				  Jul 13 2008			  lnewusers(1)
[top]

List of man pages available for OpenMandriva

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