Hot answers tagged

17

This is actually a change that was recently included in a round of updates to Loki. It is briefly mentioned in their new blog post. A package called elementary-default-settings was updated to include a file located at /etc/sudoers.d/pwfeedback, which changes this behavior when entering a password in the terminal. If you wish to disable the feedback, try ...


11

What is sudo? sudo is running the following command with super user (root) privileges. That's basically the "administrator" you might know from other platforms. But why is this dangerous? Because with super user privileges, everything can be done on your system (as it has access to all files and your system's whole functionality). Remove every single ...


10

The commands (pkexec and sudo -i) in and of themselves aren't necessarily harmful. However they do different things in terms of granting permissions to apps. The sudo ("substitute user do") command allows you to run a process as another user, typically the root user. That is, by default it runs the process as a user with unlimited power. When you use ...


4

How can I add new user to sudoers file? If you wish to create a user with sudo privilege, execute, sudo adduser --ingroup sudo <username> If you wish to add an existing user, execute sudo usermod -aG sudo <username>


4

Okay, answering this rather than deleting it, just in case any other users get this confused like I did. Escalation is not necessary because this is installing apps as the user.


4

You need some user account with root priviledges to assign root priviledges to your own account. To check if you have any such account on your computer you can either check: a) Switchboard > User accounts b) checking the content of sudoers file in /etc/sudoers. However I see no way of checking it without sudo other than booting from liveCD and opening it ...


4

Sudo is used to give a normal user the permissions as an administrateur. One of the bad things that might happen to you Using a command to remove the whole / folder, for example sudo rm -rf /usr Removing an important application/drivers that will make your desktop unusable, for example sudo apt-get remove wingpanel* slingshot* How to reduce the danger ...


3

This can be achieved very easily by executing the following command in terminal sudo usermod -aG sudo <username>


3

I ran into a similar issue as the only administator of my machine. If you have another administative user, jena's answer is an easier way. I was really helped by an anwser on askubuntu about resting a lost administrative password. https://askubuntu.com/questions/24006/how-do-i-reset-a-lost-administrative-password Full steps : You need to boot into ...


3

One of these windows is using client-side decorations and the other is using sever-side decorations. There is a bug right now where client-side decorations include the shadow as part of the window geometry. Which technically it is, but the toolkit should compensate. Starting in Loki (because of the newer libmutter version), all windows will be drawn with ...


2

elementary OS Juno is based on Ubuntu 18.04 LTS. Any system update to core Ubuntu will have affect on elementary OS too. It means when Ubuntu 18.04 has been patched with latest sudo, it will be on elementary OS too. You need update your system then to get the new patch. From your shared link, It's telling: The problem can be corrected by updating your ...


2

So I solved my problem. It turned out I did not actually need to use sudo with these commands. What I did was to save the 2 commands (without sudo) in a bash script in my home folder. Then I gave it permissions to be executed by me and my group. Then, in elementary juno, I went to System Settings > Applications > Startup and clicked the + in bottom ...


1

You failed writing the command and also the command, even if you write it well, will not work for elementary as it is. To fix it and then install Brave through apt, open a terminal and write and execute: $ sudo rm -fr /etc/apt/sources.list.d/brave-browser* then $ echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/bionic main" | sudo ...


1

sudo add-apt-repository --remove ppa:mpstark/elementary-tweaks-daily && sudo apt update And if you want to use elementary-tweaks use this one. It's a fork of the one you've been trying to add but with more settings. By the way, you seem to be using Juno beta. You might want to update to the stable version since it's already out!


1

You can right-click on the Files icon in the dock and select New Window As Administrator from the menu. Once the window has opened you can paste your folder there. Or you can do it in a terminal with sudo as well: sudo mv original_folder /usr/share/themes


1

You have misconfigured your proxy. Go to Configuration -> Network -> Proxy settings. Change the actual value ( Automatic or 192.168.1.2) to "Direct connection to Internet" Save new settings and restart network from terminal with the command : sudo service network-manager restart Try apt-get update again


1

You want to run a script that does not need user interaction so there is absolutely no problem that it does not ask for the root password. Actually the file /etc/rc.local is run with root user privileges, so it should work (without asking a password). However, the preferred method to mount filesystems automatically is to append them into the file /etc/fstab....


1

I found the effective env variable: GTK_CSD=1 , you can verify: sudo GTK_CSD=1 ./yourprogram GTK_CSD="" ./yourprogram The GTK Client-Side Decorations enabled by: $ sudo grep -r GTK_CSD /etc/ /etc/profile.d/gtk-csd.sh:export GTK_CSD=1 $ dpkg -S /etc/profile.d/gtk-csd.sh elementary-default-settings: /etc/profile.d/gtk-csd.sh I didn't notice such size ...


1

I found that I have to put this line at the end..... I haven't had this problem when I was using openSUSE..


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