From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <97426854302944.tru64-unix-managers.marc@archive.invalid> From: Ronny Yusniawan Date: Wed, 15 Nov 2000 06:09:03 +0000 To: tru64-unix-managers Subject: SUMMARY:su command without password entry from non 'root' account X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=97426854302944 Hi, The C code is answering my question. Thanks to Robert Mulley. Besides, I got many other reponses ... thanks to them as well: Salvatore J Guercio Stan Horwitz Martin Barret Thanks & rgds Ronny Yusniawan E-mail: ryusniawan@hotmail.com ------------------------------------------- Hello, I don't know how you would do this using permissions etc... but you could do something along these lines. 1. Write a C program #include int main( int argc, char **argv ) { char *command; int i; command = malloc( 255 ); if ( argc > 1 ) { strcpy( command, "/usr/bin/su" ); for( i=1;i