Thanks guys,<br><br>I have done my changes in the sudoers file.<br><br>what i did is ; added a group with same access as root.<br><br>how i am able to use sudo. but there is a problem.<br><br>my machine is responding very slow for the sudo. It takes almost 3 minutes to open a small file with command<br>

<br>sudo vim filename.conf<br><br>i don't think this might be because of the changes. But you can explain this situation to me.<br><br>To edit sudoers file I used visudo.<br><br>and thanks <span class="gI"><span class="ik">Majian for that command in vi editor. it was great.</span></span><br>

<br><br clear="all">Regards,<br>Vijay Shanker Dubey<br>Ph: +91-9818311884<br>
<br><br><div class="gmail_quote">On Wed, Oct 28, 2009 at 7:57 PM, Majian <span dir="ltr"><<a href="mailto:jiannma@gmail.com">jiannma@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Yeah! I agree you !!<br><br> You also can edit it and quit with :wq! in the Vi command ~~<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Wed, Oct 28, 2009 at 10:06 PM, Robert Spangler <span dir="ltr"><<a href="mailto:mlists@zoominternet.net" target="_blank">mlists@zoominternet.net</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>On Wednesday 28 October 2009 04:11, vijay shanker wrote:<br>
<br>
>  This file MUST be edited with the 'visudo' command as root.<br>
<br>
</div>NO, it MUST not be edited with 'visudo'.<br>
YES, you should use 'visudo'.<br>
<br>
You can edit sudoer with vi or vim and save the changes too.  Just read what<br>
it tells you you need to do in order to save it.<br>
<font color="#888888"><br>
<br>
--<br>
<br>
Regards<br>
Robert<br>
<br>
Linux User #296285<br>
<a href="http://counter.li.org" target="_blank">http://counter.li.org</a><br>
</font><div><div></div><div>_______________________________________________<br>
CentOS mailing list<br>
<a href="mailto:CentOS@centos.org" target="_blank">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</div></div></blockquote></div><br>
</div></div><br>_______________________________________________<br>
CentOS mailing list<br>
<a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
<br></blockquote></div><br>