At 10:11 AM 1/29/2008, Wojciech Puchar wrote:
Your script likely has as the first line:
#!/usr/local/bin/bash
I would suspect /usr/local/bin is not in the path of the problem accounts or
$ echo $PATH
/bin:/usr/bin:/usr/games:/usr/local/bin:/usr/X11R6/bin:/smietnik/tmp/bin
$ echo $PATH
/bin:/usr/bin:/usr/games:/usr/local/bin:/usr/X11R6/bin:/smietnik/tmp/bin
[EMAIL PROTECTED] ~]$ cat /etc/shells
/bin/sh
/bin/csh
/bin/tcsh
/usr/local/bin/bash
to make things more funny, /usr/local/bin/bash is a default shell for that
(and other) account.
isn't in /etc/shells, or is restricted to run for only some users and
groups. Check the bash executable doing:
ls -al /usr/local/bin/bash
[EMAIL PROTECTED] ~]$ ls -al /usr/local/bin/bash
-rwxr-xr-x 1 root wheel 748288 15 cze 2007 /usr/local/bin/bash
Check your script then, add:
set -x
near the top and see where it is complaining.
-Derek
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"