diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-11-18 22:55:28 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-11-18 22:55:28 +0100 |
commit | 5eafb0a9959c9a485046a4ec7096d970f96ce359 (patch) | |
tree | b51bd32fdf56a9099cf8e808718555b43f285537 /src/cerberus.c | |
parent | m (diff) | |
download | libpassphrase-5eafb0a9959c9a485046a4ec7096d970f96ce359.tar.gz libpassphrase-5eafb0a9959c9a485046a4ec7096d970f96ce359.tar.bz2 libpassphrase-5eafb0a9959c9a485046a4ec7096d970f96ce359.tar.xz |
set user and group
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/cerberus.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/cerberus.c b/src/cerberus.c index d61f541..f60f64c 100644 --- a/src/cerberus.c +++ b/src/cerberus.c @@ -18,6 +18,8 @@ */ #include "cerberus.h" +/* TODO use log */ + /** * Mane method @@ -177,7 +179,10 @@ int main(int argc, char** argv) reenable_echo(); - /* TODO login */ + /* Login */ + /* TODO verify that user is enabled */ + set_user(entry); + /* TODO set supplemental groups */ chdir_home(entry); ensure_shell(entry); set_environ(entry, preserve_env); |