Re: Is there any way to fix Software Update in Standard user accounts?



In article <1ifrlpd.jkze7zoa8mzbN%lists@xxxxxxxxxxxxxxxxxx>,
lists@xxxxxxxxxxxxxxxxxx (Jamie Kahn Genet) wrote:

Ian Gregory <foo@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:

Perhaps you can tell me how to quit visudo?
Because I cannot see any way to interface with this CL app in the way I
have with other CL apps like ... well, man for example. Or lynx. Or any
CL app I've been able to comprehend (my comprehension usually depending
on an understandable man file).

The default editor is vi. To enter the quit command, type a colon (:)
followed immediately by a q character, then press Return / Enter on the
keyboard:

:q

Quitting Terminal anyway leaves me with an error about a copy of the
sudoers file in a temp directory, IIRC (this was last night and I'm not
keen on running it again and getting stuck).

Also I'm experiencing slow launching of apps and beachballs since this.
I thought you said visudo isn't an editor? So why did it create a temp
version of the file? Anyone know what might be causing these slowdowns?
Could visudo have corrupted my sudoers file? Would that cause these
symptoms? Hardly any CPU cycles are being used.

When you abort (force quit) vi and there are unsaved changes to an open
document, vi saves the document, in its current unsaved state to a
temporary file so that you can easily recover those changes the next
time you run vi.

The next time you run vi and edit the same file, vi displays a notice
tat describes this and gives you instructions for recovering those
changes. It's pretty straight-forward. Basically, you enter the
"recover" command, like so:

:recover

Then you save the file with the write command:

:w

--
Please send all responses to the relevant news group. E-mail sent to
this address may be devoured by my very hungry SPAM filter. I do not
read posts from Google Groups. Use a real news reader if you want me to
see your posts.

JR
.


Quantcast