Commit 774c181e authored by Ludovic Courtès's avatar Ludovic Courtès Committed by Niels Möller

Correctly handle the --no-root-login option.

parent 05800b50
2013-03-29 Niels Mller <nisse@lysator.liu.se>
From Ludovic Courts:
* src/lshd.c (main_argp_parser): Correctly handle the
`--no-root-login' option.
* src/lsh-pam-checkpw.c (SERVICE_NAME): Use the more descriptive
name "lshd".
......
......@@ -758,6 +758,10 @@ main_argp_parser(int key, char *arg, struct argp_state *state)
self->allow_root = 1;
break;
case OPT_NO_ROOT_LOGIN:
self->allow_root = 0;
break;
case OPT_KERBEROS_PASSWD:
self->pw_helper = PATH_KERBEROS_HELPER;
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment