Add a User to Linux Backup Server Console Using Command Line
You can use the command line d2duser to add a user who can act as replacement of the root user, when required.
Follow these steps:
- Log on to the Backup Server as a root user.
- Navigate to /opt/Arcserve/d2dserver/configfiles, and open the file: server.cfg.
- Note: If a file with that name does not exist, create a new file by that name and add the following content to the file:
ui_login_use_udp_user= true|false
Lets you create the user that acts as the default user in the absence of root user when you login to the server. You can select true for this option.
ui_login_user_password_min_length = 6
Lets you decide the minimum password length. You can modify the default value 6, if required.
login_failure_time_to_lock_user = 9
Lets you decide after how many consecutive login failures, the user account is locked. You can modify the default value 9, if required.
- Navigate to /opt/Arcserve/d2dserver/bin, and locate the d2duser command line.
- Enter ./d2duser to view the usage for this command line:
d2duser --action=<add|delete|lock|unlock|passwd> --username=<username>
- Enter the following details on the d2duser command line:
- From the browser, open the Linux Backup Server console page.
- Verify if the displayed default user is the one that you just added.
- Login using that username and password.
d2duser --action=add --username=arcserve
Lets you add a user with the name arcserve. When you press enter, you are asked to enter a password, and then enter again to confirm.
d2duser --action=delete --username=arcserve
Lets you delete the user arcserve.
d2duser --action=lock --username=arcserve
Lets you lock the user arcserve.
d2duser --action=unlock --username=arcserve
Lets you unlock the user arcserve.
d2duser --action=passwd --username=arcserve
Lets you change the password for the user arcserve.
d2duser --action=list
Lets you view the list all the users.
Successful login confirms that the user is created.