using su in a ksh script

From: Spalding, Stephen <SSpaldin_at_mem-ins.com>
Date: Thu, 01 Apr 1999 15:34:51 -0600

Hello all!

I'm trying to use the "su - <username>" command in a shell script, and I'm
having difficulty trying to figure out how to have the user's password
follow this command. Can anyone give me any examples of this? BTW - I'm
using ksh.

Thank you!

-Stephen Spalding


Stephen Spalding
Associate System Administrator
Missouri Employers Mutual Insurance
sspaldin_at_mem-ins.com
1000 West Nifong
Columbia, MO 65203
(573) 499 - 4230
(800) 442 - 0590
fax (573) 499 - 4310
Received on Fri Apr 02 1999 - 14:25:34 NZST

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