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)

2
votes
2answers
306 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
139 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
563 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
617 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
53 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
125 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
225 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
162 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
47 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
59 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
69 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
316 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
215 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
69 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
113 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
62 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
1answer
146 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
116 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
75 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
35 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
23 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
338 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 ...
2
votes
2answers
45 views

Independence between sudo and the instruction it receives as an argument

I don't understand why the directory dir1 isn't shown with the same colour. Although this may look unimportant, it seems to me that this is a violation of the so oftenly mentioned principle of ...
0
votes
1answer
962 views

How do I allow only one user to su to another account?

I have user-a and user-b on my box. How do I do a no-password su - user-b as user-a?
1
vote
0answers
50 views

How to allow local logins, after misconfiguring PAM in AD integration process

Aim: Create an R server that integrates into our Windows environment by setting up AD integration on an Ubuntu box Using: Ubuntu 12.04 LTS Following: ...
2
votes
1answer
2k views

Sudo command not found (su login not working)

I had a system crash and now my Ubuntu runs into low-graphics mode. All the fixes require running commands with sudo. When I try this I get sudo: command not found. When I try logging in with su - I ...
1
vote
1answer
725 views

Permission problem with SFTP in FileZilla

Recently, we installed Ubuntu Server on our servers this is very new for us. However, we tried to setup a apache2 server which did work. But the problem is that we can't configure apache and other ...
0
votes
0answers
65 views

How to make a command execuitable without root previlages? [duplicate]

I want to make some commands,such as ntpdate,shutdown etc, to execute without asking me for a password or without using "sudo" for "all users"(even normal users who have no sudo privileges) . I want ...
1
vote
3answers
8k views

how to remove symbolic link

i was doing sudo ln -s /usr/share/phpmyadmin /var/www/phpmyadmin but i accidentally typed something else. So now I want to correct it but it says symbolic link already exist. Please help, Thanks in ...
0
votes
1answer
431 views

Sudo or gksu for launching Sublime text 2?

I am new to using Ubuntu 12.04 and noticed two different ways of launching Sublime Text 2 via Terminal window, first being sudo and the other being gksu. Upon using both I noticed it's launching ...
0
votes
0answers
25 views

recover data from autoclean

I have used sudo apt-get autoclean command and sudo apt-get clean command but didn't knew that I'll loose all my data. Is there any way to recover that data?
0
votes
1answer
44 views

I have a problem where sudo does not work can you help me?

Basically I have been following steps on this website to mount my hard-drive properly and now each time I try to follow the first step it says: sudo: effective uid is not 0, is sudo installed setuid ...
1
vote
1answer
302 views

Sudo does not recognize my password anymore

The problem is happening on a remote server, so everything is done through ssh. I can login with my key, no problem here. I can change my password at will with passwd (which I believe shows that it's ...
0
votes
3answers
130 views

making nano always run as sudo by default

my problem is that i keep forgetting to write sudo before every time i use nano, and eventually what happens is i work on a file for a while and don't have permissions. i remember hearing somewhere ...
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 ...
3
votes
1answer
139 views

Accidentally deleted 'sudo'

I accidentally deleted the /usr/bin/sudo file. How can I restore it? I have found a thread on ubuntuforums, but it seems to be not solved.
0
votes
0answers
78 views

Fix permissions for /usr

While trying to install adobe-flashplayer as a normal user (via a setuid binary, don't ask!), I suddenly noticed that the owner for /usr had been changed to myusername.myusername! Apparently, this is ...
2
votes
3answers
442 views

Run a specific sudo command without a password in Ubuntu 13.10

I would like to run vagrant without being prompted for a password. As this post suggests, I used visudo to add the following line to my sudoers file. john-moz ALL=(ALL) NOPASSWD: /usr/bin/vagrant ...
1
vote
1answer
609 views

How solve “sudo: must be setuid root” on Joyent server

I have a server Ubuntu 12.04 LTS on joyent . Mistakenly I have changed the /user/* folders permission to 775. After this I cannot able to run any sudo command. Rebooting the system in recovery mode ...
0
votes
1answer
123 views

The shell/terminal does not allow/show my password [duplicate]

I am trying to install gfortran from a shell/terminal, I write sudo apt-get install gfortran and then in the next line appears sudo password from romulo. But when I try to write the password the ...
1
vote
0answers
26 views

I changed my password to none and now i cant authenticate nor even cant do sudo? [duplicate]

I have admin rights. Could there be a way to change back my pass. I dont even know whats my password is because I already set it to "none' now its very hard to install apps. Need help please ! Fast.
1
vote
1answer
233 views

Opening Sublime Text 2 from Terminal Problems

When I run the command sudo sublime from my terminal, it opens the program but will not allow me to run any other commands in my terminal until I close sublime text. This doesn't work because I'm ...
0
votes
1answer
41 views

BrokenCount <0 broken packages [duplicate]

So,ive have had problems with my packages and software center for sometime. I can't download any packages, and can't open software center obviously. It says that i have Brokencount <0. How can i ...
1
vote
1answer
30 views

Ubuntu Button Click Authentication

After upgrading from Windows to Ubuntu, I really like the operating system. The only point I find that is missing is the Windows functionnality to authenticate administrator permissions only by ...
0
votes
1answer
82 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
0answers
94 views

Is it possible to switch to root at login? [duplicate]

Say I login to my ubuntu server as user "Bob" and I want all my actions to be performed with sudo, is it possible to set some kind of permanent sudo automatically at login? Alternatively, if the ...
1
vote
3answers
137 views

How to use the sudo command [duplicate]

When I want to install a package with the sudo command I am asked to type in my password, but nothing shows up when I do.
0
votes
1answer
1k views

What is my sudo password? How do i find or change it? [duplicate]

connor@connor-Satellite-C55-A:~$ sudo add-apt-repository ppa:yannubuntu/boot-repair [sudo] password for connor: Sorry, try again. [sudo] password for connor: Sorry, try again. [sudo] password for ...
0
votes
0answers
19 views

“Unable to resolve host” each time I run `sudo` [duplicate]

I installed ubuntu 13.04 headless server into a cubieboard, and whenever I type sudo it says "unable to resolve host". I saw a few posts related to this and they suggested changing. etc/hosts, that ...
3
votes
2answers
734 views

history doesn't display as sudo user

On a few of my ubuntu installations, when I run sudo su and become sudo user, I can type history and view a list of commands run as sudo user. However, on my one ubuntu installation, for some reason ...