Hot answers tagged root
That message is telling to use sudo, you need to do sudo poweroff More info look at manpage
I'd guess that at some point, files in your home directory became owned by root (because of misuse of sudo). Try chowning them back: sudo chown $USER:$USER ~ -R
Having an administrative account on a Linux machine doesn't mean that every command you execute is automatically run with full permissions. This would be unwise and may even make your system unusable. To run a command with full access to the file system, you can add sudo before the command. This will run the following command as the actual root user, so it ...
By default, the Root account password is locked in Ubuntu. This means that you cannot login as Root directly or use the su command to become the Root user. However, since the Root account physically exists it is still possible to run programs with root-level privileges. This is where sudo comes in - it allows authorized users (normally "Administrative" ...
Another technique is to copy using tar + ssh instead of scp: tar -c -C ./my/local/dir \ | ssh firstname.lastname@example.org "sudo tar -x --no-same-owner -C /var/www"
You should send the notify message as the normal main user of your system, (ususally ID 1000): #!/bin/bash MAINUSER=$(cat /etc/passwd|grep 1000|sed "s/:.*$//g") su $MAINUSER -c $"notify-send -i \"/opt/say/logo.png\" \"Title\" \"Message\"" (not sure, how to call it like this in your python script, but I hope it helps)
You can't run apt-get without root privileges, try the same command with sudo: sudo apt-get install dh-modaliases
For 32 bit system: Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, run the command below to update your package lists: sudo apt-get update Then open Ubuntu Software Center, search for and install the package flashplugin-installer. It extracts the 32-bit Flash player library from the adobe-flashplugin package (which is retrieved from ...
Only top voted, non community-wiki answers of a minimum length are eligible