
Hi, i've been playing with SetPermissions.sh script, and i got a cuestion, redhat does not have a "nogroup" group, so I always modify the script to use otrs && apache group where it's needed. but what about passing the script two more conditional arguments "SetPermissions.sh /opt/OpenTRS otrs apache [otrs] [apache]" and if they exists use them, if not, work as it works by now? PD: On the actual cvs (don't know if later) the SetPermission.sh scripts does not correctly set permissions for TicketCounter.log i attach a fixed one which does the nogroup thing. Att. Pablo -- Pablo Ruiz Garcia (Pci) Consultor de Seguridad - Tiger Team IP6 Seguridad (pruiz@ip6seguridad.com) http://www.ip6seguridad.com/pgp/pruiz.asc

Hi,
Hi, i've been playing with SetPermissions.sh script, and i got a cuestion, redhat does not have a "nogroup" group, so I always modify the script to use otrs && apache group where it's needed. but what about passing the script two more conditional arguments "SetPermissions.sh /opt/OpenTRS otrs apache [otrs] [apache]" and if they exists use them, if not, work as it works by now?
PD: On the actual cvs (don't know if later) the SetPermission.sh scripts does not correctly set permissions for TicketCounter.log i attach a fixed one which does the nogroup thing.
Sounds good to me, but you have to change the lines [ "$3" != "" ]&& OTRSGROUP=$3 [ "$4" != "" ]&& WEBGROUP=$4 to [ "$4" != "" ]&& OTRSGROUP=$4 [ "$5" != "" ]&& WEBGROUP=$5 Stefan
Att. Pablo
Stefan -- Stefan Schmidt Email: jsj@jsj.dyndns.org jsj@exsuse.de Bremen jsj-hb@t-online.de s.schmidt@iu-bremen.de

Yes, stupid mistake.. :)
--
Pablo Ruiz Garcia (Pci)
Consultor de Seguridad - Tiger Team
IP6 Seguridad (pruiz@ip6seguridad.com)
http://www.ip6seguridad.com/pgp/pruiz.asc
----- Original Message -----
From: "Stefan Schmidt"
Hi,
Hi, i've been playing with SetPermissions.sh script, and i got a cuestion, redhat does not have a "nogroup" group, so I always modify the script to use otrs && apache group where it's needed. but what about passing the script two more conditional arguments "SetPermissions.sh /opt/OpenTRS otrs apache [otrs] [apache]" and if they exists use them, if not, work as it works by now?
PD: On the actual cvs (don't know if later) the SetPermission.sh scripts does not correctly set permissions for TicketCounter.log i attach a fixed one which does the nogroup thing.
Sounds good to me, but you have to change the lines [ "$3" != "" ]&& OTRSGROUP=$3 [ "$4" != "" ]&& WEBGROUP=$4 to [ "$4" != "" ]&& OTRSGROUP=$4 [ "$5" != "" ]&& WEBGROUP=$5
Stefan
Att. Pablo
Stefan -- Stefan Schmidt Email: jsj@jsj.dyndns.org jsj@exsuse.de Bremen jsj-hb@t-online.de s.schmidt@iu-bremen.de _______________________________________________ OpenTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

Hi Pablo, hi Stefan, On Wed, Jun 19, 2002 at 03:25:59PM +0200, Pablo Ruiz Garcia wrote:
Hi, i've been playing with SetPermissions.sh script, and i got a cuestion, redhat does not have a "nogroup" group, so I always modify the script [...]
I updated the CVS with it. Thanks! :-) Cool!
Att. Pablo
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- "The number of Unix installations has grown to 10, with more expected." The Unix Programmer's Manual, 2nd Edition, June 1972
participants (3)
-
Martin Edenhofer
-
Pablo Ruiz Garcia
-
Stefan Schmidt