diff options
author | Thomas Osterried <ax25@x-berg.in-berlin.de> | 2014-01-16 10:39:17 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-05-01 23:52:47 +0200 |
commit | c57db66cb020c01e848f96614998983c8c81ce96 (patch) | |
tree | c84a646071941287adee1c16a6e927da0aa7705d /ax25 | |
parent | 0f7448fd5b4349f5186470bc28e972f75efd05e8 (diff) |
Provide defaults for user_shell if unset.
The user_shell config variable is optional. If not specified, /bin/bash is
used. Except: if create_with_useradd is configured and there's a config
file /etc/default/useradd, then it's not passed to useradd in order to let
the user choose.
Signed-off-by: Thomas Osterried <ax25@x-berg.in-berlin.de>
Diffstat (limited to 'ax25')
-rw-r--r-- | ax25/axspawn.conf | 4 | ||||
-rw-r--r-- | ax25/axspawn.conf.5 | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/ax25/axspawn.conf b/ax25/axspawn.conf index 5935d34..ee060a9 100644 --- a/ax25/axspawn.conf +++ b/ax25/axspawn.conf @@ -43,7 +43,9 @@ home /home/hams # secure homedirectories (g-rwx) #secure_home yes # -# user shell +# user's shell (if not configured, it's /bin/bash, or if +# create_with_useradd is set, useradd uses the shell +# configured in /etc/default/useradd). shell /bin/bash # # bind user id to callsign for outgoing connects. diff --git a/ax25/axspawn.conf.5 b/ax25/axspawn.conf.5 index cb33d9a..8b2e64b 100644 --- a/ax25/axspawn.conf.5 +++ b/ax25/axspawn.conf.5 @@ -79,7 +79,11 @@ home /home/hams .br # .br -# user's shell +# user's shell (if not configured, it's /bin/bash, or if +.br +# create_with_useradd is set, useradd uses the shell +.br +# configured in /etc/default/useradd). .br shell /bin/bash .br |