Difference between revisions of "DCache gPlazma: htpasswd management"
Jump to navigation
Jump to search
(Created page with "= How to generate a new password in htpasswd = * Log in a door and execute the following command: [root@door01 ~]# htpasswd -n -m <user> New password: Re-type new password...") |
|||
Line 5: | Line 5: | ||
Re-type new password: | Re-type new password: | ||
<user>:$apr1$Knkg1eYq$WKIQSP0p0m2XKhAasbIRD1 | <user>:$apr1$Knkg1eYq$WKIQSP0p0m2XKhAasbIRD1 | ||
+ | :where '''MD5''' encryption must be used (option '''-m''') and option '''-n''' just forces to show the output on stdout. | ||
+ | |||
* Copy the output to the htpasswd file locate in '''/etc/dcache/htpasswd'''. This file is managed in '''puppet'. | * Copy the output to the htpasswd file locate in '''/etc/dcache/htpasswd'''. This file is managed in '''puppet'. |
Latest revision as of 09:08, 5 October 2017
How to generate a new password in htpasswd
- Log in a door and execute the following command:
[root@door01 ~]# htpasswd -n -m <user> New password: Re-type new password: <user>:$apr1$Knkg1eYq$WKIQSP0p0m2XKhAasbIRD1
- where MD5 encryption must be used (option -m) and option -n just forces to show the output on stdout.
- Copy the output to the htpasswd file locate in /etc/dcache/htpasswd. This file is managed in puppet'.