I see that you've found a solution to your original query. However,
I'd just like to comment on a general script technique. Especially
when executing programs with a security aspect, such as su, it's a
very good idea to give the entire absolute path to the program,
e.g., instead of just 'su', '/b
On Thu, Sep 04, 2003 at 11:25:27AM -0500, Dana Holland wrote:
> [EMAIL PROTECTED] wrote:
>
> >Try to add an extra '-' after 'su'
>
> Thanks! That was it - works great now!
Perhaps I should also explain why.
Simply giving "su" a command to execute will run it in the
environment of the calling pr
[EMAIL PROTECTED] wrote:
Try to add an extra '-' after 'su'
Thanks! That was it - works great now!
There's also a deactivate option available...
I saw that, but it didn't have enough info - does that simply prevent
logging in? Would it affect the functioning of this vacation program in
any wa
On Thu, 2003-09-04 at 11:50, Dana Holland wrote:
> I've written a shell script which will create a new user, then create a
> .forward and .vacation.msg file in the new user's home directory.
> Within this script, I'm trying to automate the initialization of the
> vacation program - that's wher
On Thu, Sep 04, 2003 at 10:50:22AM -0500, Dana Holland wrote:
> I've written a shell script which will create a new user, then create a
> .forward and .vacation.msg file in the new user's home directory.
> Within this script, I'm trying to automate the initialization of the
> vacation program -
I've written a shell script which will create a new user, then create a
.forward and .vacation.msg file in the new user's home directory.
Within this script, I'm trying to automate the initialization of the
vacation program - that's where I'm running into problems. I've tried it
two ways.
1.