-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 The other thing here, why not do a 'su -' instead? this will put you into a pure shell as root. It would seem to me that sudo is more for single shot commands. I don't know further since I do Slackware but I thought sudo vs su are native linux commands and not distro specific in any way. On Sun, Aug 10, 2008 at 03:20:04PM -0700, Tyler Spivey wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > To solve your first point, try: > sudo sh -c "echo whatever >file" > This is needed because the redirection operator will be taken by your > own shell, not the one that is being run by sudo, thus you will get a > permission denied error. > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > iEYEARECAAYFAkifaZQACgkQTsjaYASMWKQYXQCfehG6UusGjmKUW8+QCTs3L0qi > sIIAn0NP5dHogy2udo+c1AK+FnDJcMFc > =Dlnq > -----END PGP SIGNATURE----- > _______________________________________________ > Speakup mailing list > Speakup at braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup - -- HolmesGrown Solutions The best solutions for the best price! http://holmesgrown.ld.net/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIqQ4eWSjv55S0LfERAxZxAKCpw2/MXlX0A5d5rpu/mr1mXTi4zQCg2Cvq IsOANeVxiaU3oWeKNRn5sls= =kdC+ -----END PGP SIGNATURE-----