https://github.com/bcambl/fabric-usergroups
Fabric script to perform user group modifications
https://github.com/bcambl/fabric-usergroups
Last synced: 5 months ago
JSON representation
Fabric script to perform user group modifications
- Host: GitHub
- URL: https://github.com/bcambl/fabric-usergroups
- Owner: bcambl
- Created: 2014-07-08T05:23:22.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-09-06T16:54:55.000Z (almost 12 years ago)
- Last Synced: 2025-11-16T00:27:49.581Z (8 months ago)
- Size: 141 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
fabric-usergroups
=================
Fabric script to perform user group modifications
(add/remove operations require sudo privilages)
#### Dependencies:
- python-pip
```
$ pip install -r requirements.txt
```
### Usage:
##### Add user to a group
```
$ fab addgrp:user=,grp=
```
##### Group membership checks
```
$ fab chkgrp:user=
```
##### Remove user from groups
```
$ fab remgrp:user=,exceptgrp=
```
*Note* - exceptgrp is optional (user maintains membership)