[Anthill] Bourne shell problem
Eric Minick
eric at urbancode.com
Wed Feb 9 05:49:36 CST 2005
Thanks Phil!
Phil Mocek wrote:
>On Tue, Feb 08, 2005 at 11:55:26PM -0500, Eric Minick wrote:
>
>
>>Anthill [is] just running the commands as the user in question.
>>You would either want to configure the Websphere user to use the
>>Bourne shell
>>
>>
>
>Make that ``to use Bash''. The OP said Bourne Shell wasn't
>working for him but bash and Korn were.
>
>On many Unix-like systems, changing a user's login shell is
>performed using the usermod command, like this:
>
> usermod -s /bin/bash username
>
>which would change user ``username'' so that his login shell is
>/bin/bash.
>
>
>
>>or include the path to your bourne shell as the first line of your
>>edit.sh.
>>
>>
>
>To clarify, most shell scripts start out with a line that looks
>like one of these:
>
> #!/bin/sh
> #!/bin/bash
> #!/bin/csh
> #!/bin/ksh
> #!/bin/zsh
>
>Whatever comes after the ``shebang'' (the hash mark and
>exclamation point) indicates what command should be used to
>interpret the script. If your script uses features that are
>specific to bash, then it really should begin with
>``#!/bin/bash''.
>
>
>
More information about the Anthill
mailing list