Join the community, get access to exclusive contents and discussions.
Grab tips and tricks from experts.
We are in-need for your support and participation.
Join now as we regularly update the website for your needs.
Leave your suggestion on our contact page. We'll
promise to do our best to make your request possible!
Linux Server: Change root Password after fresh install.
After you install or deploy Linux os on your machine on the cloud or locally. You are required to execute command initial command. Of course to secure your server from any anonymous access.
sudo apt-get update
This will update your Linux os if there is an available new package.
`sudo apt-get upgrade’
This will upgrade your Linux server from the update you just requested earlier.
To change the password on Linux server, only need few commands.
sudo passwd root
This will initiate password change on the root account. That will allow you to enter your password and retype to confirm.
Now, what you need to do is to check for your root password is set successfully. Just execute the command to enter the root server.
From this action, the server will ask you for root password which is set earlier. You can now navigate into the root of the server. Just execute command to navigate to the root directory.
Now, all things set you can now install all other packages that you will be using but I advise you to first deal with the networking and security like firewall and iptables. See, Server Admin: Basic Manual for Performance and Security forum for more server administration.
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic. Login here