Re: [expert] Can't run perl scripts as non-root in 9.1

2003-07-29 Thread Jack Coates
On Mon, 2003-07-28 at 21:05, Todd Lyons wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James Sparenberg wanted us to know: Or worse: #!/usr.perl\r\n ? ^^ This is one of the most subtle problems when a script won't start... it's not visible in

[expert] Can't run perl scripts as non-root in 9.1

2003-07-28 Thread Ryan Hanlon
I installed 9.1 a few weeks ago, and just recently discovered that non-root users can't run perl scripts. If I run any script with #!/usr/bin/perl in the first line, I get something like this: -bash: ./test.pl: /usr/bin/perl: bad interpreter: Permission denied The script itself is

Re: [expert] Can't run perl scripts as non-root in 9.1

2003-07-28 Thread Jack Coates
Funky. What's the msec SECURE_LEVEL? cat /etc/sysconfig/msec. If it's 4 or 5, that's a damn good place to start looking. On Mon, 2003-07-28 at 12:14, Ryan Hanlon wrote: I installed 9.1 a few weeks ago, and just recently discovered that non-root users can't run perl scripts. If I run any

Re: [expert] Can't run perl scripts as non-root in 9.1

2003-07-28 Thread Ryan Hanlon
Here's the /etc/security/msec directory: -rwxr-xr-x1 root root0 Jul 10 11:47 security.conf* lrwxrwxrwx1 root root 27 Jul 10 11:05 server - /etc/security/msec/server.4 -rw-r--r--1 root root 193 Mar 7 06:41 server.4 -rw-r--r--1 root

Re: [expert] Can't run perl scripts as non-root in 9.1

2003-07-28 Thread Thomas Backlund
Viestissä Maanantai 28 Heinäkuu 2003 23:30, Ryan Hanlon kirjoitti: Here's the /etc/security/msec directory: -rwxr-xr-x1 root root0 Jul 10 11:47 security.conf* lrwxrwxrwx1 root root 27 Jul 10 11:05 server - /etc/security/msec/server.4 -rw-r--r--1 root

Re: [expert] Can't run perl scripts as non-root in 9.1

2003-07-28 Thread Jack Coates
On Mon, 2003-07-28 at 13:30, Ryan Hanlon wrote: Here's the /etc/security/msec directory: -rwxr-xr-x1 root root0 Jul 10 11:47 security.conf* lrwxrwxrwx1 root root 27 Jul 10 11:05 server - /etc/security/msec/server.4 -rw-r--r--1 root root

Re: [expert] Can't run perl scripts as non-root in 9.1

2003-07-28 Thread ryan
Sorry :) /etc/sysconfig/msec says: UMASK_ROOT=022 SECURE_LEVEL=4 HISTFILESIZE=10 UMASK_USER=022 TMOUT=0 I tried running msec but no matter which level I set it to, it still doesn't seem to affect the perl behavior. Whatever level I set does show in /etc/sysconfig/msec. Ryan On Mon,

Re: [expert] Can't run perl scripts as non-root in 9.1

2003-07-28 Thread Jack Coates
dang, there goes the easy solution. Next step is to rpm -e --force perl and urpmi perl. On Mon, 2003-07-28 at 15:38, [EMAIL PROTECTED] wrote: Sorry :) /etc/sysconfig/msec says: UMASK_ROOT=022 SECURE_LEVEL=4 HISTFILESIZE=10 UMASK_USER=022 TMOUT=0 I tried running msec but no matter

Re: [expert] Can't run perl scripts as non-root in 9.1

2003-07-28 Thread James Sparenberg
On Mon, 2003-07-28 at 15:38, [EMAIL PROTECTED] wrote: Sorry :) /etc/sysconfig/msec says: UMASK_ROOT=022 SECURE_LEVEL=4 HISTFILESIZE=10 UMASK_USER=022 TMOUT=0 I tried running msec but no matter which level I set it to, it still doesn't seem to affect the perl behavior. Whatever level

Re: [expert] Can't run perl scripts as non-root in 9.1

2003-07-28 Thread Pierre Fortin
On 28 Jul 2003 18:26:34 -0700 James Sparenberg [EMAIL PROTECTED] wrote: Ok... I'm a dummy here but one question. Does the first line in the perl script the one that should be something like #!/usr/bin/perl Actually say that or does it say #!/usr/local/bin/perl Or worse:

Re: [expert] Can't run perl scripts as non-root in 9.1

2003-07-28 Thread James Sparenberg
On Mon, 2003-07-28 at 19:30, Pierre Fortin wrote: On 28 Jul 2003 18:26:34 -0700 James Sparenberg [EMAIL PROTECTED] wrote: Ok... I'm a dummy here but one question. Does the first line in the perl script the one that should be something like #!/usr/bin/perl Actually say that or

Re: [expert] Can't run perl scripts as non-root in 9.1

2003-07-28 Thread Todd Lyons
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 James Sparenberg wanted us to know: Or worse: #!/usr.perl\r\n ? ^^ This is one of the most subtle problems when a script won't start... it's not visible in most editors unless in hex mode. This bug makes it