summaryrefslogtreecommitdiffhomepage
path: root/runopts.h
diff options
context:
space:
mode:
authorstellarpower <stellarpower@googlemail.com>2018-02-20 02:11:55 +0000
committerstellarpower <stellarpower@googlemail.com>2018-02-20 02:11:55 +0000
commitd17dedfa4f864b2b4d1a7fcb5fcda411ea8fa65b (patch)
tree9350e872240ef109334b326b310381ef5062bb71 /runopts.h
parent4768351e896a825e6f84893c66bb05adb463c1ba (diff)
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.
Diffstat (limited to 'runopts.h')
-rw-r--r--runopts.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/runopts.h b/runopts.h
index 5118769..a3f46d2 100644
--- a/runopts.h
+++ b/runopts.h
@@ -92,6 +92,8 @@ typedef struct svr_runopts {
#endif
int norootlogin;
+ char *grouploginname;
+ gid_t *grouploginid;
int noauthpass;
int norootpass;