:: Re: [dyne:bolic] save & exit
Inizio della pagina
Delete this message
Reply to this message
Autore: G_P
Data:  
To: dynebolic mailinglist
Oggetto: Re: [dyne:bolic] save & exit
T M wrote:
> Hi Guy , I've been having problems to edit the sudoers file i followed your instructions i change 'wheel' in 'admin' , but after esc, shit-, w, q, enter (to save & exit)i don't exit , so i close the window , all the other stuff is working, creating a user , putting my username by all the groups (video,audio,etc..)so that works alrite , but my passw doesn't work in the passw dialog box so can't do specific things like configurations , making a nest as a user, and shutdown, meaning i don't have sudo , so i try to edit the sudoers file again , it says changes were made already but something failed or went wrong, press help come into the file and i notice the change i made 'admin' is again 'wheel', and that's why i can't configure , or make a nest with the user , i guess, all other stuff works cool , i have acces to them cause i added my name to all the groups in the etc/group file.but editing the sudoers file is still not fixed for me, i tried three times , so question, cau
> se maybe i'm still doing something wrong it's :Escshift-wqenterthnx Guy , you've been of great help (Manoj too)rasyaw
> _________________________________________________________________
>

Hi

I guess all I can do is try and explain the steps again a little more
slowly & clearly. After you have made your changes

1) press esc to get out of editing mode

2) hold down the shift key and press the colon key (:) and a colon
should appear at the bottom of the screen.

3) type wq ( which are the commands to write the file & quit) so you
should see

:wq

at the bottom of your screen.

4) press enter


that should do it. You can do the w & the q commands separately as well
as other useful commands (including 'help'). Don't forget you can learn
more by typing

man vi

or

vimtutor


hope this helps

Guy