... and as usual Jim explains it clearly, rather than my little cryptic note.
Thanks Jim, Roy. On 16/05/07, Jim Cheetham <[EMAIL PROTECTED]> wrote:
On 16/05/07, Roy Britten <[EMAIL PROTECTED]> wrote: > On 15/05/07, Ben Ford <[EMAIL PROTECTED]> wrote: > > you'll be able to edit > > sudoers > > Using visudo, one presumes. Well, I guess the problem in the first place was that the installer didn't try to use visudo to make its changes, and just blatted a line straight in there. visudo not only swaps out into a temporary file for editing (like many other config-file-specific editors), but it does a sanity check on syntax before swapping it back in again - which in theory would have caught the original fault. In the case of doing a manual recovery of the sudoers file, using visudo will help you be sure that the file is valid (even if it doesn't do what you want, though); and this will save time in case you have to go back to the liveCD in order to try fixing your fix ... :-) -jim
