From 5eafb0a9959c9a485046a4ec7096d970f96ce359 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 18 Nov 2013 22:55:28 +0100 Subject: set user and group MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/login.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/login.h') diff --git a/src/login.h b/src/login.h index 43cb302..14014f2 100644 --- a/src/login.h +++ b/src/login.h @@ -22,6 +22,13 @@ #include +/** + * 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 * -- cgit v1.2.3-70-g09d2