how do i pass a password using su - username -c

From: Dunn Alethia D CONT DLVA <DunnAD_at_NSWC.NAVY.MIL>
Date: Wed, 30 Jan 2002 14:06:09 -0500

> How do I pass the passwd for username when issuing su - username -c in a
> script. I am prompted for
> a password if I su - username on command line?
>
> Thanks!
>
>
>
>
>
>
> Alethia Dunn
> Chugach Telecommunications Company
> Computer Analyst
> Office: (540) 653-8255
> Fax: (540) 653-8415
> email: dunnad_at_nswc.navy.mil
>
>
Received on Wed Jan 30 2002 - 19:06:24 NZDT

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