Added the -G option to allow logins only for users that are members of a certain group. This allows finer control of an instance on who can and cannot login over a certain instance (e.g. password and not key). Needs double-checking and ensuring it meets platform requirements.

This commit is contained in:
stellarpower
2018-02-20 02:11:55 +00:00
parent 4768351e89
commit d17dedfa4f
3 changed files with 70 additions and 0 deletions

View File

@@ -92,6 +92,8 @@ typedef struct svr_runopts {
#endif
int norootlogin;
char *grouploginname;
gid_t *grouploginid;
int noauthpass;
int norootpass;