If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
I will add that what I am trying to do is add a line to the end of the file using a script, so going into su and/or pico isn't what i want. if there is another way that works better let me know and many thanks.
The Bitcastle graphic design, web development, hosting
If so, that's because the redirection is handled by the shell, and the shell's privileges are not altered by sudo. You can get around this problem by performing the redirection 'inside' the sudo process: