Hot answers tagged

39

Your question is a bit vague, but you seem to be asking about the principle of least privilege, which basically says that a system is most secure when each piece only has the permissions necessary to do its own tasks. This limits the possibility of damage from mistakes or malicious actions. An ordinary user typically does not need to be modifying ...


18

The technical concept you're looking for is known as Privilege Separation. With this concept, each program uses the privileges granted to the user running the application, which is enforced by the operating system's security modules. When a user needs to do something that's outside of their normal privileges, the system challenges the user in order to grant ...


3

There is no 'root' account available for login by default. It is locked in a default installation. You don't state where your install runs from, so I am going to assume it's running from your remote user account on the server. You can enable the root account if you wish, but there's more 'secure' approaches to do this, than just enabling the account. ...


2

You can recover or set root password without knowing the current one by starting mysql without loading the grant-tables. This is the cli to do this: $ sudo mysqld_safe --skip-grant-tables Now you can log in as root without a password and perform all commands, as in this case, set the root password as root. $ sudo mysql --user=root mysql This is the ...


1

Since root login is not possible by default because of security concerns you can do sudo su or sudo -i in terminal(ctrl+alt+t). Which then asks for your user password. This will be accepted because youre in the proper group called sudoers. Typing exit will bring you back to your normal user.


1

Note: This will not work if "Easy Install" option in VMware is used, which will automatically set up Ubuntu with a default set of settings. When prompted to create the Virtual Machine, select the Ubuntu version in the OS type, but don't specify the ISO and use "I will install the operating system later", do not automatically power up the VM, and edit the ...



Only top voted, non community-wiki answers of a minimum length are eligible