Commands usedPasswd username

Exchange insights, tools, and strategies for canada dataset.
Post Reply
Mitu100@
Posts: 1357
Joined: Tue Jan 07, 2025 4:31 am

Commands usedPasswd username

Post by Mitu100@ »

Conclusions
In this article, we have reviewed the basic principles of Site Security and information security. In order not to worry about the health of the site / server, you should definitely contact a cybersecurity specialist and this will help you not to lose profit, and your customers not to lose interest in the resource. In the future, we will look at more information regarding Internet security and how to achieve complete anonymity.In this article, we will talk about a rather important aspect when working on the server, namely the root user and connecting to it. You probably leave the remote connection to the root user active in order to work from home, but in this way you put your server in great danger. The thing is that attackers can intercept the data that you send to the server when you try to log into your account remotely, and this is dangerous because a hacker will gain access to the superuser and ruin the entire server. To avoid this, this article was written, with which you can disable remote access to the root user.


Usermod -aG sudo username

Video instructions
Written instructions
To be able to work remotely industry email list on the server and not endanger it, you need to create a user and grant him Sudo rights. This is done as follows

Creating a user

Useradd -m -s /bin/bash -c ‘Admin’ username

When a user is created he needs to come up with a password

Passwd username

When you have come up with a password, enter the following command to grant administrator rights.
Post Reply