From b0e9a82310359965c5d0ede45c75387d33cc3ba5 Mon Sep 17 00:00:00 2001 From: Mike Makonnen Date: Tue, 16 Mar 2004 13:46:29 +0000 Subject: o Add an -S option to not attempt to ascertain the validity of a shell. o Add a -D option to not attempt to create the home directory. o Treat the /nonexistent home directory specially. It means the user has no home directory and it should not be created. o Update Copyright year and my email. --- adduser/adduser.8 | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'adduser/adduser.8') diff --git a/adduser/adduser.8 b/adduser/adduser.8 index 6192280..6d4454d 100644 --- a/adduser/adduser.8 +++ b/adduser/adduser.8 @@ -1,6 +1,6 @@ .\" Copyright (c) 1995-1996 Wolfram Schneider . Berlin. .\" All rights reserved. -.\" Copyright (c) 2002 Michael Telahun Makonnen +.\" Copyright (c) 2002-2004 Michael Telahun Makonnen .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without @@ -34,7 +34,7 @@ .Nd command for adding new users .Sh SYNOPSIS .Nm -.Op Fl CENhq +.Op Fl CDENShq .Op Fl G Ar groups .Op Fl L Ar login_class .Op Fl d Ar partition @@ -164,6 +164,16 @@ option. Home partition. Default partition, under which all user directories will be located. +The +.Pa /nonexistant +partition is considered special. +The +.Nm +script will not create and populate a home directory by that name. +Otherwise, +by default it attempts to create a home directory. +.It Fl D +Do not attempt to create the home directory. .It Fl E Disable the account. This option will lock the account by prepending the string @@ -243,6 +253,8 @@ It must exist in or be the special shell .Em nologin to be considered a valid shell. +.It Fl S +The existence or validity of the specified shell will not be checked. .It Fl u Ar uid Use UIDs from .Ar uid @@ -353,6 +365,11 @@ Full name and other extra information about the user. Home directory. If this field is left empty, it will be automatically created by appending the username to the home partition. +The +.Pa /nonexistent +home directory is considered special and +is understood to mean that no home directory is to be +created for the user. .It Ar shell Login shell. This field should contain the full path to a valid login shell. -- cgit v1.2.3-56-ge451