----- Original Message ----- From: "Graeme Robinson" <[EMAIL PROTECTED]> To: "Darrell May" <[EMAIL PROTECTED]> Cc: "e-smith-devinfo" <[EMAIL PROTECTED]> Sent: Tuesday, October 16, 2001 6:08 AM Subject: Re: [e-smith-devinfo] command-line buffer?
> On Mon, 15 Oct 2001, Darrell May wrote: > > > > > I call this somewhat of a developer question :) When we login as root on > > a server and perform our magic, I would like to be able to clear the > > command line buffer (don't know what else to call it) so that the next > > root login does not get to use the up arrow and scroll through what I've > > done. There are just some commands I do not want clients playing with or > > seeing the syntax and trying themselves ;-) > > Darrell, I suggest you bypass this question by using sudo. Then there is > no need for anyone to login as root plus you will keep your command > history and no-one else will see it. > > The one exception to this I find is using flexbackup in interactive mode, > but I suspect this is a paths issue (you don't get root paths using sudo). > If you use su - ( that's a minus sign ) then you will retain the paths. Rod -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org
