View Full Version : sudoers permissions issue
alphonsebrown
24th June 2005, 08:52 PM
[user911@fbi ~]$ sudo firestarter
Xlib: connection to ":1.0" refused by server
Xlib: No protocol specified
(firestarter:12664): Gtk-WARNING **: cannot open display:
[user911@fbi ~]$ su -
Password:
[root@fbi ~]# firestarter
Firewall started
[1]+ Stopped firestarter
[root@fbi ~]# cat /etc/sudoers |grep firestarter
user911 ALL= NOPASSWD: /usr/bin/firestarter
why I get this permissions issue? selinux: permissive
friez
25th June 2005, 12:00 AM
i think it might be an error /(protection... ?_?) of firestater.
w5set
25th June 2005, 04:10 AM
firestarter --help
Firestarter 1.0.3
-s, --start Start the firewall
-p, --stop Stop the firewall
--lock Lock the firewall, blocking all traffic
--generate-scripts Generate firewall scripts from current configuration
--start-hidden Start Firestarter with the GUI not visible<<<<<<---this may work--possibly???
-v, --version Prints Firestarter's version number
-h, --help You're looking at it
alphonsebrown
25th June 2005, 06:07 AM
yes I could start it with sudo -
[alphonse@fbi ~]$ sudo firestarter --start-hidden
Xlib: connection to ":1.0" refused by server
Xlib: No protocol specified
(firestarter:5244): Gtk-WARNING **: cannot open display:
but something's wrong with pam or I don't know?|? any ideas
alphonsebrown
25th June 2005, 09:41 AM
any ideas?
bitrain
25th June 2005, 09:45 AM
[alphonse@fbi ~]$ sudo firestarter --start-hidden
Xlib: connection to ":1.0" refused by server
Xlib: No protocol specified
(firestarter:5244): Gtk-WARNING **: cannot open display:This is a known bug, it happens with all python applications, like system-config-*
alphonsebrown
25th June 2005, 10:41 AM
wow thanks but does it have to do with sudo or something more general
bitrain
25th June 2005, 10:54 AM
It doesn't have anything to do with sudo. To make you feel more comfortable, try sudo yum update or something and you'll see that sudo works.
alphonsebrown
25th June 2005, 12:58 PM
ok but what lead to this thought was if I su - then I can run same command
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.