Difference between revisions of "DCache gPlazma: htpasswd management"

From Public PIC Wiki
Jump to: navigation, 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...")
 
(How to generate a new password in htpasswd)
 
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'.