New answers tagged

1

You can add 'nautilus' to the list for the blacklist key under com.canonical.unity-gtk-module in dconf. # gsettings set com.canonical.unity-gtk-module blacklist "['nautilus']" This will force the menu bar to be shown inside the window, and not integrated into the title bar or top panel.


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)'


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 ...


0

On the remote machine type sudo passwd This will allow you to set the root password on the remote pc. You can then type on your local machine ssh-copy-id root@remotepc After which you will be prompted with a password prompt where you will enter the password you created earlier. From then on when you type ssh root@remotepc You will not be prompted ...


0

Looks like this this question may provide an answer. I need to "log in as root using sudo -s then use passwd command to set root password." SOLUTION: I used sudo su - root and passwd which worked.However this lead to a permission denied error when trying ssh -l root slave3 , subject of a new question.


0

It may Broke your Ubuntu Installation & if that happens do Ctrl + Alt + F2 after selecting default option and then trucate -s 0 /etc/lightdm/lightdm.conf and then Reboot


0

ssh-copy-id is not magic! # where is ssh-copy-id? $ type -p ssh-copy-id /usr/bin/ssh-copy-id # What is ssh-copy-id? $ file $( !! ) file $( type -p ssh-copy-id ) /usr/bin/ssh-copy-id: POSIX shell script, ASCII text executable Next, you need to read ssh-copy-id, find out what ssh-copy-id does, and find alternate ways to accomplish the same tasks. If a shell ...


-1

Just use chromium, you extract it from zip and, in my case, ./chrome --no-sandbox


0

Copy the .desktop file from /usr/share/applications (or just add it to desktop and then create a copy) so that you don't have to edit all from the start and then: First option Change the Exec= line to: Exec=terminator -e "sudo -i" This will ask for your password when you open terminator. Second option Install gksu (sudo apt-get install gksu) and ...


0

Login with root (su) and run the following command chown root:root /usr/bin/sudo && chmod 4755 /usr/bin/sudo


0

set root password using following command sudo passwd


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.


0

Hi just follow this steps: set android vars Initially go to your home and press Ctrl + H it will show you hidden files now look for .bashrc file, open it with any text editor then place the lines below at the end of file: export ANDROID_HOME=/myPathSdk/android-sdk-linux export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools reboot using ...


0

As stated, you can't resize partitions while you are using them. To resize root partition, boot via Ubuntu LiveUSB/DVD or dedicated GParted Live CD/USB. If you use Ubuntu liveUSB/DVD, open the terminal and type sudo apt install gparted Then, open gparted and shrink (top menu - Partition->resize) the partition you don't need to be so big (not SWAP!) and ...


0

You can't resize the root partition while you're in Ubuntu. You must use the GParted Live CD/USB, and then, according to your picture, shrink sda5 and grow sda9


0

Finally I have been able to solve my problem. In terminal you have to type: systemctl start mysql.service systemctl enable mysql.service /usr/bin/mysql_secure_installation That's it all done


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 ...


0

O.k. since you're able to TTY login do the following: sudo chown -R <your-user-name>:<your-user-name> /home/<your-user-name> After that make sure .Xauthority is renewed when you next log in delete it or rename it. mv /home/<your-user-name>/<your-user-name>{,.disabled} But if you're indeed changed the owner of all files ...


0

Jetbrains IDE's have a deployment module that will handle the permissions changes for you so you don't have to weaken security, there is a specific option for "in-place server" that handles your scenario. https://www.jetbrains.com/help/phpstorm/2016.1/deployment.html


0

Being the root user is not the problem. It looks like the tutorial contains a mistake. The --strip-components part of the command is actually part of the tar command found in the previous step. The error message you're receiving is actually telling you that the option you're entering isn't one of the supported options in the list. The part about being the ...


0

Change the permission of these folders like this and now you can su to another user. chmod 755 / chmod 755 /bin chmod 755 /lib


0

userdel has an option -f to force removal. userdel would probably just delete the passwd entry and home directory, without affecting the actual root account. To be safer, I might be inclined to hand-edit the password file to remove the entry for your new root user, then hand-remove new root user's home directory. You may have a command on your system named ...



Top 50 recent answers are included