New answers tagged root
You would have to already have some sort of root level access, either via direct root passwd or your user id sudo rule setup prior to attempting to modify the sudoers file.
The Debian installer normally creates the root account plus one normal user account during installation. It sets up the one normal user account with sudo access. That way you're supposed to be able to gain root access to your own system after installation. If you cannot, then I can only guess that either: you are not using the same user account that was ...
The most robust methods seems to be auditd: http://blog.ptsecurity.com/2010/11/requirement-10-track-and-monitor-all.html Auditd basically intercepts all system calls and checks them against your set of rules. So in your /etc/audit/audit.rules file you would have something like the following: # This file contains the auditctl rules that are loaded # ...
The previous answers assume that root has full access to everything. While this is true on most Unix variants, it is only partially true on modern (since the late 90's; kernel 2.2) Linux kernels. On modern Linux, elevated privileges are controlled by a capabilities model. By default, the kernel grants all capabilities to a program if it's running as UID ...
A much more cleaner way to create a home directory would be to use the skeleton that linux provides for you for example. sudo cp -a /etc/skel /home/usernmae && sudo chown -R usernmae:usernmae /home/usernmae
Top 50 recent answers are included