From 8a211357c3b92d1d1f9cbf325e4b4679d73b8f6d Mon Sep 17 00:00:00 2001 From: Mike Makonnen Date: Sun, 27 Jan 2008 10:15:36 +0000 Subject: Add the -M command-line option, which will set home directory permissions. Works both in interactive or batch mode. This is a heavily modified version of the patch submitted in the PR. PR: bin/105060 MFC after: 1 week --- adduser/adduser.8 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'adduser/adduser.8') diff --git a/adduser/adduser.8 b/adduser/adduser.8 index 2df836a..fa164e4 100644 --- a/adduser/adduser.8 +++ b/adduser/adduser.8 @@ -37,6 +37,7 @@ .Op Fl CDENShq .Op Fl G Ar groups .Op Fl L Ar login_class +.Op Fl M Ar mode .Op Fl d Ar partition .Op Fl f Ar file .Op Fl g Ar login_group @@ -239,6 +240,9 @@ Please note that the message file can reference the internal variables of the .Nm script. +.It Fl M Ar mode +Create the home directory with permissions set to +.Ar mode . .It Fl N Do not read the default configuration file. .It Fl q -- cgit v1.2.3-56-ge451