Hot answers tagged

3

Check the permissions of /bin folder # ls -ld /bin drwxr-xr-x 2 root root 4096 May 27 21:39 /bin Check the permissions of all shells available # ls -l /bin/*sh -rwxr-xr-x 1 root root 1037464 Sep 1 2015 /bin/bash -rwxr-xr-x 1 root root 154072 Feb 17 21:25 /bin/dash lrwxrwxrwx 1 root root 4 Sep 1 2015 /bin/rbash -> bash lrwxrwxrwx 1 root root ...


2

Temporarly enabling r/w does not disable system updates I have tried it: sudo mount -o remount,rw The Important thing to remember is that updates are based on a diffrence between images so this will likely cause some changes you do to be wiped or break after update (or worse, thus the scare and warning you might need to reflash) but in practice just ...


2

Yes - root access and read/write system is easy to achieve. There seem to be multiple methods, but the one I used was the android-gadget-service enable writable command from the tablet. (source: this blog post) About updates while system is writable - I have automatic updates turned off, but it was able to update to OTA11 with the system still writable and ...


2

No and yes... No, Scientific Linux is based on Red Hat and they use .rpm-packages; and Ubuntu is based on Debian, so you need .deb-packages. But you can try to use alien to install/convert foreign packages: https://help.ubuntu.com/community/RPM/AlienHowto but IMHO compiling it yourself is definitely the better way...! there were some problems/questions ...


1

In Ubuntu, the default SSH policy is "Deny root login via SSH directly, except by SSH Key Authentication only." This is done by the PermitRootLogin without-password line of /etc/ssh/sshd_config. You can enable root password login over SSH by changing that line to say PermitRootLogin yes. However I must caution you - this permits brute forcing attempts ...


1

You're correct that root has all privileges, but saying that sudoers have all privileges is not quite correct. They are allowed to attain all privileges by using sudo to run a command as root. That includes running a root prompt, using a command like sudo -i. root is not a sudoer because it is already root - it doesn't need to become root to run commands.


1

Nice one-liner to remove sudo prompts for the current user sudo bash -c 'echo "$(logname) ALL=(ALL:ALL) NOPASSWD: ALL" | (EDITOR="tee -a" visudo)'



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