From: Dunn Alethia D CONT DLVA <DunnAD () NSWC ! NAVY ! MIL>
To: tru64-unix-managers
Subject: SUMMARY: how do I pass a password using su - username -c
Date: Thu, 31 Jan 2002 13:01:16 +0000 [thread overview]
Message-ID: <102653723422138.tru64-unix-managers.marc@archive.invalid> (raw)
The consensus seems to be: Cannot be done. Use sudo or expect.
Thanks to all!
> -----Original Message-----
> From: Dunn Alethia D CONT DLVA
> Sent: Wednesday, January 30, 2002 2:06 PM
> To: 'tru64-unix-managers@ornl.gov'
> Subject: how do i pass a password using su - username -c
>
>
>
> 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@nswc.navy.mil
>
>
reply other threads:[~2002-01-31 13:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox