New answers tagged privileges
You cannot remove the root user. It is integral to how Ubuntu works. If you remove all users that can execute a root command, you are not able to install new software or update your computer. You might not be able to shutdown and you can't change some settings. However, you can limit who has access to root. Any users you add should be "standard" users, not ...
You will not be able to achieve this. A root user can do anything. Even if a directory or file is not accessible (like protected with a password or encrypted) for a root user he can delete it, overwrite it just by being root. Heck, he can even format the whole disk if needed. Above makes 2 assumptions: you are not the admin you are talking about your ...
You should create two users. User A: can manage certain folders. User B: can manage the rest of the folders. Change the password to root so only you know it and no one but you can change permissions. Do not give root privileges to either user and this way they will be unable to "reactive" it. There is NO way to disable root...
When I reboot via the GUI I can do that without my sudo password. Only if you're the only one logged in. If there are any other users (including console users) you may have to enter a root password. This is the same on OS X and newer Windows versions. Why is that? What's happening internally of the ubuntu system there? The following command: ...
In a multi-user system, the last thing you want is your users logging in and being able to randomly reboot the server at any time, thus the command line version of Reboot is a superuser-only command, hence needing you to be root or have sudo rights. Ditto the Halt and PowerOff commands too.
You can limit root access in several ways: You can configure sudo to allow access to only some, but not all commands. Take care with this as sometimes this may allow shell access (for example running vim as root with sudo -> vim will then allow shell access). For details see https://www.sudo.ws/man/sudoers.man.html, there are entire sections on how to ...
Only users inside of the sudo group can use it. If you don't want users to be able to use root commands, you can delete them from the group sudo with deluser user sudo
Ubuntu live media has re-installation function. Boot a live CD or USB and start the installation. Select the option to install package updates during the installation. Eventually you will encounter a question asking if you want to "Reinstall Ubuntu". Selecting that option will make the installer try to not erase your existing system.
You can run sudo visudo to edit the /etc/sudoers file. There, or can specify which users will be allowed to do which sudo commands. It is recommended to view the man page before (http://manpages.ubuntu.com/manpages/trusty/en/man5/sudoers.5.html) The deny special things write an ! in front of it. YourFriend = ALL=ALL, !*raspi.conf*
Windows partitions can be made invisible by using umask 0777 in the fstab file.
Yes, it is normal that you can see your Windows files in Ubuntu, and no, you cannot see your Ubuntu files in Windows. Windows does not understand the default filesystem Ubuntu uses, although Ubuntu understands the filesystem Windows uses.
Top 50 recent answers are included