diff options
Diffstat (limited to 'src/login.h')
-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 14014f2..e335e7c 100644 --- a/src/login.h +++ b/src/login.h @@ -51,6 +51,13 @@ void ensure_shell(struct passwd* entry); */ void set_environ(struct passwd* entry, char preserve_env); +/** + * Replace the current image with the user's login shell + * + * @param entry The user entry in the password file + */ +void exec_shell(struct passwd* entry); + #endif |