Fedora :: Type "sudo Gedit" (before Trying "su") But Was Told Wasn't In Sudoers?

Dec 8, 2010

I've been a distro-hopper for a while and just installed FC14. I like it and it seems very stable on my older Presario laptop (2170us with 1-Gig Memory and 80-gig HDD).In other distros, I was able to open a Terminal, type "su" & <password> then type "gedit" and take care of things like the Workgroup name in Samba, adding a user to sudoers, etc.....but in FC14's Terminal, typing "su" & <password> and then "gedit" results in all kinds of error messages (that I can't recall right now). I did find after typing "su" & <password>, that if I then typed "sudo gedit", gedit opens just fine.I had tried to type "sudo gedit" (before trying "su") but was told I wasn't in sudoers.I suppose it's minor for someone like me who can eventually find a way around it...but why won't gedit open when I'm a superuser by just typing "gedit"?

View 3 Replies


ADVERTISEMENT

OpenSUSE :: Gedit With Sudo - (gedit:7137): Gtk-WARNING : Cannot Open Display

Feb 8, 2010

I set-up my Sudo it works but when I use Gedit I get the following message

Jean-Luc@localhost:~> sudo gedit /etc/fstab
(gedit:7137): Gtk-WARNING **: cannot open display:
samething with /etc/sudoers

If I use vi it's ok, I can modify and save. In Fedora it run ok, but with opensuse?

View 9 Replies View Related

Fedora Security :: Limiting Sudo - Giving Full Privileges To The Wheel Group In The Sudoers File

Feb 15, 2011

I have previously set up sudo via adding my name to the wheel group and then giving full privileges to the wheel group in the sudoers file. Now I choose to learn to limit that. Had noticed the most frequent use I have of sudo is to run yum update. This got me thinking, could I remove the wheel group privileges and add the following line in sudoers to limit the privilege to simply running yum, and furthermore, make it so I could run yum without a password:

## Allow root to run any commands anywhere
rootALL=(ALL) ALL
Troy ALL= NOPASSWD: /usr/bin/yum

I think that would in fact work (if I understood one of the pages here, it will work). However, upon further thinking I realized that in such a case then anyone sitting at my computer could then use yum, without a password, to install or remove any file on my system � probably not a good idea. As a result I have to ask, can I tighten the privilege even further such that the only privilege so given was to run �yum update� and nothing else? (for example if they ran �yum install� it would fail). If you can do it, how?

Last, I was going to limit the privilege, time wise and try wise, by adding the following to the sudoers file:

# Defaults specification
Defaults:Troy timestamp_timeout=0, passwd_tries=3

Will that really work to limit the elevated privilege so I don't have elevated privileges lingering about, or is there a better way to do so?

View 3 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 :: 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 :: Error: Sudo: /etc/sudoers Is Owned By Uid 1000, Should Be 0

Jan 4, 2010

I have a problem, I changed the own of all the etc folder, it was a mistake, but I can't change it again, now, I cant use "sudo" because root is not the own. When I try to use "sudo" this is the error: sudo: /etc/sudoers is owned by uid 1000, should be 0. so, the own is my user instead of the root. How can I change it again?

View 6 Replies View Related

Slackware :: Sudo: Can't Open /etc/sudoers: Permission Denied

Jun 10, 2011

After install TexLive, sudo stop working. If I run sudo:

Quote:

sudo: can't open /etc/sudoers: Permission denied
sudo: no valid sudoers sources found, quitting

Edit: Hal and dbus is not working either, if i startx I don't have network manager or automatic mount of pen and disks.

View 10 Replies View Related

Ubuntu :: Sudo: No Valid Sudoers Sources Found, Quitting

May 31, 2011

When I try to use sudo, I get this error message.

Code:

sudo: /etc/sudoers is owned by uid 1000, should be 0
sudo: no valid sudoers sources found, quitting

View 6 Replies View Related

OpenSUSE :: Sudo And Graphic Apps Not Working - Can't Open Display: :0.0 From /etc/sudoers

Oct 18, 2010

After upgrading GNOME to 2.32 in my openSUSE 11.3 x86_64 running graphic applications with sudo is impossible. (that means it worked before upgrading GNOME)

Code:

etam@etam-laptop:~> sudo xeyes
root's password:
No protocol specified
Error: Can't open display: :0.0 From /etc/sudoers:

Code:

Defaults env_keep = "LANG LC_ADDRESS LC_CTYPE LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE LC_TIME LC_ALL LANGUAGE LINGUAS XDG_SESSION_COOKIE XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER DISPLAY"
Some interesting facts:

[code]....

View 2 Replies View Related

Ubuntu Security :: Patch For Sudo That Allows Sudoers Information To Be Pulled From MySQL?

Apr 12, 2011

This may be a stupid (?) question, but does any one know of a patch for sudo that allows the sudoers information to be pulled from mySQL?
I run multiple servers with multiple people working on them and would like a one-stop update of permissions.
Yes, I could use rsync or the like, but I'm just wondering if this has been done, or could be done.

(Sorry if this is the wrong forum, I'm kinda new around here, posting wise and this seemed to fit. Feel free to move it if it's not)

View 3 Replies View Related

General :: Can't Execute Commands As Sudo Nor Access Sudoers File In Mandriva 2010.1

Aug 16, 2010

since a recent upgrade to Mandriva 2010.1 I am not able to 'sudo' as administrator or when I use the 'root' password. I am the only user on this machine (Dell Inspiron 530S multi-booted with Window's Vista Home Premium, Ubuntu 10.4, and Mandriva 2010.1). I can get into the 'Manage Users' section of the control center by authenticating as 'root' but I can't access 'sudoers file' from command line.

View 4 Replies View Related

Ubuntu :: Sudo Command Doesn't Work Anymore - No Valid Sudoers Sources Found

Jan 21, 2011

I was changing some file permissions with the chmod 777 command and i accidentally executed:

Code:

sudo chmod 777 /*/*/*/*

and now i can't get root access to anything. If I try executing a sudo command i get:

sudo: /etc/sudoers is mode 0777, should be 0440
sudo: no valid sudoers sources found, quitting

View 9 Replies View Related

General :: Why Doesn't 'sudo Gedit' Work In Vinagre

Oct 13, 2010

I've set up a low cost box with Ubuntu Lucid Lynx at home behind a router, and managed to get remote access running. My goal is to be able to host a small website and work on it remotely, so I isntalled ftp (vsftpd). When I tried to edit the vsftpd.conf file in Vinagre from work, I could only open it read-only, no surprise. When I tried 'sudo gedit' or 'sudo gedit /etc/vsftpd.conf' from terminal in Vinagre, I received the prompt for the password to elevate privileges (again, expected); however, after I hit Enter, nothing happens. I've tried a bunch of different things, but I can't get it to work. I can stop & start my ftp service with 'sudo service vsftpd stop/start' and it seems to work fine.

View 2 Replies View Related

OpenSUSE :: Sudo Gedit Doesn't Work - Cannot Open Display

Nov 7, 2010

I am trying to edit a postinfo.xsl in my root file dir, and with the command:

frank@linux-avnb:~> sudo gedit

(gedit:14150): Gtk-WARNING **: cannot open display: frank@linux-avnb:~>

I get the following. what am i doing wrong?

View 3 Replies View Related

Ubuntu :: Can't Open Sudo Gedit /etc/X11/xorg.conf - What's Wrong?

Jul 15, 2010

When I try to open sudo gedit /etc/X11/xorg.conf
by entering it in the "run tool" nothing appears...

what's wrong?

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

Ubuntu :: GCC-4.x Dosent Work \ When Type In Sudo Apt-get Gcc-4.x This Happens?

Jul 3, 2011

when i type in sudo apt-get gcc-4.x this happensE: Invalid Operation gcc

View 2 Replies View Related

Ubuntu :: Way Not To Type Password Each Time Use Synaptic Or Sudo?

Mar 14, 2011

Is there any way not to type password each time I use synaptic or sudo?

View 6 Replies View Related

Ubuntu Servers :: Error When Loading "sudo Gedit Httpd.conf"?

May 24, 2011

I've installed apache2 and and when i access my URL from outside using www.proxy-ervice.de i just get a webpage with Index of /so i've run the command sudo gedit /etc/apache2/httpd.conf which give me the error: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file'/root/.local/share/recently-used.xbel.2EUJVV': No such file or directory(gedit:2509):Gtk-WARNING **: Attempting to set the permissions of`/root/.local/share/recently-used.xbel', but failed: No such file or directorymy httpd.conf is as follows,Userdir public_htmlOptions +IndexesOptions AllServerName localhost

<Directory "/home/gav/public_html/">
Order allow,deny
Allow from all

[code]....

View 1 Replies View Related

General :: When Type - Sudo Grub - It Says - Command Not Found" In Ubuntu 9.10 Live CD

Jan 30, 2010

I am going to reinstall my GRUB bootloader and some one said do the followings:

But when I type "sudo grub" in terminal it gives this error: "sudo: grub: command not found"

View 7 Replies View Related

Fedora Networking :: Volatile Wireless Network - Driver Wasn't Used For It

Mar 19, 2009

With any download that i start (whether ftp/http/bittorrent/etc..) I get download speeds of no more than about 100 KiB/s...which is decent, but I usually I know my internet speed is max at about 600 KiB/s. If I go to Network Mananger (while a download is in progress), and click on my wireless network, it will disconnect, then reconnect, and I'll get download speeds of up around 600 KiB/s for a period of about 20-30seconds...then, I'm back down to the 50 KiB/s - 100 KiB/s.

Fedora can download at max speed for a little bit, but then goes down to about 100KiB/s for the rest of time (until I disconnect and reconnect again). Why does this happen, and how can I get my speed to stay at maximum potential? Also, Fedora 10 recognized my wireless network card when i had installed F10. But I'm worried that the best driver wasn't used for it. I've found my actual driver that I used on windows vista/xp, and installed that via ndiswrapper, but i don't think that ndiswrapper disabled my old driver... am i right about this? Maybe a solution to my problem would be to disable the driver that came preinstalled on F10, so it can use my newly installed one instead?

View 14 Replies View Related

Fedora Hardware :: AWE64 ISA Card \ Wasn't Recognised At Boot Up?

Jan 26, 2010

I'm running FC 12, on a Pentium III PC. This has a 440BX motherboard with an AWE64 Gold ISA card. It wasn't recognised at boot up, I've installed the GUI ALSA mixer, inisitally it shows no sound device.Searching around the forums stumbled across the command:modprobe snd-sbaweThis one line command worked fine (no errors), enabled the volume control, and ALSA mixer GUI gave loads of nice sliders. Pushing these up I found that basic sound was working fine (eg playing Flash video within Firefox). I don't need any other features of the AWE64 right now (might like MIDI port one day).

However, each time I reboot the system it forgets, and I have to run the comand again (and tweak up the volume in the mixer, particularly for PCM).I tried adding a file called awe64 in /etc/init.d, with the contents:

#!/bin/bash
#modprobe snd-abawe

(and chmod +x awe64) but this doesn't seem to get run, or has no effect.I tried adding a file to /etc/modprobe.d but this just gave errors - I think this is the right approach though.What should I do please?

View 1 Replies View Related

Fedora Installation :: Error, Saying I Had Bad Sector(s) The Error Told Me To Run Chkdsk /f /r In Windows, Then I Could Run Ntfsresize With -b, (in Linux)

Feb 22, 2009

I have the DVD installer of Fedora 10, i want to dual boot with windows vista. well i get up to the partitioning part of installation (in anconda) and it asks me how i want to partition it... i wanted to re size my partition and create the default format, so i keyd in 70GB and Okay. then it came up with an error, saying I had bad sector(s) The error told me to run chkdsk /f /r in windows, then i could run ntfsresize with -b, (in Linux) well i did all those steps, and shrunk /dev/sda1 to 70gb (/dev/sda2 is my recovery partition) i have a 140 gb hard drive, but can't find the unallocated space anywhere!

when i booted windows, it ran a chksdk, like it should, and in my computer it said that it had been shrunk (because the pie graph showed a capacity of around 70GB) When i go into windows disk management it says no unallocated space, just one big partition (and a 8gb recovery partition) this is the same with GParted on puppy linux, GParted on fedora 10 (live cd) says there is no drives I can mount or unmount and same error on partition logic... in EASUS partition manager i get told that there is no unallocated space, in the fedora installer there is only /dev/sda1 and /dev/sda2. Does anybody know.. how to install fedora on this partition, or get rid of the partition and repartition it another way. when i click on the option to remove all linux partitions and create default format, it errors and says it cannot make another primary partition, then says there is no room for /boot. and i can not proceed.

View 1 Replies View Related

Ubuntu :: Installing Explorer - Command Gedit User.reg (gedit:2573): Gtk-WARNING ** Cannot Open Display

Jan 12, 2010

I am trying to make wine work for explorer. I followed some instructions on this link [URL] To follow this link, I am supposed to

cd ~/ies4linux/ie6
cp user.reg ~/user.reg.old
gedit user.reg

1st and 2nd line went well 3rd line when I try to execute the command gedit user.reg (gedit:2573): Gtk-WARNING ** cannot open display I then /ies4linux/ie6# ls dosdevices(in blue) drive_c(in blue) system.reg(in white) userdef.reg(in green) user.reg

View 3 Replies View Related

Software :: Scroll One Line Each Time Like Gedit Does When Scrolling In Gedit?

Oct 29, 2010

When scrolling down in nano with keyboard (holding "down" key), nano scrolls several lines at once each time. Is there any possibility to configure it so it will scroll one line each time like gedit does when scrolling in gedit?

View 3 Replies View Related

Fedora Security :: Cannot Open /var/db/sudo After Sudo Package Upgrade?

Sep 16, 2010

A day ago I finally got around to upgrading the PackageKit installation that had been sitting for a week and a half, so I found a new upgrade for sudo available - the one that gives the sudoreplay command, I forget which version number it is exactly. When I try to use the sudo command I get this notice in my terminal:Code:Can't open /var/db/sudo/me/1: Permission deniedI didn't get it before. What do I have to do to make it open? I'm using SELinux in enforcing mode if that helps.

View 1 Replies View Related

Ubuntu :: Can't Mount The Installer CD: $sudo Mount - Unknown Filesystem Type 'iso9660'

Mar 12, 2010

I installed Ubuntu Server 9.10 in a virtual machine, and I'm trying to install the VMware Tools but I can't mount the installer CD: $ sudo mount /dev/scd0 /media/cdrom mount: unknown filesystem type 'iso9660'

View 1 Replies View Related

Ubuntu Installation :: E: Type Sudo Is Not Known On Line 55 In Source List /etc/apt/sources.list

Mar 12, 2010

I tried to change the basic toolbar to cairo dock,a tutorial that i found told me to write in terminal gksu gedit /etc/apt/sources.list.d/winehq.listso i write it and a window opened,i couled not find the text that told me(the tutorial i mean)so i closed the window,after that i keep taiking the same error

E: Type �sudo� is not known on line 55 in source list /etc/apt/sources.list
E: The list of sources could not be read.
Go to the repository dialogue to correct the problem.
E: _cache->open() failed, please report.

now whene i got in the winehq.list the text has gone and i take this error in update manager,my software center doesn't work and my terminal whenever i type sudo commands says

E: Type �sudo� is not known on line 55 in source list /etc/apt/sources.list

View 9 Replies View Related

Ubuntu :: Error: E: Type 'sudo' Is Not Known On Line 52 In Source List /etc/apt/sources.list

May 4, 2011

don't know much, but when I tried to update I get this error:

E: Type 'sudo' is not known on line 52 in source list /etc/apt/sources.list E: The list of sources could not be read.

View 2 Replies View Related

Software :: Pam_limits(sudo:session): Wrong Limit Value 'unlimited' For Limit Type 'soft'

Dec 28, 2010

my secure log is flooding with these messages..

sudo: pam_limits(sudo:session): wrong limit value 'unlimited' for limit type 'hard'
Dec 28 22:42:29 yn54 sudo: pam_limits(sudo:session): wrong limit value 'unlimited' for limit type 'soft'
Dec 28 22:42:29 yn54 sudo: pam_limits(sudo:session): wrong limit value 'unlimited' for limit type 'hard'

View 3 Replies View Related







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