https://github.com/bcambl/fabric-adduser
Add multiple users to a list of servers while maintaining unique passwords.
https://github.com/bcambl/fabric-adduser
Last synced: 5 months ago
JSON representation
Add multiple users to a list of servers while maintaining unique passwords.
- Host: GitHub
- URL: https://github.com/bcambl/fabric-adduser
- Owner: bcambl
- Created: 2014-04-15T14:45:37.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2015-01-21T22:48:35.000Z (over 11 years ago)
- Last Synced: 2025-08-02T13:58:01.126Z (11 months ago)
- Size: 180 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
fabric-adduser
==============
#### Fabric script for adding multiple users to a list of servers.
A standalone script that allows a system administrator to add multiple users
to multiple hosts and set a global or unique password for each server.
#####Note:
All new accounts are expired by default and will force each user to reset
their password upon first login. Users have approximately 30 days to login
and change their temporary password or the account will turn inactive.
#### Dependencies:
- python-pip
```
$ pip install -r requirements.txt
```
#### Usage:
Add users:
```
$ fab adduser
```
Add users with unique password for each host:
(default: Same password on all hosts)
```
$ fab adduser:gp=False
```
Remove users and leave groups intact.
```
$ fab deluser
```
###### Warning:
Do not run as parallel as passwords are only generated once for initial server
to allow global temporary password for all hosts being processed.