Hi all, I am planning to edit sudoers files in /etc. when i open this wiht vim command and change some thing it said "this file is read only" Is this okay to change the status of sudoers files. or any implication? please point Regards, Vijay Shanker Dubey Ph: +91-9818311884 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20091028/3ab75b2f/attachment-0002.html>
You should be using visudo for editing the file vijay shanker <vijay.shad at gmail.com> wrote:>Hi all; > >One thing more does there any tool in GNOME which can be used to edit >sudoers file. > >:) > >Thanks.. > >Regards, >Vijay Shanker Dubey >Ph: +91-9818311884 > > >On Wed, Oct 28, 2009 at 1:29 PM, vijay shanker <vijay.shad at gmail.com> wrote: > >> Hi all, >> >> I am planning to edit sudoers files in /etc. >> >> when i open this wiht vim command and change some thing it said "this file >> is read only" >> >> Is this okay to change the status of sudoers files. or any implication? >> please point >> >> Regards, >> Vijay Shanker Dubey >> Ph: +91-9818311884 >> >_______________________________________________ >CentOS mailing list >CentOS at centos.org >http://lists.centos.org/mailman/listinfo/centos
Try with visudo On Wed, Oct 28, 2009 at 9:59 AM, vijay shanker <vijay.shad at gmail.com> wrote:> Hi all, > > I am planning to edit sudoers files in /etc. > > when i open this wiht vim command and change some thing it said "this file > is read only" > > Is this okay to change the status of sudoers files. or any implication? > please point > > Regards, > Vijay Shanker Dubey > Ph: +91-9818311884 > > _______________________________________________ > 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/20091028/7f13ff6f/attachment-0002.html>