thanks rob giving valuable time for me. actually i dont wanna show logic of command. On Fri, Mar 27, 2009 at 9:34 AM, Marti, Rob <RJM002@xxxxxxxx> wrote: > -----Original Message----- > From: redhat-list-bounces@xxxxxxxxxx [mailto: > redhat-list-bounces@xxxxxxxxxx] On Behalf Of Joy Methew > Sent: Friday, March 27, 2009 5:45 AM > To: General Red Hat Linux discussion list > Subject: Re: command > > thanks george > > i dont wanna do this from permission. > > On Fri, Mar 27, 2009 at 4:11 PM, George Magklaras <georgios@xxxxxxxxxxxxx > >wrote: > > > If permissions cannot solve the problem (chmod, selinux) (you do not > > specify who is others), you could briefly re-write your script in Perl > and > > use perlcc (man perlcc) to produce an executable that is not so easy to > > read. > > > > -- > > -- > > George Magklaras BSc Hons MPhil > > RHCE:805008309135525 > > > > Senior Computer Systems Engineer/UNIX-Linux Systems Administrator > > EMBnet Technical Management Board > > The Biotechnology Centre of Oslo, > > University of Oslo > > http://folk.uio.no/georgios > > > > > > > > Joy Methew wrote: > > > >> hello all, > >> > >> i make a script on bash shell to create 100 users. now i > >> wanna make this script as a command then i copy this script in /bin > >> directory.give execute permission. > >> > >> it`s working. > >> > >> but now any other can read this script bcoz this is in simple text > format > >> not encryptd and not in binary. > >> > >> i waana hide my scripting. > >> > >> any suggestion. > >> > >> thanks. > > ------------------------------------------------------------------------------- > Why not use permissions? chmod ug-rw,+x should do exactly what you want, > and is millions of miles more "secure" than obfuscating with perl. > > One question - if everyone is going to be able to run the command, why do > you care if they can cat it? > > Rob Marti > > > > > > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list