Thanks guys, I have done my changes in the sudoers file. what i did is ; added a group with same access as root. how i am able to use sudo. but there is a problem. my machine is responding very slow for the sudo. It takes almost 3 minutes to open a small file with command sudo vim filename.conf i don't think this might be because of the changes. But you can explain this situation to me. To edit sudoers file I used visudo. and thanks Majian for that command in vi editor. it was great. Regards, Vijay Shanker Dubey Ph: +91-9818311884 On Wed, Oct 28, 2009 at 7:57 PM, Majian <jiannma at gmail.com> wrote: > Yeah! I agree you !! > > You also can edit it and quit with :wq! in the Vi command ~~ > > > On Wed, Oct 28, 2009 at 10:06 PM, Robert Spangler <mlists at zoominternet.net > > wrote: > >> On Wednesday 28 October 2009 04:11, vijay shanker wrote: >> >> > This file MUST be edited with the 'visudo' command as root. >> >> NO, it MUST not be edited with 'visudo'. >> YES, you should use 'visudo'. >> >> You can edit sudoer with vi or vim and save the changes too. Just read >> what >> it tells you you need to do in order to save it. >> >> >> -- >> >> Regards >> Robert >> >> Linux User #296285 >> http://counter.li.org >> _______________________________________________ >> CentOS mailing list >> CentOS at centos.org >> http://lists.centos.org/mailman/listinfo/centos >> > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20091029/2dd81ee8/attachment-0005.html>