0
votes
0answers
17 views

Whitelist a program as admin

Everytime I run WICD (Network Manager) it requires my password for permission. I'm not against Ubuntu asking for passwords in general but everytime I log in is a little excessive. Is there a way to ...
0
votes
2answers
32 views

How to enable root account without sudo? [on hold]

I already installed debian 6. But when I logon (using my account) I can not access to internet "command ping not found", "ifconfig not founnd",... I tried to change to root account but the ...
-1
votes
2answers
103 views

account blocked by changing the /etc/passwd : how to revert or gain access again

To get root access to my existing account in ubuntu i followed this post. But even after following the steps mentioned i wasn't able to create/modify file or directory without using the sudo keyword. ...
0
votes
1answer
33 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 ...
1
vote
0answers
120 views

Cannot chown or chmod using sudo anymore

I was trying to make an adjustment to the /etc/sudoers file, and I accidentally corrupted it. I restored it via the grub and using the Ubuntu 14.04 default. But now it seems I can change ownership ...
1
vote
1answer
69 views

Ubuntu no longer prompts for root privilege (but doesn't give it either)

So on 14.04 LTS I was playing around with some settings to solve another problem, and somehow managed to screw things up and now Ubuntu no longer asks for root privileges before trying to perform ...
1
vote
1answer
53 views

Block a command [duplicate]

I don't want any admin users in my system to execute the following command other than root. "sudo cp /etc/sudoers " Is it possible to block it for admin users only? I have tried lot but didn't get ...
0
votes
0answers
19 views

Get Access Problem as admin user

I want to access "sudoers" file and also access "su -" but I fail and get following error please check terminal output that I have tried. I am m-usman(admin) but not allow to edit or access ? :( ...
0
votes
2answers
134 views

What is the root user

If you use sudo su - or sudo -s you will get the full root certification "likewise a root user ". Is this user an official user or is it from canonical? ~$ sudo su - [sudo] password for username: ...
-1
votes
1answer
80 views

How to make everything run as root in ubuntu? [duplicate]

I have setup a virtual machine for compiling software for linux which I develop on Windows. I setup to automount a windows folder, run compilation scripts and then just shutdown. The machine isn't ...
0
votes
2answers
312 views

Adding NOPASSWD in /etc/sudoers doesn't work

On 14.04 here. I SSHed into my machine, added the following line to /etc/sudoers: myuser ALL=NOPASSWD: ALL And then tried running: sudo mkdir /etc/blah ...and I'm being asked for my password. ...
1
vote
1answer
32 views

Re-disabling the root account

In ubuntu by default the su (root) password is not not set. I have set it by using the sudo passwd (see link). But I didn't like it. Can I go back to my original state.
2
votes
3answers
54 views

how to block a command from terminal?

I don't want any users in my machine to use a command in my machine other than root user. The command is given below. "sudo -E su" For security reasons
0
votes
0answers
36 views

Generally-accepted way of giving a user rwx permissions to /etc

I need a non-root user (say, myuser) to be able to have unbridled, recursive rwx access to /etc and anything underneath it. Hence if I execute, say: mkdir /etc/fizz I shouldn't receive any ...
0
votes
0answers
44 views

I don't want other administrator to change my password [duplicate]

I have one administrator account in my system which named as "admin". One more admin account called "test". I don't want test account to reset "admin" account and root account password in my system. ...
2
votes
1answer
168 views

Block a command from sudo user

I don't need an administrator to change my root password. I don't want any sudo user to execute this command: sudo passwd $root I have tried it in the sudoers file using the following command: ...
3
votes
2answers
248 views

add alias to root

I need to execute a command for my system to search for new sd cards and to be able to execute it I need to me logged on as root. Simply using sudo with the command does not work. This is not a ...
0
votes
1answer
124 views

I don't have permission to access this device on iftop and need to be root to run NetHogs

I have two dilemma's here: One is, I tried using iftop but it said I don't have permission to capture on that device (socket: operation not permitted) I can use ifconfig just fine. Also, I installed ...
0
votes
2answers
146 views

How to come out of root user?

I just gained root access following steps from the http://www.wikihow.com/Become-Root-in-Ubuntu. My prompt get changed from $ to # sign, indicating I have root access. Now I have come out or log out ...
-1
votes
1answer
36 views

Small Modification turned into a huge problem - I think my system has been hacked [closed]

I'll try to keep this brief, but I set the permissions for /usr/bin/ to -R using chown. I later read when I couldn't seem to log in as su that this may have compromised my complete system security. ...
0
votes
0answers
11 views

How to gain root access to UEC image?

When openstack creates an instance from a UEC image (using precise amd64), the SSH public key is successfully injected via cloud-init and I'm able to ssh into the instance via the ubuntu account, but ...
0
votes
1answer
64 views

What is the difference between sudo X and running X as root?

My question is asking regarding a specific observation that I would like to understand. I just tried to install the package rJava in R and failed even though I prefaced the installation as suggested ...
0
votes
1answer
44 views

Ubuntu sudo su and server su clarification

I have a question about root. when i want to change to root in ubuntu have to type: sudo su - i am not allowed to type: su and su - root Howerver it works the other way around on my server, ...
2
votes
1answer
104 views

Are you a root? [duplicate]

If I want to install a program by: sudo apt-get install package_name I always get the error: E: Could not open lock file /var/lib/apt/lists/lock - open (2 No such file or directory) E: Unable to ...
0
votes
2answers
78 views

What is sudo -i [duplicate]

What does this command? sudo -i? I'm not sure if I should have made a post with just this question, but since I'm a Linux newbie and I have a lot more questions and doubts, I decided to go ahead and ...
0
votes
0answers
169 views

Allow user to run programs as root without password. Would it be the correct solution to my problem?

I have a server which I need to be running certain programs permanently; I'm having problems with two of them and I'm not sure if the solution I've found would be the correct one, so I ask for opinion ...
1
vote
4answers
5k views

/usr/bin/sudo must be owned by uid 0 and have the setuid bit set

I have run following command accidentally sudo chown [username] -hR / Now sudo su getting error: sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set How to Solve This?
0
votes
2answers
86 views

Password-less Ubuntu install?

When you run Ubuntu as a live boot you are able to install programs etc. without a password, but when you have installed it you have to choose a password and you have to put it in everytime you want ...
1
vote
1answer
785 views

Changed root password on my server, now can't login anymore

I decided to change the root password that came preset on a fresh DigitalOcean server (ubuntu 12.04). I used the first answer to this post: How to change root password in ubuntu? which is: sudo -i ...
2
votes
1answer
423 views

sudo asks for root password but expects user in sudoers?

I have the root account enabled. I have degraded the user (say kenneth) to a standard account and I have set the Defaults rootpw flag in sudoers. When I use sudo it correctly prompt for root ...
3
votes
1answer
227 views

Why don't the commands 'sudo bash' or 'sudo -s' ask for a password? [duplicate]

Even when I am logged in as a non-admin user, when I enter sudo bash or sudo -s, the system does not ask for any password. In the command history, I have not entered any password for sudo earlier ...
0
votes
2answers
394 views

On each sudo command I get [sudo] password for root:

I have run a script https://github.com/starlilyth/Linux-PoolManager to install it and I have run into the situation where on each sudo command I get the prompt: [sudo] password for root: the ...
0
votes
2answers
2k 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
2answers
188 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 ...
0
votes
1answer
82 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 ...
0
votes
1answer
103 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
128 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 ...
0
votes
0answers
114 views

Run a specific program as root without asking for password everytime [duplicate]

I am using ubuntu 12.04 LTS and Many times, i need to connect modem using SAKIS-3G script and because modem-manager sucks many times. I need to supply admin/root password, everytime i need to run ...
-1
votes
2answers
540 views

How to create a root privilege file for a normal user?

I got a scenario where a customized Ubuntu 12.04 Linux OS has a read only filesystem which doesn't have terminal access. My goal is to create a file with root access using normal users permission. I ...
1
vote
1answer
195 views

Why does the “who” command not show “root” as a logged in user?

When I log in as root from gnome-terminal using the command: sudo su it logs me in as the root user. Isn't this switching a user considered as a log in? Also, which command can show me all the ...
2
votes
2answers
232 views

What is meant by “no password set” for root account (and otthers)?

Several years back, we were more accustomed to changing to the root account using the su command. First, we switched to the root account, and then executed those root commands. Now we are more ...
1
vote
1answer
210 views

Should I use a separate 'admin' user as my “root sudo” or grant sudo to my 'app' user?

I'm still wrapping my brain around the Ubuntu 'nullify root' user management philosophy (and Linux in general) and I'm wondering if I should 'replace' my root user with a user called 'admin' (which ...
1
vote
3answers
5k views

Sudo not available in guest login

When I login as guest I am unable to execute any command with sudo. E.g.: sudo ps returns: sudo: unable to change to sudoers gid: Operation not permitted How can I fix this?
3
votes
1answer
10k views

Open file or application as root from GUI

Is it possible to open a file or application as root from the GUI? My ideal would be right-clicking on a file or an application and seeing an "Open as Root" choice in the context menu, after which I ...
0
votes
1answer
324 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
2answers
4k 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
2answers
823 views

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

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 ...
0
votes
1answer
97 views

sudoing my own bash scripting

Okay, so I have my scripts in ~/bin/, and they are added to the path normally. However, when I prefix them with sudo, they are not in the path. I figure this is because they're not in the path for ...
4
votes
2answers
1k views

Standards accounts are able to get root access using sudo without password request

I have installed a particular software using the installer present using the command sudo ./install.sh. After the installation now all the accounts on my ubuntu laptop can gain root access by ...
0
votes
3answers
3k views

Error executing sudo in chroot environmet

I am facing a strange problem while using a chroot'd 12.04 Ubuntu. When I try to run anything with sudo I get the following error: sudo: effective uid is not 0, is sudo installed setuid root? If I ...