Bugtraq mailing list archives
Re: flex license manager tempfile predictable name...
From: rjonkman () ITTC UKANS EDU (Roelof JT Jonkman)
Date: Tue, 22 Feb 2000 20:40:57 -0600
sp00n, Flex does not need to run as root: Somewhere on their webpage they have some scripts, I crafted some myself, and didn't see a need to run a license manager as root. In the following script note the use of 'su daemon -c' and relocating the log file to somewhere more sensible. (-l blah) roel Here is the script: #!/bin/sh # # quircky script to start license gumbo case "$1" in 'start') if [ -x /tools/licenses/bin/lmgrd ] ; then su daemon -c "umask 022; /tools/licenses/bin/lmgrd -c /tools/licenses/keys/license.dat -l /tools/licenses/logs/flexlm.log" & echo "Starting FLEXlm license service." fi ;; 'stop') if [ -x /tools/licenses/bin/lmutil ] ; then echo "y" | /tools/licenses/bin/lmutil lmdown -c /tools/licenses/keys/license.dat -l /tools/licenses/logs/flexlm.log & echo "Stopped FLEXlm license service." fi ;; 'restart') if [ -x /tools/licenses/bin/lmutil ] ; then echo "y" | /tools/licenses/bin/lmutil lmreread -c /tools/licenses/keys/license.dat -l /tools/licenses/logs/flexlm.log & echo "Restarted FLEXlm license service." fi ;; 'status') if [ -x /tools/licenses/bin/lmutil ] ; then /tools/licenses/bin/lmutil lmstat -c /tools/licenses/keys/license.dat echo "Status displayed." fi ;; 'hostid') if [ -x /tools/licenses/bin/lmutil ] ; then /tools/licenses/bin/lmutil hostid -c /tools/licenses/keys/license.dat echo "Hostid returned." fi ;; *) echo "Usage: /etc/init.d/flexlm { start | stop | status | hostid }" ;; esac
Current thread:
- snmp problems still alive... Michal Zalewski (Feb 14)
- NetBSD Security Advisory 2000-001 Daniel Carosone (Feb 15)
- Re: snmp problems still alive... Gus Huber (Feb 15)
- cisco/ascend snmp config tool or exploit? -- Re: snmp problems still alive monti (Feb 17)
- Sun Internet Mail Server Michal Krzysztofowicz (Feb 19)
- flex license manager tempfile predictable name... sp00n (Feb 21)
- Re: flex license manager tempfile predictable name... Roelof JT Jonkman (Feb 22)
- Re: flex license manager tempfile predictable name... David Evans (Feb 23)
- cisco/ascend snmp config tool or exploit? -- Re: snmp problems still alive monti (Feb 17)
- FreeBSD Security Advisory: FreeBSD-SA-00:03.asmon Kris Kennaway (Feb 19)
- Re: cisco/ascend snmp config tool or exploit? -- Re: snmp problems still alive Michal Zalewski (Feb 20)
- Patch Available for "VM File Reading" Vulnerability Microsoft Product Security (Feb 19)
- Re: cisco/ascend snmp config tool or exploit? -- Re: snmp problems still alive Michal Zalewski (Feb 20)
- unused bit attack alert LigerTeam (Feb 21)
- A.L.E.R.T.: BigMailBox.com href tokens leave mailboxes open to control by a malicious site. Cancer Omega (Feb 21)
- Re: unused bit attack alert Jochen Bauer (Feb 22)
- Re: unused bit attack alert Carlos García Argos (Feb 22)
- Re: unused bit attack alert CyberPsychotic (Feb 22)