From c57db66cb020c01e848f96614998983c8c81ce96 Mon Sep 17 00:00:00 2001 From: Thomas Osterried Date: Thu, 16 Jan 2014 10:39:17 +0100 Subject: 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/axspawn.conf | 4 +++- ax25/axspawn.conf.5 | 6 +++++- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'ax25') 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 -- cgit v1.2.3