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/login.h | |
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/login.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/login.h b/src/login.h index 43cb302..14014f2 100644 --- a/src/login.h +++ b/src/login.h @@ -23,6 +23,13 @@ /** + * Set the user gid and uid + * + * @param entry The user entry in the password file + */ +void set_user(struct passwd* entry); + +/** * Change directory to the user's home directory * * @param entry The user entry in the password file |