@@ -22,32 +22,52 @@ The following help text is generated by :code:`ecflow_client --help=reloadcustom
2222 reloadcustompasswdfile
2323 ----------------------
2424
25- Reload the server custom password file. For those user's who don't use login name
26- This should be used when most users use the machine login name, but a few users specify their own user name,
27- in this case these user must provide a password.
28- Although the password file can be reloaded(i.e to add/remove users), its location can't be changed
29- The password file is located by the ECF_CUSTOM_PASSWD environment variable, both for the client and server
30- On the server the default file name is <host>.<port>.ecf.custom_passwd
31- On the client the default file name is ecf.custom_passwd
25+ Reload the server custom password file.
26+
27+ The custom password file (authentication) is used by the server to authenticate a 'user' by
28+ verifying if the password provided by the user matches the one held by the server. This
29+ particular file is used for authentication of users that explicitly specify the user name
30+ (either via the environment variable ECF_USER or the --user option).
31+
32+ This mechanism should be used when most users use the machine login name, but a few users
33+ specify their own user name, in which case the password must also be explicitly provided.
34+
35+ The file path is specified as the ECF_CUSTOM_PASSWD environment variable, both for the
36+ client and server, and is loaded only by the server on *startup*. This means that the file
37+ contents can be updated (i.e., add/remove users), but the file location cannot change during
38+ the server execution.
39+
40+ The server automatically loads the password file content as part of the startup procedure.
41+
42+ The ECF_CUSTOM_PASSWD environment variable is used to specify the password file location,
43+ considering that
44+ - On the server the default file name is <host>.<port>.ecf.custom_passwd
45+ - On the client the default file name is ecf.custom_passwd
46+
3247 The format of the file is same for client and server:
3348
49+
3450 4.5.0
3551 # comment
3652 <user> <host> <port> <passwd> # comment
3753
38- i.e
54+ The following is an example
55+
3956 4.5.0 # the version
4057 fred machine1 3142 xxyyyd
4158 fred machine2 3133 xxyyyd # comment
4259 bill machine2 3133 xxyggyyd
4360
44- The same user may appear multiple times. i.e with different host/port. This allows the password file
45- to be used for multiple servers
46- For the password authentication to work. It must be:
47- - Defined for the client and server
48- - Creating an empty password file,(i.e with just the version) will mean, no client can reload it.
49- Hence at least the server administrator needs to be added to the file
50- - The password file permission's must be set for reading by the user only
61+ Notice that the same user may appear multiple times (associated with different host/port).
62+ This allows the client to use the same password file to contact multiple servers.
63+
64+ For the password authentication to work, ensure the following:
65+ - The password is defined for the client and server
66+ - On the server, add at least the server administrator to the password file
67+ Note: If an empty password file (i.e., containing just the version) is used,
68+ no user is allowed access.
69+ - On the client, the password file should be readable only by the 'user' itself
70+
5171 Usage:
5272 --reloadcustompasswdfile
5373
0 commit comments