by Alex Muntada / @alexmuntada
shellscript passwd db passwd
+-----------+ +--------------+ +----------+
| SP client | <=> | SinglePasswd | <=> | SP agent |
+-----------+ +--------------+ +----------+
$ passwd
You will be prompted for two different passwords:
- Your authentication password.
- Your new password for a service group of your choice.
Enter 'alexm' authentication password:
Authenticating user 'alexm'... Successful
Service group list for user 'alexm':
[1] Gateway: Access to internal services from outside (home, etc.)
- Gateway Account
- VPN
- ...
[2] Internal: Intranet, UNIX account, E-mail account, etc.
- Authentication
- Home Page
- Intranet
- Mail Account
- ...
[3] Other: CVS repositories, Mailing lists, etc.
- Mail List [mhonarc-test]
- ...
Enter your choice [1..3, L=list, Q=quit]:
Enter your choice [1..3, L=list, Q=quit]: 2
Enter 'alexm' new password for 'Internal' (8 chars):
Re-enter 'alexm' password for 'Internal':
Changing 'alexm' passwords for service group 'Internal'
This may take a long while, please be patient...
Password successfully changed in database
...
internet public internal
+---------+ +-------+ +---------+
| browser | <=> | nginx | <=> | apache |
+---------+ +-------+ +---------+
^
|
v
+--------------+
| SinglePasswd |
+--------------+
^ ^
| ... |
v v
+----------+ +----------+
| SP agent | | SP agent |
+----------+ +----------+
by Alex Muntada / @alexmuntada