[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Xemacs wont run under SU: `super' will solve your problem.



 `super' is a great way to solve this problem.  I have this in my
"/etc/super.tab" file:


xemacs	/root/start-xemacs :staff @localhost @bittersweet.inetarena.com \
	setenv="DISPLAY=unix:0" \
	setenv="PATH=/usr/local/bin:/usr/bin:/bin:/usr/lib/texmf/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/X11:/usr/games" \
	password=n \
	uid=root gid=root\
	info="XEmacs editor as 'root'" 

... and now I can start an XEmacs that has full root priveledges with:

$ super xemacs &

... It also works from a window manager or TkDesk menu button.  I have
found that the syntax of `super's configuration file is *much* easier
to understand and use than that of `sudo'.  It seems fairly secure as
well.  You might like to give it a try.


-- 
mailto:karlheg@inetarena.com (Karl M. Hegbloom)
http://www.inetarena.com/~karlheg
Portland, OR  USA
Debian GNU 1.3.1  Linux 2.0.30+parport AMD K5 PR-133


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: