[Gllug] a more intelligent shell

Bruce Richardson itsbruce at uklinux.net
Mon May 15 11:22:56 UTC 2006


On Mon, May 15, 2006 at 11:37:05AM +0100, David wrote:
> On Monday, 15 May 2006, Bruce Richardson wrote:
> >A much safer approach than having a blacklist of dangerous commands
> >would be to have a whitelist of safe commands that could be included in
> >corrections.
> 
> ls is safe, right? So "<something> |xargs rm" can be corrected to "ls
> | xargs rm". I can't see this working...

As I said, I wouldn't trust it.


-- 
Bruce

Explota!: miles de lemmings no pueden estar equivocados.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: Digital signature
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20060515/575f1817/attachment.pgp>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list