Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Multiple groups

 
   Soft32 Home -> Linux -> Setup RSS
Next:  Accepted botan1.8 1.8.5-2 (source i386)  
Author Message
Claude Frantz

External


Since: Aug 04, 2009
Posts: 1



(Msg. 1) Posted: Tue Aug 04, 2009 7:20 am
Post subject: Multiple groups
Archived from groups: comp>os>linux>setup (more info?)

I'm referring to Fedora 11.

The output of "ls":

crw-rw----. 1 root audio 14, 3 2009-08-04 09:51 /dev/dsp
crw-rw----. 1 root dialout 4, 65 2009-08-04 06:00 /dev/ttyS1

The user ALPHA wants to run the application BETA, which needs both
/dev/dsp and /dev/ttyS1. ALPHA is member of the audio and dialout groups.

-) The application BETA should not run as root for evident reasons.
-) I do not want to change the group of /dev/dsp and /dev/ttyS1 because
this could introduce inconsistencies with other applications of Fedora 11.
-) If I understand well, ACL cannot be used to resolve the problem.

Is is really necessary to make /dev/dsp and /dev/ttyS1 RW accessible to
all in order to run BETA as user ALPHA ? Or are there better solutions ?

Thanks a lot !

Claude
Back to top
Login to vote
The Natural Philosopher

External


Since: Apr 15, 2009
Posts: 97



(Msg. 2) Posted: Tue Aug 04, 2009 9:20 am
Post subject: Re: Multiple groups [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Claude Frantz wrote:
> I'm referring to Fedora 11.
>
> The output of "ls":
>
> crw-rw----. 1 root audio 14, 3 2009-08-04 09:51 /dev/dsp
> crw-rw----. 1 root dialout 4, 65 2009-08-04 06:00 /dev/ttyS1
>
> The user ALPHA wants to run the application BETA, which needs both
> /dev/dsp and /dev/ttyS1. ALPHA is member of the audio and dialout groups.
>

Provided BETA is not running as setsuid in someway, that will work fine.

de
Back to top
Login to vote
Florian Diesch

External


Since: Feb 11, 2007
Posts: 29



(Msg. 3) Posted: Tue Aug 04, 2009 9:20 am
Post subject: Re: Multiple groups [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Claude Frantz <r31dmaeu RemoveThis @unibw.de> writes:

> I'm referring to Fedora 11.
>
> The output of "ls":
>
> crw-rw----. 1 root audio 14, 3 2009-08-04 09:51 /dev/dsp
> crw-rw----. 1 root dialout 4, 65 2009-08-04 06:00 /dev/ttyS1
>
> The user ALPHA wants to run the application BETA, which needs both
> /dev/dsp and /dev/ttyS1. ALPHA is member of the audio and dialout groups.

So ALPHA has r/w access to /dev/dsp and /dev/ttyS1.


Florian
--
<http://www.florian-diesch.de/>
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Using VMWare to boot linux patition. - Hi, I regularly switch between winxp pro and mandrake 10.2. Lately this has become a bit of a pain so I looked into..

Problems with fonts rendering under ubuntu feisty ?! - hello my laptop mount an ATI mobility radeon 9700 , my screen resolution is 1280x800 I trying to set the correct..

The out-of-memory killer. - What can a process do to insure that it is the process which dies when the system runs out of memory. (This is as..

[Samba] Problems mapping winbind/kerberos usernames and gr.. - Samba 3.0.1 on Mandrake 9.1ish Kerberos version seems to match latest stable MIT build. I can log in via Kerberos..

[Samba] Permissions issue sharing data from multiple serve.. - Hi all, I have several UNIX servers I'd like to configure Samba on but am having trouble working out the best way to..

[Samba] Groups - I've noticed in the HOW-TO collection (for v3, unforunately..) that there is a command "net groupadd" to crea...
       Soft32 Home -> Linux -> Setup All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]