hi,

su - USERID -c COMMAND_AND_TAIL

su - steven -c ls -lR 

Jalal,


> From [EMAIL PROTECTED] Sun Nov 12 01:39:31 2000
> Delivered-To: [EMAIL PROTECTED]
> X-Authentication-Warning: syslang.localhost.localdomain: steveo owned process doing 
>-bs
> Date: Sat, 11 Nov 2000 17:10:36 -0500 (EST)
> From: "Steven W. Orr" <[EMAIL PROTECTED]>
> X-Sender: [EMAIL PROTECTED]
> To: redhat-list <[EMAIL PROTECTED]>
> Subject: Stoopid su question.
> MIME-Version: 1.0
> X-Loop: [EMAIL PROTECTED]
> X-BeenThere: [EMAIL PROTECTED]
> X-Mailman-Version: 2.0beta4
> List-Id: General Red Hat discussion list <redhat-list.redhat.com>
> X-MDaemon-Deliver-To: [EMAIL PROTECTED]
> X-Return-Path: [EMAIL PROTECTED]
> X-MDRcpt-To: [EMAIL PROTECTED]
> X-MDRemoteIP: 199.183.24.211
> 
> I need to run a command from su which takes an option. Specifically:
> 
> su - steveo fetchmail -q
> 
> I tried all the variations I could e.g.,
> 
> su -lc steveo fetchmail -q
> su -l steveo -c fetchmail -q
> 
> It just doesn't like the syntax. Anyone know how to do this?
> 
> TIA
> 
> -- 
> -Time flies like the wind. Fruit flies like a banana. Stranger things have -
> -happened but none stranger than this. Does your driver's license say Organ
> -Donor?Black holes are where God divided by zero. Listen to me! We are all-
> -individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]
> 
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 
> 




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to