Commit Graph

17 Commits

Author SHA1 Message Date
Philippe Grégoire 0e3c7545cc
__user_groups: Support OpenBSD
OpenBSD's usermod(8) interface is similary to NetBSD's.
This commit makes __user_groups support it explicitly.

https://man.openbsd.org/usermod.8
http://netbsd.gw.com/cgi-bin/man-cgi?usermod++NetBSD-current
2017-08-27 08:58:16 -04:00
Nico Schottelius 260303dd14 Fix gpasswd call in __user_groups: order incorrect
From the manpage:

       -a, --add user
           Add the user to the named group.

       -d, --delete user
           Remove the user from the named group.
2017-08-03 15:11:35 +02:00
Darko Poljak 62378dc8b9 Change shebang to #!/bin/sh -e 2017-06-28 13:19:32 +02:00
Darko Poljak 86678b5beb Cleanup __user_groups oldusermod explorer. 2017-01-11 21:32:52 +01:00
Andres Erbsen 493c8d61f4 __user_groups: refactor, support FreeBSD 2016-09-11 22:28:51 -04:00
Darko Poljak df566f4ff8 GPLv3+ relicensing. 2016-08-10 18:15:54 +02:00
Darko Poljak f98208f250 Make man pages SEE ALSO by convention. Improve docs building. 2016-06-30 12:09:07 +02:00
Darko Poljak 51c94e9e82 Restructure and fix and improve docs and manpages. 2016-06-29 07:48:34 +02:00
Darko Poljak b89077f9a5 Better sphinx manpage ext. Add custom dotman Makefile target for custom .cdist directory. 2016-06-23 16:08:59 +02:00
Darko Poljak cf32b669ff Write sphinx rst docs. 2016-05-22 17:16:03 +02:00
Jonathan A. Kollasch 90fe1bf6c9 add some NetBSD support in __user_groups 2015-10-15 10:53:56 -05:00
Daniel Heule b2aeceae91 minor optimisation ... 2015-05-11 10:18:27 +02:00
Daniel Heule e89ca14e66 autodedtection of old usermod implementations ... 2015-05-11 09:06:27 +02:00
Daniel Heule 56168cda65 fix for older linuxes where gpasswd doesn't have the relevant options ... 2015-05-08 14:21:39 +02:00
Daniel Heule 62bd5898aa fix for older linuxes where gpasswd doesn't have the relevant options ... 2015-05-08 14:08:53 +02:00
Daniel Heule 3c52710763 little changes for using default parameters correctly 2014-02-03 21:43:39 +01:00
Steven Armstrong 28e8632097 new type: __user_group: manage user groups
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-11-16 15:31:33 +01:00