At 08:53 PM 4/16/00, Alex C Clubbs wrote:
>Hi all!
>
> I've applied the script, done myself, to
>some of my ppp-users (/etc/passwd):
>test:...:...:...:/usr/sbin/ppplogin
>
> Yesterday I added a second one and there's now
>2 scripts lying in /usr/sbin - ppplogin and ppplogin-new.
> The problem is that when I try to setup the second as user shell - system
says 'no such file or directory - /usr/sbin/ppplogin', though
>it IS there.
> The permissions and ownerships are the same for both scripts. I even
change the name to the same - 'ppplogin'. The same result.
>
> Can this behaviour be explained somehow?
>Is it looks into the contents of the scripts, but anyway - why it says it
isn't there ?
>
> I've only added few lines in the second script if compare with the first...
>
>Hope anyone willl give a hint.
>
>Regards
>
>
The error is probably because some command in the new script is not
being found. The script file is being found, but when the shell
tries to run it, it can't find one of the commands, so it gives the
error message. It would be nice if the error message gave the program
that it can not find instead of the name of the script that it is
running, but I guess you can't have everything...
Mikkel
--
Do not meddle in the affairs of dragons,
for you are crunchy and taste good with ketchup.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]