[mythtv-users] I 'd like a 2nd opinion on this mythburn solution.

Phill Wiggin wigginp at mantech-wva.com
Tue Apr 18 18:36:28 UTC 2006


Warren wrote:

>Richard Bronosky wrote:
>  
>
>>Okay, so I have done this:
>>user='www-data'; group='cdrom'; usermod -g `id -g $user` -G `echo \`id
>>-G $user\` | sed 's/\s\+/,/g'`,`grep '^cdrom' /etc/group|awk -F: '{
>>print $3 }'` $user
>>...which should work for anyone's system, if they alter the user and
>>group variables.
>>
>>What I can't figure out is if a reinit or reboot is necessary.  I will
>>try burning again when I get home.
>>
>>--
>>,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,
>>       RichardBronosky
>>,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,
>>_______________________________________________
>>mythtv-users mailing list
>>mythtv-users at mythtv.org
>>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>  
>>    
>>
>A reboot is nor necessary.  Changes to the user and group files should
>be immediately seen.
>
>W
>  
>

You'd probably have to restart the processes (apache? www-data?) 
effected.  IIRC, active user sessions don't pick up changes to their 
group settings until they're logged out and back in (or the service is 
restarted).

--Phill


More information about the mythtv-users mailing list