tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY:  how do I pass a password using su - username -c
@ 2002-01-31 13:01 Dunn Alethia D CONT DLVA
  0 siblings, 0 replies; only message in thread
From: Dunn Alethia D CONT DLVA @ 2002-01-31 13:01 UTC (permalink / raw)
  To: tru64-unix-managers


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
> 
> 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-01-31 13:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-31 13:01 SUMMARY: how do I pass a password using su - username -c Dunn Alethia D CONT DLVA

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox