Questions related to the sudo command that allows users to run programs with the privileges of a different user (normally the root user).

learn more… | top users | synonyms (1)

1
vote
1answer
441 views

Adduser: group sudo does not exist

I am able to login to my account but can't do anything related to superuser now. Updates, sharing, sudo and all things say authentication failed. I tried to correct that by going in recovery mode and ...
1
vote
1answer
517 views

cannot start graphical programs with sudo

i have a fresh ubuntu 12.04 installation with encrypted home partition. i copied over my home folder from another computer. when i try to launch graphical programs via sudo i get errors like the ...
1
vote
1answer
108 views

How do I perform a backup of sudoers file?

After reading the following two posts: Trying to install an openVPN GUI messed up sudoers Standards accounts are able to get root access using sudo without password request I would like to learn ...
1
vote
1answer
2k views

Having Error message while using the “sudo nautilus” command in terminal

I am using Ubuntu 12.04 LTS (32 bit). When I run "sudo nautilus" command in the Terminal, this output appears: tushar@tushar-G41M-Combo:~$ sudo nautilus [sudo] password for tushar: Initializing ...
1
vote
1answer
521 views

Upgrading from 12.10 to 13.04 -> dpkg: error processing sudo (--configure)

Here's the deal and reason I'm asking for your help. Last night I went on upgrading my Xubuntu 12.10 installation to 13.04, so at tty1 I run the command sudo do-release-upgrade and everything ...
1
vote
1answer
293 views

Problem with Login Screen and Sudo Comand

I'm new to Linux world, infact I have installed Ubuntu 12.04 yesterday on my computer. I have Dual-COre processor, 2GB RAM, 500GB HardDisk, No graphics card and XP in parallel. I'm facing So many ...
1
vote
1answer
508 views

12.04 sudo testparm -s smb.conf.master >smb.conf fails on permsissions

When I run sudo testparm -s smb.conf.master >smb.conf bash: smb.conf: Permission denied I just need a simple samba configuration to share files among 4 linux machines behind a router on a very ...
1
vote
1answer
403 views

installing apache 2 in ubuntu

Hello I am new to ubuntu. I am trying to install Apache2 using "sudo apt-get install apache2" command.I have set my java path as per rules but still its showing me this following errors: sha256sum ...
1
vote
1answer
289 views

Only user can no more sudo and root account in safemode has password

I accidentally commented the line Members of the admin group may gain root privileges: %admin ALL=(ALL) ALL in /etc/sudoers file, now i am unable to sudo into my system using the only available ...
1
vote
1answer
877 views

Sudo user without the permission to edit sudoers

How can I add an user to sudoers list with all privileges, but that user should not be able to edit the sudoers file ?
1
vote
1answer
189 views

How to dial modem without sudo

I am using ixconn as modem manager because it has many more features than the default network manager. But it cannot be used without root privileges (i.e., sudo). How can I use ixconn to dial my ...
0
votes
1answer
35 views

Can't use sudo, gedit, i'm getting error in upgrading

sudo: unable to open /var/lib/sudo/username/7: No such file or directory W: Not using locking for read only lock file /var/lib/dpkg/lock E: Unable to write to /var/cache/apt/ E: The package lists or ...
0
votes
1answer
32 views

problem occuring while creating .exe file

I'm trying to run test problem in the mfix but got struck with an error sh: 0: Can't open ../../model/make_mfix. bhaskar@admin2-Precision-T7600:~/mfix/run/tests/Added_Mass$ sh ../../model/make_mfix ...
0
votes
1answer
28 views

Lost the root privilege after try to add the user to a group

My user lost root privilege after try to add the user to a group. It's looks like the "usermod xxxx --groups ..." change the from the root group to the new one, it's a mistake but the thing is my user ...
0
votes
1answer
23 views

wifi trouble shooting

I'm quite new to Linux. I am currently using Ubuntu on my HP Celeron laptop. I've been having trouble with my wifi on my laptop. I've tried pressing the button to activate my wifi but it doesn't seem ...
0
votes
1answer
56 views

start Ubuntu 14.04 with terminal

I have a system with a dual-boot of Windows 8.1 32-bit and Ubuntu 14.04 64-bit. Ubuntu usually works but after I became root with the command "sudo su" and rebooted my PC it had a Black screen after ...
0
votes
1answer
63 views

kdesudo does not work in Kubuntu 14.04

I recently installed Kubuntu 14.04, after which kdesudo seems to work only half the time. For example: $ kdesudo systemsettings kdesudo(29361) KDESu::KDESuPrivate::KCookie::getXCookie: No X ...
0
votes
1answer
129 views

setresuid operation not permitted when calling via php

I've got following Problem: my Apache and PHP script are running as user www-data. I want to call a script that can only be executed as root, so I added a new File to /etc/sudoers.d to allow this ...
0
votes
1answer
20 views

PROBLEM : when Update my system (in directory).

When I type sudo apt-get update in terminal that shows error like this E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory ...
0
votes
1answer
44 views

Starting mysql server problems

I am trying to get mysql (server?) to start. This is what I keep on getting: Rather than invoking init scripts through /etc/init.d, use service(8) utility, e.g. service mysql start THEN when I do ...
0
votes
1answer
56 views

Would like to use different passwords for initial login and sudo for encrypted home folder

I just encrypted my home directory using ecryptfs and the instructions from How to Encrypt Ubuntu Home Folder After Installation. In order to really benefit from the encryption, however, I needed to ...
0
votes
1answer
46 views

Setup SSH keys to login as super user

I have a random question. I am new to SysAdmin side, so not sure if I am doing it right way or not. We have a sudo user setup called wladmin an host1. I login to host 1 as myself, then do following ...
0
votes
1answer
100 views

Sudo won't accept my password even with Caps Lock off and the right password

First, I just want to say that I did check for caps lock and I know for a fact that it was the correct password and everything was fully correct. I even entered the sudo command a second time and ...
0
votes
1answer
104 views

corrupted sudoers file, Ubuntu 12.04

My /etc/sudoers file is somehow corrupted and all the users who have sudo privileges are unable to execute ANY command with sudo prefix to the command ! sudo: parse error in /etc/sudoers.d/README ...
0
votes
1answer
69 views

Run “sudo service udev reload” without root priviledges

I have a script that occasionally needs to run the command "service udev reload" but cannot as it needs root access. I don't want to stay logged in as root all the time, so I'm wondering if there is a ...
0
votes
1answer
231 views

How to make sudoreplay work?

I recently discovered sudoreplay whose manpage says that it replays sudo session logs. But I am not sure how do I make it work. For whatever little commands I ran it kept on saying that ...
0
votes
1answer
96 views

Notify-send won't show notification unless run with sudo

I have just tried to use notify-send on my 13.10 machine and can't get it to work without using sudo with it. I don't know what details can I provide with this issue. My notify-osd version : $ ...
0
votes
1answer
295 views

Clam TK and sudo freshclam

I have clamtk! Should I set clamtk for manual or automatic updates? Clam says that if my computer is receiving automatic updates then I should set the wizard at automatic I have no idea if my ...
0
votes
1answer
86 views

adding sudo permissions to NIS clienadding sudo permissions to NIS clients

I've configured a couple of ubuntu 12.04 servers with NFS and NIS like it was described in https://help.ubuntu.com/community/SettingUpNISHowTo and in ...
0
votes
1answer
22 views

Need Help regarding Finding tools

When I type command find / -name ??.conf the output is a lot of files such as : find : /home/simmer/local/share/gvfs.metadata : Permission Denied Don't get the desired result, And if I use the ...
0
votes
1answer
93 views

how to make /usr/lib owned by root again

I chowned -R username /usr/lib and now i cannot sudo or do any thing really due to sudoers.so belonging to username. How do i fix this and make /usr/lib owned by root again?
0
votes
1answer
135 views

Howto run jupiter script as superuser in lubuntu-rc.xml?

I'm trying to bind to my asus eee hotkeys couple of jupiter functions to work as on Windows. The problem is that I have to run those as superuser. Under terminal scripts are working fine so I put in ...
0
votes
1answer
115 views

problem in uninstall chrome. i got error so that i could open ubuntu software center too

sir i installed chrome by typing following commands: sudo add-apt-repository ppa:a-v-shkop/chromium-dev sudo apt-get update sudo apt-get install chromium-browser then i got big error i can't ...
0
votes
1answer
1k views

sudo does not work in GUI after upgrade to 13.10

On 2 completely different machines I have the same problem after upgrading from 13.04 to 13.10: All programs/task requiering sudo permissions (software updater, starting synaptic, installing programs, ...
0
votes
1answer
44 views

Visudo not working for specified files

I am trying to give sudo ability without the need of passwords to specific files. So far I have: employee ALL=(ALL:ALL) NOPASSWD: /home/file_name The file has a simple chmod command, in the bash ...
0
votes
1answer
164 views

cannot access tor ownership

I've tried the recommended options to gain ownership of tor browser and am still not successful. This is the script I got: sudo chown $USER-Rv~/.tor-browser chown: missing operand after ...
0
votes
1answer
116 views

Unable to change permisions on windows partition disk

I need to change permissions of files in my /media/MAVEN/Projects MAVEN is my windows disk partition. The permissions on the Projects folder are: :/media/MAVEN/Projects$ ls -la \total 340 drwxrwxrwx ...
0
votes
1answer
63 views

Program interface is ugly when started by script

I am starting Qt-Linguist in a bash script via sudo linguist-qt4 $PathToParentDir/translate_$lang.ts I could also use gksu instead of sudo but this would add more dependencies since most people ...
0
votes
1answer
771 views

How do I allow anyone to view my files on my network?

I have created a little server on Ubuntu 13.10, I've shared certain folders using SAMBA. On my WINDOWS PC my username and password is the same as the username and password of the server, so I'm ...
0
votes
1answer
90 views

How to modify and give acces to user in sudo file

when I am trying to install vim using sudo apt-get install vim, its showing sudoers file error. Please help me out.
0
votes
1answer
41 views

Having issue with creating a script

Trying to create a simple script but I'm not having any luck. I created a file with nano, saved it. Then: sudo chmod +x filename The script is: #!/bin/bash #script to restart networking after ...
0
votes
1answer
95 views

SU, SUDO and Upgrade problem

i have a big problem with my Ubuntu PC. When i try sometigng need sudo or su, nothing is working and the OS Upgrade too, when i write the root password to the su command i have a "autentication ...
0
votes
1answer
536 views

How to install vnc server so I can have complete control on my Ubuntu Server?

I installed ubuntu server 12.04. I installed gnome desktop on that (GUI essential for my purpose). Now I want to control the server remotely. I tried following things and not very successful : ...
0
votes
1answer
181 views

sudo apt-get update leads to crash of terminal application

I try to run sudo apt-get update and the terminal freezes and a message pops up: Ubuntu experienced an internal error... I am trying to work with OpenFOAM and all the times is asking me to update ...
0
votes
1answer
972 views

sudo command not working in cron

I have a small script and I want to run it as user1 in cron. If I am logged in as user1 and execute the script it works just fine, but the moment I try to run it in cron it does not work. If I run the ...
0
votes
1answer
191 views

Connecting to wrong IP

sudo apt-get update When I try this command on terminal it says: 0% [Connecting to 107.108.85.10 (107.108.85.10)] [Connecting to 107.108.85.10 (1 Which I'm not sure is which IP... It's definitely ...
0
votes
1answer
59 views

how do I get dhclient to start when I login and start as root?

I've messed up my ubuntu. I uninstalled something that network-manager depended on and now I have to start the dhclient manually every time I log in. I've got a script that does the sudo dhclient eth0 ...
0
votes
1answer
161 views

How can I run an autorun file as root with no gui

I set up a server using ubuntu with no gui. I need root for some tasks that I want to autorun on this server. Normally I would just use gksudo because autorun programs never seem to work with su or ...
0
votes
1answer
250 views

sudo doesn't work on ro filesystems

When for whatever reason my home partitions gets mounted read-only, sudo fails: /usr/bin/sudo: Input/output error From what I understand, it seems to be trying to touch ~/.sudo_as_admin_successful ...
0
votes
1answer
506 views

KDE app theming using sudo in Unity

When I run Kontact as another user using gksudo, gksu, or kdesudo, the theming is all messed up: When I run Thunderbird as another user, it works fine! I'm running Ubuntu 12.10 using the Unity ...