By default Godaddy blocks root login. if you need to run a command as root use sudo then the command
[firstname.lastname@example.org ~]$ dnf update
Error: This command has to be run under the root user.
[email@example.com ~]$ sudo dnf update
Last metadata expiration check: 2:37:39 ago on Thu Aug 11 11:11:13 2016.
Nothing to do.
the other option is to run sudo passwd then enter new password for root and confirm
Once you have root password you can use use su to login as root after first logging in as user.
for security it is best to login as user and use sudo for any commands that need root.
[tanpa99@tanpa ~]$ dnf update
-bash: dnf: command not found
[tanpa99@tanpa ~]$ dns update
-bash: dns: command not found
[tanpa99@tanpa ~]$ sudo dnf update
sudo: dnf: command not found
Im running centos 7 i already try thats but still error
For Cent os use the command yum for updates.
sudo yum update
Running that command should allow you to update.
su - used to login as root or another user if you are root.
sudo - used to run commands as root.
User and root password is same, but before you access root you need to be in user account then use this command, sudo then su then enter same user password as root, you are good to go.
I am totally new to VPS and I could login perfectly fine into it until I tried setting up a domain and now my usually working user name and password is no longer being recognized during login.
BTW I already tried DOMAIN\USERNAME, DOMAIN.LOCAL\USERNAME, LOCAL\USERNAME... all failed.