summaryrefslogtreecommitdiffstats
path: root/hdlcutil/fl/xfhdlcst_main.cxx
diff options
context:
space:
mode:
authorThomas Osterried <ax25@x-berg.in-berlin.de>2014-01-16 10:36:51 +0100
committerRalf Baechle <ralf@linux-mips.org>2015-05-01 23:52:45 +0200
commit0f7448fd5b4349f5186470bc28e972f75efd05e8 (patch)
tree480f5c30a180e84873c49ecf0765859fa16d1a1a /hdlcutil/fl/xfhdlcst_main.cxx
parentced9c30127ffb6abc0eb38506fcff26e91d27a6a (diff)
Found debian wheezy useradd bug: useradd did terminates and eats 100%
cpu power, if it was called from axspawn. This could be prevented if SIGCHLD is masked. To increase security, no longer call useradd via system() but fork() and execve(). Fixed a bug when useradd failed then the login process continued anyway. Empty lines in axspawn.conf are now valid. 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 him choose. Signed-off-by: Thomas Osterried <ax25@x-berg.in-berlin.de>
Diffstat (limited to 'hdlcutil/fl/xfhdlcst_main.cxx')
0 files changed, 0 insertions, 0 deletions