set up a root password
Derek Broughton
news at pointerstop.ca
Fri Aug 8 18:46:00 UTC 2008
Joel Oliver wrote:
> OK, redirection is borked using sudo.
How so? Of course, you can't do "sudo command >/root/file", but you can't
do that with "su", either. I can't say I've tried to work around it, I
just use "sudo -i", but I'm sure it can be done with appropriate quoting.
> Now, I know redirection doesn't work, but unfortunately many bash
> scripters who assume you will run their script under root don't and I've
Hang on, that's just wrong. If I'm going to run a _script_, redirection in
the script is working.
--
derek
More information about the kubuntu-users
mailing list