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
4answers
4k views

How to enable root password in Ubuntu 12.04

Whenever I use the sudo su command to work as root, it does not ask my root password. How can I make it prompt for root password?
1
vote
1answer
542 views

How can I fix “dpkg: error: parsing file”?

... and what is sudo and where/how would I type the scripts I've seen in some related answers? Yes I am very new to Linux, and am using Ubuntu 12.04 LTS. All updates are failing with ...
2
votes
2answers
147 views

Problems with Sudo commands

I've been trying to install lamp server onto my ubuntu 12.04 LTS and i cannot get the sudo command to work. Been getting the following error everytime i hit/install anything with sudo.
0
votes
0answers
25 views

Sudo command is not working [duplicate]

I'm new to ubuntu. i'm using ubuntu 13.04. my sudo comand is not working. Can anyone help me.? $sudo sudo: unable to stat /etc/sudoers: Permission denied sudo: no valid sudoers ...
0
votes
1answer
104 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 ...
2
votes
1answer
73 views

Updater is not upgrading

I am using Ubuntu 12.10. I tried to upgrade it using the Software Updater, but it is not working even after pressing Upgrade button. Then I tried to upgrade through the terminal using the command sudo ...
3
votes
1answer
98 views

What can a user do without sudo?

I'm setting up a server and want a user to only have access to his own files. I do a regular adduser command: sudo adduser username And give the user a password. Then I log in to it via ssh and see ...
0
votes
2answers
489 views

ubuntu software center + 'sudo' not working [duplicate]

I am having problems with the software center and typing Sudo into the terminal. I am a very new user, I'm not sure what is wrong. ubuntu 12.04 when I type in something like sudo apt-get install ...
1
vote
2answers
332 views

Can I copy 2 partitions at a time with sudo dd

I have copied Windows from one hard drive to another with SUDO DD many times successfully. It was always from a smaller SSD (120 GB) to a at least same sized or bigger SSD. I could always copy the ...
1
vote
1answer
618 views

How can add the line into etc/sudoers file?

I am getting this error: visudo: >>>/etc/sudoers:syntax error near line 29 <<< visudo: >>>/etc/sudoers.tmp unchanged visudo: >>>/etc/sudoers:syntax error near line ...
0
votes
2answers
2k views

Permission denied for all sudo comands

I just typed "sudo chmod 770 ." on my /usr/bin directory by mistake [acc]:/usr/bin$ sudo chmod 770 . Now every time i run a sudo command I get a "Permission denied" error [acc]~$ sudo bash: ...
3
votes
2answers
10k views

Launch Sublime Text 2 from terminal [duplicate]

I am new to Ubuntu and is trying to configure my environment so i can launch Sublime Text 2 directly from the terminal. I followed the solution on this post but no luck so far. These are steps I did ...
1
vote
1answer
955 views

Sudo su setting default password automatique [duplicate]

I'm a newbie linux (Ubuntu) user and i have a question to sudo su, I always like use the root in the shell for no annoying privilgies errors :) But the problem is sudo su always ask me for a password ...
0
votes
3answers
173 views

why am I being denied my rights in sudo?

why am I being denid my rights to delete directories even I created in sudo now I cannot rid myself of it -- yes it is empty did this to insure I have sudo in the accounts: userz@bw:~$ sudo adduser ...
-3
votes
1answer
363 views

`sudo userx` returns `sudo: userx: command not found` , why?

just installed this Linux disto ver 13.04 installed Xfce 4.0x got it running just fine then for some reason that good'O sudo stopped working all by itself why? I now type in sudo and this is what I ...
0
votes
1answer
185 views

Cannot undo sudo chmod 655 /

I've accidentally run 'sudo chmod 655 /', and now I cannot undo this operation again because I cannot access sudo anymore. I'd actually wanted the permission to be set to 755. Is there any way I can ...
0
votes
5answers
148 views

kill sudo with specific time every time

we all know that in Ubuntu sudo password will be auto saved for 15 minutes and expires after that. But I want to make it for quick expire. I mean I dont want to change any settings and when I ever I ...
1
vote
1answer
21 views

Issue with Rosewell network adapter

When running the install.sh script for my roswell network adapter RnX-N180UBE I get an error Cannot change ownership to uid 1007, gid 501: Operation not permitted If anyone has any experience with ...
2
votes
1answer
724 views

how to use my vimrc file when edit file width sudo command

I found when i use the command sudo vim /etc/www/main.wsgi the vim said: neocomplcache disabled: "sudo vim" is detected and $HOME is set to your user's home. You may want to use the sudo.vim ...
1
vote
1answer
2k views

Sudo is not working

My sudo is not working. How to fix? I am using 13.04. I searched through google over an hour and haven't found anything effective. sudo -i sudo: effective uid is not 0, is sudo installed setuid ...
0
votes
1answer
52 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
0answers
17 views

Merged etc, home, and var to copy user accounts and broke system how do I regain root privilages (failed user account migration)

I merged etc, home, and var to copy user accounts and broke system how do I regain root privilages failed user account migration
0
votes
1answer
191 views

Adding users and groups

I am new to this and I am trying to create users and groups. So far, I have the following: sudo adduser Alice sudo adduser Bob sudo adduser Mike sudo adduser Bill #create groups sudo groupadd ...
1
vote
2answers
391 views

sudo doesn't ask for password anymore

I did not notice it but it has been quite a while since I entered the password for using sudo priviledges. Here is my /etc/sudoers file: # # This file MUST be edited with the 'visudo' command as ...
0
votes
0answers
260 views

Python script works fine with root but doesn't work with sudo

I have a python script that I run as root and it works fine. When I try to run it with another user (not root) I use sudo command, but it doesn't work. As root, I have typed: /usr/bin/python ...
1
vote
1answer
3k views

Can't save files in /var/www using lamp installed with tasksel

I just installed lamp with tasksel and it works. But inside /var/www I can create files only with sudo from terminal, I don't know why. In another Ubuntu installation I didn't have such problem. I ...
1
vote
2answers
634 views

How can I change owner back to root?

So, I did a stupid thing... I was installing some software (Java SE 7, if you must know) from a tarball, and I got tired of using sudo, so I went and changed the owner of my /usr directory to myself. ...
0
votes
0answers
276 views

sudo password for parallels?

I'm having a problem in Parallels 8 with Ubuntu 12.04 as my guest OS. Ubuntu asked me for a UNIX password when I first logged on, and I typed in my desired password. However, any time I try to use a ...
0
votes
0answers
24 views

How to create user with sudo privileges from shell script? [duplicate]

I am writing a shell script that will create a user that I will use for deployments. I want to add that user to be able to use sudo without a password. How can I create this user from a shell script ...
-1
votes
3answers
223 views

Lost/Reset Password [duplicate]

Trying to reset password. At root@ubuntu:~#, I enter passwd username and press enter. I then get Enter new UNIX password:. At this point I can not use the keyboard to enter anything. If I press ...
4
votes
1answer
568 views

What does this code do if entered in a terminal?

sudo add-apt-repository ppa:langdalepl/gvfs-mtp sudo apt-get update Then, launch Software Updater (previously known as Update Manager) and install the available updates. After you update everything ...
0
votes
0answers
33 views

How to bypass sudo when it asks for password & when you don't have a password to begin with? [duplicate]

I removed my Password on my login account(I'm not admin). When I go to terminal to install something using sudo, it asks for a password. Not the admin's password but my account's password but I don't ...
0
votes
0answers
145 views

Installed Qt as sudo su, unable to launch IDE

I installed Qt 5.1 by the following commands in Ubuntu 12.04.3 sudo su cd /QtSdk--linux-.run chmod +x QtSdk--linux-.run chown root:root QtSdk--linux-.run ./QtSdk--linux-.run After installation, the ...
0
votes
2answers
206 views

can't use sudo but only su

As root, I created a new user and added to sudo group with adduser myuser sudo but when I try to sudo something I got the Sorry, try again. error. The curious thing is that i can use su without ...
0
votes
2answers
2k views

No root privileges when using GUI

So I'm logged in as the user 'Shannon', but can't gain root access through the GUI when I'm prompted to install a program for example. However using sudo su, type in the root password, gain access ...
0
votes
1answer
737 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 ...
2
votes
2answers
1k views

How do I prevent git from requiring sudo on every git command

I created a directory /var/www to store my web apps clone in. When I initially cloned the app from github it required me to use sudo and every time I do a git pull it's requiring sudo. I'm running ...
1
vote
0answers
212 views

sudo -Hu rsyncuser rsync --progress -avz /source/path/ host.org:/destination/path/ - why does it change directory permissions?

here is my setup: on my source machine i created user rsyncuser with reading and writing permissions in /source/path on my destination machine i created user rsyncuser with reading and writing ...
0
votes
0answers
76 views

I turned off signing in with password - now I cannot authenticate for admin tasks

When I turned off sign in with a password and when I went to go install programs and the password menu pops up so it will install the program. It says I have the wrong password when I type in my ...
0
votes
0answers
222 views

Root commands don't work for matlab ./install (gksu, gksudo, dkesudo)

somehow I can’t launch ./install with root. I mounted matlab2013 with Furius. If I execute ./install, when installer fails to install in /usr/local/matlab folder. I tried sudo ,gksudo, gksu and ...
0
votes
0answers
192 views

Headphones don't work: 13.04 - Toshiba Satellite P205 s8811: Realtek ALC268

Headphones don't work: Just installed 13.04 on my Toshiba Satellite P205 s8811. External speakers work. Audio card by Realtek ALC268 and I have tried: alsamixer but made absolutely no difference & ...
0
votes
3answers
4k views

Not able to install *.run file in Ubuntu? [duplicate]

I am newbie with Ubuntu and I am using Ubuntu 12.04.3 LTS version inside Windows using WUBI. I have to install few softwares in Ubuntu which are as follow: MPLAB X IDE version 1.90 XC8 Compiler and ...
0
votes
1answer
1k views

Trying to update but not enough space on boot (answer here) [duplicate]

The error message I get suggests "sudo apt-get clean" I try running it but nothing happens. Just get back to the prompt. Is there any other terminal commands I should try to clean temporary files ...
0
votes
1answer
529 views

why sudo gem install fails but gem install succeeds?

I simply do sudo gem install sqlite3 and have response: sudo: gem: command not found Then I do gem install sqlite3 and it works. Where is the problem with sudo ?
1
vote
1answer
105 views

help cannot change inotify watch number because file cant be over written

so I'm trying to start using lsyncd for a more up to date backup system. the problem that i have run into is that the directory that i have to backup contains more than 250,000 items and i would like ...
24
votes
4answers
4k views

How to get out of “sudo -s” command in Terminal?

I entered sudo -s command in terminal, and the it changed from shameek@shameek-K55VD:~$ to root@shameek-K55VD:~#. Now when I click on the close terminal window icon it says, "There is still ...
0
votes
2answers
479 views

What is the answer to “are you root” when installing packages?

What is the answer to "are you root" in Ubuntu 12.10. I was installing the restricted extras for the 12.10 when I got this message after typing my password. I typed yes and now all I see are y in the ...
1
vote
0answers
254 views

Running a program as another user without typing a password

I'm trying to mark my browser internet traffic with a DSCP by selecting the packages with a certain owner. In order to do that I have to start my browser with a dummy user. I start my browser by ...
1
vote
2answers
7k views

Unable to install xampp in ubuntu 13.04

I am installing xampp in ubuntu 13.04, but while installing the xampp.. when i try to extract the file .. it shows the following message sudo tar xvfz xampp-linux-1.8.1.tar.gz -C ...
0
votes
1answer
76 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.