Re: xmcd as non-root user
On Wed, Jan 31, 2001 at 10:18:21AM -0500, judd@wadsworth.org wrote:
> After a dist-upgrade, xmcd will no longer run unless I am logged in
> as root (I am running testing). I used to be able to run it as a user.
> When I start it from a shell, I get the following message:
>
> xmcd Fatal Error:
> Xmcd binary permissions error: It should be setuid root. Please have
> your system administrator correct this.
>
> but ls -l shows:
>
> -rwsr-xr-x 1 root root 1223 Nov 21 23:43 /usr/bin/xmcd
>
> What am I doing wrong?
>
> -Chris
>
> ------------------------------------------------------------------------
> | Christopher Judd, Ph. D. |
> | Research Scientist |
> | NYS Dept. of Health judd@wadsworth.org |
> | Wadsworth Center - ESP |
> | P. O. Box 509 518 486-7829 |
> | Albany, NY 12201-0509 |
> ------------------------------------------------------------------------
>
/usr/bin/xmcd is just a shell script. You need to chmod +s
/usr/lib/xmcd/Linux-i686/xmcd to make xmcd suid root.
--
Amal Phadke, Ph.D Candidate
Department of Ocean and Resources Engineering, SOEST
University of Hawaii at Manoa
email: phadke at oe.soest.hawaii.edu
Reply to: