Ubuntu :: /etc/sudoers Has No Effect

Jun 12, 2010

In a nutshell: sudoers is not designed to use 127.0.0.1

Old, broken sudoers:

Code:

New, fixed sudoers:

Code:

View 7 Replies


ADVERTISEMENT

Ubuntu :: Appearance Effect Change Automatically From Extra Effect To No Effect?

May 7, 2010

I have upgraded to 10.4 and and after try to install mac look in ubuntu.My screen start flickering, I found it this due to in system => preference => appearance => effect become no effect automatically (as each and every time I select extra effect)After some time.for changing this setting i need to turn off the computer and restart then after i can do it i.e. change effect to extra effect. Its done after following installation

[URL]

View 4 Replies View Related

Server :: Sudoers Will Not Work - Error Says Sudu: Can't Open /etc/sudoers: Permission Denied

May 31, 2011

I have tried several things to attempt to fix my sudoers file however it is still coming up with errors. The error says

[code]...

the sudoers configuration file is set to the default as I have ran a dpkg on it, have also uninstalled and reinstalled it, and went over the configuration file ensuring it looked like the defaults I had seen online.

View 8 Replies View Related

Fedora :: Enable Wooby Effect - Compiz Desktop Effect - In 15

Jun 23, 2011

How to enable wooby effect (compiz desktop effect like ubuntu) in fedora 15.

View 1 Replies View Related

OpenSUSE Multimedia :: ATI 5650 But No Desktop Effect No 3D Effect?

Oct 16, 2010

i got driver and when i install driver and reboot computer I got just terminal and when I type startx I get error FLGRX and sam log file or something like that.

instruction i found here but some comands didn't worked openSUSE Lizards

View 9 Replies View Related

Ubuntu :: How To Get Into Sudoers File In 10.04?

Mar 25, 2011

I changed my user name, and now the Terminal shows my new user name.I log in with the same user name and the same password. But after changing the username, I can't get anything done as sudo. It says that I am not in the sudoers file, and I can't get in at all. I tried sudo visudo, sudo -i, sudo -l..When, I wrote sudo -l the following came in the Terminal.How do I get into sudoers file and give my new user name ariya the root privileges. Even my old user name doesn't work at all.

View 9 Replies View Related

Ubuntu :: /etc/sudoers Accidentally Deleted?

May 28, 2010

I have accidentally deleted the contents of sudoers file (while trying to add a line through CLI).Anyway, I'm still logged in and can please someone paste me the default contents of the sudoers file on Lucid Lynx

View 3 Replies View Related

Ubuntu Security :: Locked Out From Sudoers

Jun 5, 2010

A few minutes ago I accepted a suggestion from update-manager for restarting my system, such that some security updates could be effective. After restarting and login in as usual, I discovered that I could not use my adminstrative rights as a sudoer. To recover them I booted again, as root, and added my username in the "admin" group. Rebooting, all seemed well again. As an extra check I installed and ran 'chkrootkit' and nothing suspect was found.What could have hapenned? Just a glitch in the system? Can a user disappear from a group for nothing?What further checks can I make to be sure that my system is safe?I'm using Ubuntu Jaunty Jakalope amd64, with kernell 2.6.28-15-generic.

View 5 Replies View Related

Ubuntu :: How To Add User Xyz To Sudoers File?

Feb 15, 2011

How do I add user xyz to sudoers?

View 1 Replies View Related

Ubuntu :: Editing /etc/sudoers Don't Want To Mess Up Again

Feb 16, 2011

I edited my /etc/sudoers file the other day to add timestamp_timeout=0 to cause sudo to ask for a password every time. I used visudo in sudo mode and when it came to saving it appeared to want to save the file as sudoers.tmp so I edited this to sudoers. Anyway some how may edit failed. I booted up into terminal and reedited and somehow lost all access to the sudo mode. I think the file ended up with the wrong permissions.

After a fresh install I don't want to mess this up again. So please, please tell me how to save it. Should I save as sudoers.tmp or sudoers? I presume a could have made a typo, but am assuming not. I don't want to reinstall ubuntu and all the packages again.

View 4 Replies View Related

Ubuntu :: How To Edit The Sudoers File

May 16, 2011

I want to create a group called scripts, add www-data to that group. I then want to edit the sudoers file and tell it that the script group doesn't need a password. Where should I put this line excatly in the sudoers file?

View 2 Replies View Related

Ubuntu :: User Not In The Sudoers File?

Jul 15, 2011

I have a bit of a problem... I thought (for certain reasons) I would just add myself to root group and therefore gain some more rights for my account. I could sudo before... But once I gained the root group as a secondary group it says I am not in the sudoers file anymore...

Code:
id
uid=1000(kosta) gid=1000(kosta) groups=0(root),1000(kosta)
Code:
sudo ls
[sudo] password for kosta:

kosta is not in the sudoers file. This incident will be reported. It is really weird and messed up. I can view sudoers file but not edit it... I can cat passwd but I can not view syslog. Is there any way to fix this without having to reboot to recovery mode? And why the heck is this happening after all?

View 2 Replies View Related

Ubuntu :: Why Does Aptitude Overwrite /etc/sudoers

Jul 23, 2011

I've been trying for a long while to figure out why aptitude overwrites /etc/sudoers ? Each time I run

$ sudo aptitude safe-upgrade

my /etc/sudoers is reset. This is really annoying because I have it setup so that mythtv can shutdown and restart automatically. The line in /etc/sudoers that gets deleted is:

%mythtv ALL = NOPASSWD: /usr/bin/mythshutdown, /bin/sh, /usr/bin/setwakeup.sh, /
sbin/reboot, /sbin/shutdown

When the line is missing my Ubuntu 10.04 does not shut down at all because of missing rights to do so. Does anyone have a clue why this is happening? I thought /etc-files were sacred for others than root, but it seems I'm wrong. Of course I have edited sudoers with visudo.

View 5 Replies View Related

CentOS 5 :: Translate /etc/sudoers From Ubuntu

Nov 3, 2009

I'm following this guide : [URL]... to monitor SIP-connections on an Asterisk-server with Nagios. At some point the author mentions adding the following line to /etc/sudoers : nagios ALL= NOPASSWD: /usr/sbin/asterisk

View 8 Replies View Related

Ubuntu Installation :: Upgraded To 9.10 And Taken Off Sudoers List

Feb 11, 2010

I recently upgraded my computer from Ubuntu 8.04 to Ubuntu 9.10. After I finished the upgrade I tried to run a command in terminal as sudo. The terminal said that I was not on the sudoers list. I tried to ssh into the root account from my everyday account and the password to root had changed as well with the upgrade. How can I add my everyday account back to the sudoers list and also reset my root password?

View 4 Replies View Related

Ubuntu :: Sudo: User Is Not In The Sudoers File

Mar 25, 2010

I get this message if i try to use sudo/gksudo. What causes this, how can I solve it? It has been working for years. If i remember correcttly there was a sudo update few days ago, maybe it doesnt work since then, i havent used it in the last few days.

View 9 Replies View Related

Ubuntu :: Usermod No Longer In The /etc/sudoers File

Jul 2, 2010

I was planning on getting the USB to work in my 3.2.4 Oracle virtual box, and I found a post that says you have to be a part of vboxusers. I ran > sudo usermod -G vboxusers alias and then id to see that I was a part of the vboxusers group. After I installed an update which required restart. That is right! I am no longer in the /etc/sudoers file!!!

View 2 Replies View Related

Ubuntu :: Sudo - Ramy Is Not In The Sudoers File

Dec 24, 2010

Whenever I try to run something as root using the sudo comand I get: Code: ramy is not in the sudoers file. This incident will be reported.

View 6 Replies View Related

Ubuntu :: Use Sudoers To Allow Any User To Chown A Certain Set Of Files?

Feb 16, 2011

I have a fairly complicated request The short version is, I want to set up a system so that any user can change the ownership of a certain set of files at any time without root access. I think it's possible to set up sudoers to do that, but so far I have failed miserably.I have tried setting up a wrapper script around chown, then putting that script into sudoers, but it didn't work. Here's the script and sudoers (paths changed to genericize them):

Code:
#!/bin/bash
#this script moves a copy of the code

[code]....

View 4 Replies View Related

Ubuntu Security :: User Is Not In The Sudoers File

Mar 15, 2011

Suddenly I am not in the sudoers file. I am not sure how to recover from this. I have no grub screen at bootup, so I can't boot into single user. I think I am going to have to boot a live version of ubuntu to start with. Is that right? What's next after that? Also, how could this happen, I haven't touched the sudoers file or added users or anything like that (well not that I am aware of) I am a little concerned that this may be the result of someone breaking in? Would this be a likely symptom?

View 3 Replies View Related

Ubuntu Installation :: User1 Is Not In The Sudoers File?

Apr 30, 2011

I am using Ubuntu 9.10 and I lost my sudo accesses for the User. So I am not able to use sudo command as I get the error,user1 is not in the sudoers file. This incident will be reported.Also I tried to login into the root usersu rootit will ask for the password(actually I dont know the password of root but after pressing enter I get the following error)su: Authentication failureI dont know how to add the user1 into the sudoers list.Also, is there any way to add the current user into admin group without using "sudo".

View 1 Replies View Related

Ubuntu :: Member Of Admin But Not In Sudoers File?

Jun 8, 2011

I'm trying to add my single user 'moreaue' to the sudoers. this user seems to be have admin privilege but is not in the sudoers:

Code:
moreaue@bloom:~$ sudo ls
[sudo] password for moreaue:
moreaue is not in the sudoers file. This incident will be reported.
moreaue@bloom:~$ su
Password:
root@bloom:/home/moreaue# adduser moreaue admin
The user `moreaue' is already a member of `admin'.
root@bloom:/home/moreaue# exit
exit
moreaue@bloom:~$ sudo ls
[sudo] password for moreaue:
moreaue is not in the sudoers file. This incident will be reported.
moreaue@bloom:~$

As you can see I can connect as root, run the adduser command which says the user is already admin... but then the user is still not a sudoer. Of course I can edit the sudoers file manually, but I wonder what is going wrong?

View 7 Replies View Related

Debian :: User Not In Sudoers

Feb 21, 2011

I have installed debian 6 recently, and during installation I selected not to allow root login (and thereby enable my standard user to use sudo).If I check sudoers (by using visudo) my standard user is not listed anywhere, but he can still use the sudo command without any problems.Where else could this permission be stored?

View 5 Replies View Related

Fedora :: Sudoers Can Not Display

Mar 14, 2010

I am going to school for IT Security and will be taking my first Linux class this semester. I have dabbled a little bit in Linux before this but never really had the time to get to involved so I put it off untill now. Now I am forced . Anywho...I just installed Fedora11 (dual booting with Vista home basic) and the first thing that I am trying to tackle is install VMware. I have access to a bunch of Window OS's because of school and would like to create a 'virtual' version of windows for things like iTunes. This way, i have to force myself to use Linux for everything and I can install it on the whole PC. Until then, I am going to dual boot. When I was trying to install VMware, I tried to do it from the Terminal using sudo sh then the file name which is a .bundle file, I typed in the password and it said that my account was not in the 'sudowers' profile or something like that. I read on-line that you can modify who can sudo and who can't in the ect/sudoers file but if has an 'X' at the top right and I can't open it. It says 'Could not display "/etc/Sudoers". I tried to use visudo in the terminal and it says that permission is denied.

View 2 Replies View Related

Fedora :: No Sudoers Folder

Nov 25, 2010

i cant sudo..and the folder isnt even there.. and i canrt even view sudoer.d or whatever it says permission denied

View 3 Replies View Related

Red Hat / Fedora :: Add User To Sudoers

Jul 16, 2010

I recently installed Fedora 13 "Goddard" using the graphical installer (although I prefer the 'text/ reduced graphics' option.When I start the system (after installation completes), it runs in graphical mode and presents me with a graphical login prompt. However, due to security reasons (I'm told), it won't let me log on as the root/ admin user (which is fair enough).If I log on as another user (eg : alpha, charlie or delta, for this example), I can't edit the sudoes file to add one of these users (alpha) to the file. This is because these users aren't in the file, as far as I know.

At no stage during installation was I offered an option of either setting the runlevel or adding a non-root user to the sudoers file.I have found a way to change the runlevel setting, so that is not really an issue.What I would like is either of the following :

1. A modification to Fedora's graphical installer that allows for an explicit option to set the runlevel (graphical/ command-line) and another option to add the first created non-admin user (alpha in this example) to the sudoers file.

2. Information on how to add a user to the sudoers file without adding all others (eg : alpha, but not charlie and delta, in this example).

I have read the relevant man and info pages for the su, sudo, sudoers and visudo commands, but I only got confused. (I don't know BNF/ EBNF and I would like a solution that doesn't involve having to learn these BNF dialects, although I will if I have to.)Also, I have seen solutions that show how to add all users, but not individual users, to the sudoers file. What I want is to add an individual user (if this isn't clear already).Please feel free to send me an e-mail about this post : nigel.nq.ngw[at]gmail[dot]com with the subject line "Linux Forums - Fedora 13 Add User to Sudoers"

View 3 Replies View Related

Debian :: How To Add Myself To 'sudoers File'?

May 15, 2010

everytime i try to do anything with sudo i cant and this time it was extremelly costly. From now on i don't want to risk anything like this again and i need to be able to sudo.

View 2 Replies View Related

Debian :: How To Add Myself To Sudoers List?

Jul 24, 2010

Tired of getting told that I'm not in the sudoers file. How do I add myself to it, and is there any reason that I wouldn't want to?

View 6 Replies View Related

General :: Is It Necessary To Add Root To Sudoers?

Jan 8, 2011

Do I need it in /etc/sudoers? It's there by default and I don't know why does root need sudo.

View 5 Replies View Related

General :: Sudoers File Gone?

Oct 3, 2010

I logged in as root and was trying to add a user to sudoers, but then when I tried to save it said that the file was write protected and couldn't be saved. However, when I returned to look at the contents of the sudoers file, they were all done. The file is now empty.

1- How can I restore the contents of the default sudoers file. (I have FC12)
2- How can I add a user (no password) to the sudoers list without this happening again?

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved