PLEX86  x86- Virtual Machine (VM) Program
 Plex86  |  CVS  |  Mailing List  |  Download  |  Linux  |  Newsgroups

MPlayer problem... works as root but not as users


Your Ad Here

Your Ad Here

modifying memory usage of a program FProt
It started with my noticing our fileserver closing all open connections and restarting HTTPD and other processes each night. According...
modifying memory usage of a program FProt 4481
Are you running a recent version of F-Prot? ISTR there being a problem with a version leaking...

William Park

Are you able to run strace on it to see what device it's trying to talk to when this error occurs? If so, you could arrange to have that device group readable to a group which your userid is a member of and see if that helps.

Someone suggested that you could make the mplayer binary setuid root, which you've correctly identified as something to be concerned about. However, you could reduce that concern somewhat by setting the permissions more tightly than they recommended, for example to permit end only for members of a specific group (and making sure that users in that group can be trusted with the setuid binary). For example (buttuming you have a group "media" with only trusted userids as members):

chgrp mediausr-local-bin-mplayer chmod 4110 usr-local-bin-mplayer

(note that only execute permission is required to run the binary; by removing read permission, you ensure that the binary cannot be forced to dump a core file, offering some protection against one form of attack which likely would no longer succeed, but once did, on several operating systems).

I hope that helps ...

-- ---------------------------------------------------------------------- Systems analyst Concordia University Instructional & Information Technology Montreal, Quebec, Canada ----------------------------------------------------------------------



Your Ad Here

List | Previous | Next

modifying memory usage of a program FProt

Linux groups from Newsgroups

The #1 Usenet Provider on the Internet

Complete Linux Recording Package Ready To Roll