Before accessing the LSM GUI from a remote system, authorize remote access (on this page)
GUI and API User Management
The User management Script can be found in:
/home/LinMin/actions
# sh LSM_ManageUserAccess.sh
Script started, file is /home/LinMin/logs/LSM_ManageUserAccess.log
LinMin Snapshot Manager Manage User Access
v5946 LSM_ManageUserAccess.php 2019-05-31 21:17:33Z
................................................................................
Management Options
L) LSM Issue Code Query
S) SSH Access Management
U) GUI/API User Management
Q) Quit and exit
----> type response and press enter, "Q" will quit and exit
... select option /L/S/U/:
Depracated
Beta1-Only User Management Script Examples Follow:
In this example, we will change password of the User "admin":
# sh /home/LinMin/LSM_ManageUserAccess.sh
................................................................................
Existing Users:
... Name: admin Access IP: 192.168.49.64 Type: Description: LinMin installed super User
Select User Action:
Add new User, Change User password, Delete User
----> type response and press enter, "q" will quit the process
add, change, delete, quit; a/c/d/q: c
----> type response and press enter, "q" will quit the process
Change password of which User, 'x' for no change: admin
Alphanumeric characters are recommended, these characters are not allowed #&;`|*?~><^)(][}{$
Avoid other special characters, 4 characters required, more than 8 letters and numbers work best
Enter password for admin, q to quit:
Confirm password for admin, q to quit:
................................................................................
Existing Users:
... Name: admin Access IP: 192.168.49.64 Type: Description: LinMin installed super User
# NOTE: User admin can only access the LSM Server directly (from 192.168.49.64). User admin is not authorized for remote access from another system
# Changed password for User: admin
Select User Action:
Add new User, Change User password, Delete User
----> type response and press enter, "q" will quit the process
add, change, delete, quit; a/c/d/q: q
#
Adding local and remote LSM GUI & API Users
In this example, a new engineer joined the LSM team. Leo needs both:
•Local LSM access using the browser on the LSM Server, and
•Remote LSM access using the browser on a laptop from another IP address
For security reasons (e.g., authorization revocation), 2 User accounts will be created for the same person (one for local and one for remote access)
sh /home/actions/LSM_ManageUserAccess.sh
................................................................................
Existing Users:
... Name: admin Access IP: 192.168.49.64 Type: Description: LinMin installed super User
Select User Action:
Add new User, Change User password, Delete User
----> type response and press enter, "q" will quit the process
add, change, delete, quit; a/c/d/q: a
Alphanumeric characters are recommended, these characters are not allowed #&;`|*?~><^)(][}{$'"\
----> type response and press enter, "q" will quit the process
Enter a User name: leo
Alphanumeric characters are recommended, these characters are not allowed #&;`|*?~><^)(][}{$
Avoid other special characters, 4 characters required, more than 8 letters and numbers work best
Enter password for leo, q to quit:
Confirm password for leo, q to quit:
----> type response and press enter, "q" will quit the process
Enter required User access from IP: 192.168.49.64 # Note: LSM Server IP
Alphanumeric characters are recommended, these characters are not allowed #&;`|*?~><^)(][}{$'"\
----> type response and press enter, "q" will quit the process
Enter optional User Description: Leo when using accessing LSM locally on the LSM Server
................................................................................
Existing Users:
... Name: admin Access IP: 192.168.49.64 Type: Description: LinMin installed super User
... Name: leo Access IP: 192.168.49.64 Type: GUI Description: Leo when using accessing LSM locally on the LSM Server
# Added User: leo
Select User Action:
Add new User, Change User password, Delete User
----> type response and press enter, "q" will quit the process
add, change, delete, quit; a/c/d/q: a
Alphanumeric characters are recommended, these characters are not allowed #&;`|*?~><^)(][}{$'"\
----> type response and press enter, "q" will quit the process
Enter a User name: leo2
Alphanumeric characters are recommended, these characters are not allowed #&;`|*?~><^)(][}{$
Avoid other special characters, 4 characters required, more than 8 letters and numbers work best
Enter password for leo2, q to quit:
Confirm password for leo2, q to quit:
----> type response and press enter, "q" will quit the process
Enter required User access from IP: 192.168.49.13 # Note: IP of Leo's laptop while in the lab
Alphanumeric characters are recommended, these characters are not allowed #&;`|*?~><^)(][}{$'"\
----> type response and press enter, "q" will quit the process
Enter optional User Description: Same Leo when accessing LSM remotely from the lab using IP 192.168.49.13
................................................................................
Existing Users:
... Name: admin Access IP: 192.168.49.64 Type: Description: LinMin installed super User
... Name: leo Access IP: 192.168.49.64 Type: GUI Description: Dev Ops Leo when accessing LSM directly
... Name: leo2 Access IP: 192.168.49.13 Type: GUI Description: Same Leo when accessing LSM remotely from the lab using IP 192.168.49.13
# Added User: leo2
Select User Action:
Add new User, Change User password, Delete User
----> type response and press enter, "q" will quit the process
add, change, delete, quit; a/c/d/q: q