From b4ca3f2583e9913f83443ac1f7147a9e69b06e39 Mon Sep 17 00:00:00 2001 From: Yaroslav Tykhiy Date: Wed, 2 Jan 2002 19:01:53 +0000 Subject: [PATCH] Document a new option: -force. --- usr.sbin/adduser/adduser.8 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/usr.sbin/adduser/adduser.8 b/usr.sbin/adduser/adduser.8 index db09a91e5ec3..73ab6608d685 100644 --- a/usr.sbin/adduser/adduser.8 +++ b/usr.sbin/adduser/adduser.8 @@ -37,6 +37,7 @@ .Op Fl class Ar login_class .Op Fl config_create .Op Fl dotdir Ar dotdir +.Op Fl f | force .Op Fl group Ar login_group .Op Fl h | help .Op Fl home Ar home @@ -60,6 +61,9 @@ directory, dotfiles and sends the new user a welcome message. .It Sy username Login name. May contain only lowercase characters or digits. +(See also the +.Fl force +option.) Maximum length is 16 characters (see .Xr setlogin 2 @@ -154,6 +158,10 @@ to read/execute/write .Pa prv , .Pa iscreen , .Pa term . +.It Fl force , f +Add a user even if the username contains illegal characters. +Only semicolon or newline characters will be disallowed in +usernames to avoid breaking the password file format. .It Fl group Ar login_group Login group. .Ar USER