su - in a command file

From: Daniel Clar <Daniel.Clar_at_supelec.fr>
Date: Sat, 08 Dec 2001 13:35:08 +0100

Hello Managers,

Under the root account I want to create a COMMAND file in which there is
a su - USER command.

This file will be executed during the night with an at time COMMAND to
do some management tasks. My current problem is thatv the environment
and in particular the shell are not currently set when it's executed.

An rsh -l USER command is doing some job but not the shell modification.

Thank you

Daniel Clar
Supelec
Received on Sat Dec 08 2001 - 12:37:34 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:43 NZDT