Use PAM account management and added support for user groups.

This commit is contained in:
Nikos Mavrogiannopoulos
2013-02-12 18:53:25 +01:00
parent 121b2491aa
commit e8f6332f36
14 changed files with 493 additions and 113 deletions

View File

@@ -48,6 +48,7 @@ struct proc_st {
/* The following are set by the worker process (or by a stored cookie) */
char username[MAX_USERNAME_SIZE]; /* the owner */
char groupname[MAX_GROUPNAME_SIZE]; /* the owner's group */
char hostname[MAX_HOSTNAME_SIZE]; /* the requested hostname */
uint8_t cookie[COOKIE_SIZE]; /* the cookie associated with the session */
};