Hot answers tagged

18 votes
Accepted

How to disable terminal feedback when writing password for sudo?

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 ...
user avatar
11 votes

Why is running commands with sudo dangerous?

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? ...
user avatar
  • 2,872
10 votes

What about sudo makes it less secure than pkexec?

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 ...
user avatar
  • 9,724
4 votes
Accepted

user is not in the sudoers file. This incident will be reported

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 ...
user avatar
  • 1,187
4 votes

Flatpak and Sideload possible serious bug

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.
user avatar
4 votes

I can't use sudo commands!

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 ...
user avatar
  • 673
4 votes

Why is running commands with sudo dangerous?

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 ...
user avatar
3 votes

I can't use sudo commands!

This can be achieved very easily by executing the following command in terminal sudo usermod -aG sudo <username>
user avatar
  • 1,187
3 votes

I can't use sudo commands!

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 ...
user avatar
3 votes
Accepted

GTK+ Incorrect Window Size

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 ...
user avatar
  • 9,724
2 votes

How do I get a vulnerability patch for sudo?

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 ...
user avatar
  • 21
2 votes
Accepted

How to run sudo commands on start up?

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 ...
user avatar
  • 59
2 votes

running evince from root is so slow

First and foremost, it should not be necessary to elevate the Evince GUI to root, and doing so could be a serious security risk. You should ensure that the files you need to manage have the proper ...
user avatar
  • 66
1 vote

Accidentally created a bad source list- How to delete it?

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 ...
user avatar
  • 1,942
1 vote

How do I remove a broken apt repo?

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 ...
user avatar
  • 1,974
1 vote
Accepted

How to move folder in /usr/share/themes

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 ...
user avatar
  • 4,492
1 vote

Terminal sudo apt-get update

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 ...
user avatar
  • 2,268
1 vote

how to automatically run a script as root to mount a network share

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 ...
user avatar
  • 4,492
1 vote

GTK+ Incorrect Window Size

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/...
user avatar
  • 445
1 vote
Accepted

My sudoers setting is not working

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

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