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)

0
votes
1answer
135 views

nvcc not found, but only when using sudo

I can't get ANYTHING working on linux. I'm trying to compile CudaMiner. sudo make: ypt-jane.o `test -f 'scrypt-jane.cpp' || echo './'`scrypt-jane.cpp mv -f .deps/cudaminer-scrypt-jane.Tpo ...
1
vote
1answer
65 views

I have a Password problem can some one help

I am a new Ubuntu user with 12.04 lts and stepped away from my computer for a month and forgot my password. Using this forum I attempted to reset my password using a root line upon booting in grub, ...
0
votes
0answers
35 views

Errors with apt-get update command [duplicate]

When I run a sudo apt-get update command I get these errors: FirstStrike@ubuntu13.04-desktop:~$ sudo apt-get update Hit http://dl.google.com stable Release.gpg Hit http://dl.google.com stable Release ...
1
vote
3answers
33 views

Can an infected DVD+RW affect a Linux PC?

Yesterday I started my laptop (using a sudoer user because I wanted to install one program) with an infected DVD + RW inside my laptop (it was recorded using aother computer that is infected and I ...
1
vote
0answers
30 views

Run eclipse project as root without running eclipse as root

How can one execute eclipse project as root without running eclipse as root? I'm writing a C++ program that uses Opencv and Boost libraries. When trying to execute the program, I get the following ...
3
votes
1answer
49 views

Creating executable file with password included in a script

How can I execute a sudo command by double clicking an icon ( password should be part of the script). Please help! Excuse if question is a blunder. My gnome-ppp is not detecting my BSNL modem when I ...
0
votes
1answer
43 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
2answers
326 views

How to add my user account to admin group (13.10 desktop) [duplicate]

I was trying to extract a web template into the hosting folder /docroot on the web service, which is working, however I do not have permission to complete the action. I cannot stand being locked out ...
1
vote
1answer
90 views

sudo, gksudo, kdesudo and their differences?

What is the difference between sudo, kdesudo and gksudo, and when should I use each? I know that sudo allows me to run both cli and gui functions, but I've seen other people on websites using kdesudo ...
0
votes
0answers
22 views

sudo: setresuid() [0, 0, 0] -> [117, -1, -1]: Operation not permitted

I am not able to login as super user. Here's the output of setresuid(): sudo: setresuid() [0, 0, 0] -> [117, -1, -1]: Operation not permitted
0
votes
2answers
49 views

What is sudo? I can't access to it [duplicate]

I am very very new to all of this. I get it that sudo is some kind of authorisation. When it asks for the password, I can't type anything. EDIT: OMG GUYS THANKS. I just realized that I might have ...
0
votes
1answer
102 views

How do I add a standard user into sudoers' file using `echo`? [duplicate]

I am using Ubuntu 12.04 and I was doing through a terminal tutorial. There was explained about echo command and he mentioned something about adding your name to the sudoers file using echo >>. I ...
1
vote
1answer
104 views

setting PATH to /etc/profile or /etc/environment does not work with sudo

I want to launch Intellij IDEA IDE via sudo idea.sh. sudo because IDE needs to manupulate files from /etc/share. idea.sh is placed at /home/<username>/<path>/bin/idea.sh. I tried to add ...
1
vote
1answer
69 views

Cannot add ppa for gvfs-mtp

I am a total newbie concerning anything to do with Ubuntu/Linux. I am running 12.04 on VM Player. I am trying to connect my HTC One (Android 4.3) to Ubuntu, and looking online has told me to do: ...
0
votes
0answers
37 views

Changed user password, can log into computer, but can no longer issue sudo command

I am currently running Ubuntu 12.04 and I recently changed my account password. Before the password change, I was able to run commands via sudo when necessary while using my old password with no ...
0
votes
0answers
11 views

Wrong Scrollbars - sudo and SSH

I prefer the overlay scrollbars to the default Gnome scrollbars. These work fine except in two cases: Using sudo, like sudo synaptic. Using SSH to open an X application on a remote server. Or in ...
0
votes
0answers
58 views

sudo not working due to incorrect permissions

I broke my ubuntu server by typing the command chmod -R 777. Im trying to get it back to normal. Problems: When I try to use sudo, I get the error: sudo: unable to open /etc/sudoers.d/README: ...
0
votes
0answers
26 views

sudo part of tutorial for bootable usb

I've been trying to create a boo-table usb stick with Ubuntu on my macbook pro. I got to the part of the tutorial where it said to use the following command: sudo dd if=./target.dmg of=/STORE\ N\ ...
0
votes
3answers
37 views

sudo cannot do cd [duplicate]

I found the strangest thing sudo cd $pwd sudo: cd: command not found I am able to cd as a normal user.It seems that PATH is not set properly for su. How do I fix that?
4
votes
2answers
286 views

How do I make a sudo command start at start-up with a 1 minute delay?

I would like to make a sudo command (sudo service smbd restart) run after 1 minute of being logged on. How would I go about doing this? P.S. This is a system with no monitor, mouse, keyboard or ...
2
votes
1answer
39 views

Aliased rm, how do I also alias sudo rm

I aliased rm to a echo use del or full path to rm to save myself from accidental rm (just lost my $HOME to it). But sudo rm still uses /bin/rm. How can I alias it to also print same message? PS: del ...
0
votes
0answers
38 views

Using xcfe4 to run apps requiring sudo user

Total newb. I installed Ubuntu 13.10 desktop to use as a server to play with on my home network. Intended to use RDP from Windows and found Unity 3D made this impossible (blank screen) so I've ...
0
votes
1answer
83 views

Default sudo settings did not require password

This is for a 12.04 ec2 instance. In the man pages it says the default should be to require a password when using sudo. I thought by setting the ubuntu's account password (in case it wasn't set) ...
3
votes
1answer
62 views

What is the difference between sudo -i and sudo -s

I am new ubuntu user and found some people telling me to use sudo -i to get to root and others tell me to use sudo -s. What is the difference? Which one do I use and when?
2
votes
2answers
45 views

Issue when sudo something after a hostname change

I was tired of my system's name so i decided to change it. I gksudo gedit /etc/hostname and changed my first and never touched computer name to a new one. Then now when i sudo something like sudo ...
1
vote
1answer
186 views

Mount samba share at login using startup script (not fstab)

Background I'm trying to automatically execute a command that mounts a password protected Samba share when my user logs in. The catch is, I share my laptop with another user, and I don't want the ...
1
vote
1answer
39 views

How can I as a root user manage folder owned by other users using ubuntu desktop?

I need to copy files/folder to a folder but that is owned by another user, infact a installed application by me. So how do I get the rights to copy files/folder to that folder ? I want to do it via ...
2
votes
3answers
838 views

Can't open Gedit as root

When I run sudo gedit /path/to/some/random/file I get the following error ** (gedit:6262): WARNING **: Command line `dbus-launch --autolaunch=7f8731869e1c690b8205727e0000000a --binary-syntax ...
2
votes
2answers
168 views

Editing Sudoers to avoid typing a password for iwconfig command [duplicate]

I wanted to follow this guide to avoid typing a password every time I want to use "sudo iwconfig" command http://ubuntuforums.org/showthread.php?t=1132821 I tried the steps with "apt-get" command ...
1
vote
2answers
91 views

Root user and Super User

How is being the root user different from being the super user? If it is different anyways, is there a way to use the shell as the root? Is there a root password for that? Is it different from the ...
-1
votes
3answers
147 views

How to use Vlc with sudo privileges?

I'm trying to use Vlc with sudo but it doesn't work. This is the error: VLC is not supposed to be run as root. Sorry. If you need to use real-time priorities and/or privileged TCP ports you can use ...
0
votes
1answer
321 views

Vagrant Up and annoying NFS password asking

Sorry for the language mistakes I've made. I'm trying to prevent vagrant asking the password when it mounts shared folders by NFS: [server] Exporting NFS shared folders... Preparing to edit ...
0
votes
1answer
43 views

Enable password asterisks when run command sudo? [duplicate]

when I run sudo command , so when I mess up my password, I have to start over from scratch, is there a trick to enable password asterisks so I know how letter I have typed?
0
votes
0answers
86 views

Error installing rails 3.2.14

I get the following error while installing Rails 3.2.14: With sudo apt-get install rails apt 0.8.16~exp12ubuntu10.16 for amd64 compiled on Nov 15 2013 15:33:57 Supported modules: *Ver: Standard .deb ...
0
votes
1answer
115 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 ...
1
vote
0answers
86 views

cannot execute script with sudo no password

I would like to create a batch file that will connect via ssh to my ubuntu server and run a script. My batch file works by using plink, I can see that the call to my script is ran but then I'm asked ...
0
votes
1answer
38 views

The effect of putting sudo -i command in /etc/fstab

I have a computer (computer A) which only can be accessed by ssh from another computer (computer B) within internal network. ssh username@10.**.**.** FYI, I do not activate root account in computer ...
0
votes
1answer
46 views

Why do I need administrative privileges to use chsh?

I was working on a Ubuntu system where I did not have administrative privileges, and I couldn't change shells (from tcsh to bash) using chsh. I solved the problem writing in the .tcshrc to open bash. ...
0
votes
1answer
53 views

sudo nautilus vs su

As i have learnt that being a super-user in linux/ubuntu we can unlock those task which is being hide out from other user so to avoid messing with the files and directories.Now i want to know upto ...
2
votes
2answers
219 views

iwconfig doesn't report Link Quality unless run as sudo

I'm running Ubuntu 13.10 on a late 2013 Macbook Pro Retina (booted via Refind). My issue is that running iwconfig doesn't output Link Quality or Signal Level unless run as sudo. me:~$ sudo iwconfig ...
1
vote
1answer
97 views

Cannot install Spark IM 2.6.3, getting permission denied error even though I am root

I am trying to install Spark IM in my Ubuntun VM, however I am running into all kinds of problems. The steps I have taken so far were: Download the tar.gz file from the website Unpack it cd ...
0
votes
1answer
46 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 ...
1
vote
0answers
83 views

Forever cannot be installed

While trying to install Forever using this command: sudo npm -g install forever I'm getting this error: npm WARN engine hawk@0.10.2: wanted: {"node":"0.8.x"} (current: ...
1
vote
1answer
36 views

Strange terminal navigation when logged in as new user

I am not even sure how to ask this properly.. I am using EC2 Ubuntu 12.04 I added a new user sudo useradd -g admin admin sudo adduser admin sudo Changed shudders so I can use new user without ...
1
vote
0answers
83 views

vim colorschemes don't appear correct when using sudoedit

I've been trying to be a good little sysadmin and use sudoedit, instead of sudo vim, or sudo -i;vim, when making changes to root owned files (ex /etc/profile), but my vim colorscheme doesn't seem to ...
1
vote
1answer
75 views

“sudoing” strategy for python script on ubuntu

I'm creating a small router program (GTK frontend) in python for some of our less CLI savvy users. I've developed the glade front-end and able to connect the various signals. Now, I'm facing only one ...
0
votes
1answer
56 views

sudo instead of root sometimes asks for password

Ubuntu 13.7 I'm not set up as root and don't want to be. But sometimes /not always/ but sometimes when I try to run a sudo command, I'm asked for my password. I type in my user password, since I ...
0
votes
0answers
34 views

I attempeted to format ubuntu

I was trying to format ubuntu so i selected Restore to Factory Settings but nothing happened so i deleted all the partitions including the admin so now i am trying to make the partitions using guest ...
0
votes
0answers
22 views

How to autorun bash script in terminal as root? [duplicate]

I'm trying to make this script to autorun at startup, it needs root priviges, but I'm trying to run it without typing in my password. I have tried to add it with crontab, but nothing seems to happen. ...
1
vote
2answers
168 views

Xubuntu visudo sudoers edit not working

I have been trying to specify a script that I would like to run without being prompted for a password. After a number of google and stack searches and a number of different syntax changes, I still ...