Actions
User story #20675
closedallow a user to pass a password to server create-user command
Effort required:
Name check:
To do
Fix check:
Checked
Regression:
Description
This would allow automating user creation
Updated by Benoît PECCATTE almost 3 years ago
- Status changed from New to In progress
- Assignee set to Benoît PECCATTE
Updated by Benoît PECCATTE almost 3 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Benoît PECCATTE to Félix DALLIDET
- Pull Request set to https://github.com/Normation/rudder-agent/pull/359
Updated by Vincent MEMBRÉ almost 3 years ago
- Target version changed from 7.0.1 to 7.0.2
Updated by Vincent MEMBRÉ over 2 years ago
- Target version changed from 7.0.2 to 7.0.3
Updated by Benoît PECCATTE over 2 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-agent|dec2673c885c5cd9215618dce3b2d042661dd538.
Updated by Nicolas CHARLES over 2 years ago
- Fix check changed from To do to Error - Blocking
this does not work with an environement variable. Tested also with empty -p, or no quotes with same failure
# ADMIN_PASSWORD="truc" rudder server create-user -u machin Usage: htpasswd [-cimBdpsDv] [-C cost] passwordfile username htpasswd -b[cmBdpsDv] [-C cost] passwordfile username password htpasswd -n[imBdps] [-C cost] username htpasswd -nb[mBdps] [-C cost] username password -c Create a new file. -n Don't update file; display results on stdout. -b Use the password from the command line rather than prompting for it. -i Read password from stdin without verification (for script usage). -m Force MD5 encryption of the password (default). -B Force bcrypt encryption of the password (very secure). -C Set the computing time used for the bcrypt algorithm (higher is more secure but slower, default: 5, valid: 4 to 31). -d Force CRYPT encryption of the password (8 chars max, insecure). -s Force SHA encryption of the password (insecure). -p Do not encrypt the password (plaintext, insecure). -D Delete the specified user. -v Verify password for the specified user. On other systems than Windows and NetWare the '-p' flag will probably not work. The SHA algorithm does not use a salt and is less secure than the MD5 algorithm.
Updated by Vincent MEMBRÉ over 2 years ago
- Fix check changed from Error - Blocking to Checked
Updated by Vincent MEMBRÉ over 2 years ago
This bug has been fixed in Rudder 7.0.3 which was released today.
Updated by Alexis Mousset over 2 years ago
- Status changed from Pending release to Released
Actions