Subscribe Dialwebhosting Offers Subscribe to get exclusive offers directly in your inbox!
>>
>>
>>
How Your Vps Can Be Managed Without An Admin User

How Your VPS can be Managed without an admin user

A default account is always created after a new server is being built. The default account is known as 'root'. A root user is granted all permissions and has access to all systems of server. However, the root user is expected to focus only on administrative tasks. It might be prove to be extremely disastrous to use root access irresponsibly because there Linux does not permit undoing operations. 

Therefore there is need to create a wholly new user with restricted permissions that can cover all routine admin tasks. Such admin access can be granted via a sudo command that is designed to provide momentary freedom of a single command.

In the subsequent guidelines you will gain knowledge of creating a new user in Debian system to allow access to the special privilege of using sudo command to execute specific administrative tasks. 

Server login

In order to execute the subsequent steps, one needs to log in to the VPS Server or Debian server as root user. The password for root user is received via email if the server instance is created without choosing SSH key for embedding authentication. This password information can be used to login to the server as a root user. 

You should remember that while you are entering the password that is emailed to you, the screen will not display anything. This is a security feature to prevent anyone from trying to guess the password only by knowing length of the password.

Alternatively, you can also select 'console-access'. It appears on upper right corner on page of droplet. It is used for opening a terminal session to be used to log in within browser window. In case the server was configured for use of SSH keys to authenticate, the same process can be used with only the exception of use of password since you will automatically be logged in. 

Adding a new user

Once you have logged in as root user, the first step includes adding a new user. Since new users are not provided with any privileges, they have ability of only modifying their home directory files. This is precisely what is expected 

If this happens to be the first new user, you can use 'adduser newuser' syntax to create a new user if you are already logged as a root user. If you are a user with sudo privileges, then by invoking sudo, a new user can be created with 'sudo adduser newuser' command. 

Click exit to end the session. 

In next steps, you will have to define administrative tasks that can be performed by new users. The new users can be deleted or removed by logging in as a root.

In subsequent steps you will have to create password for new users and fill in information regarding users. 

It is observed that many hosting service providers assume responsibility of managing private servers. This is done with a view to support enable dependable and instant updates. These are extremely essential for server's security. A sudo-command or user access to server management can impact ability of the host to facilitate a managed hosting environment that is safe and reliable.

Was this answer helpful? #0 #0
 

Designed & Developed by Cyfuture India Private Limited