But Balvinder, i think that shows the heights of thinking of different users. So, i think this could be a good example for all linux users who are teaching linux or learning linux. Take it positively :)
On Sat, Aug 11, 2012 at 12:30 AM, <[email protected]>wrote: > Send Ilugd mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://frodo.hserus.net/mailman/listinfo/ilugd > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Ilugd digest..." > > > Today's Topics: > > 1. Ubuntu sudo command problem (Raakesh kumar) > 2. Re: Ubuntu sudo command problem (Balwinder S Dheeman) > 3. ILUG-D activity in last 7 days ([email protected]) > 4. Re: Ubuntu sudo command problem > (Raj Mathur ( ??? =?utf-8?b?IOCkruCkvuCkpeClgeCksA==?=)) > 5. Re: Ubuntu sudo command problem (Mahesh T. Pai) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Fri, 10 Aug 2012 02:09:16 +0530 > From: Raakesh kumar <[email protected]> > To: The Linux-Delhi mailing list <[email protected]> > Subject: [ilugd] Ubuntu sudo command problem > Message-ID: > <CAEid6wHJVy1Dwo2io52ff9-AXapH-co-= > [email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi All, > Today i changed the permission of my /etc directory and it's sub > directories and files using "sudo nautilus". And now my everything > including servers and all have stopped working. When i type sudo anywhere > to use it shows an error as - > > sudo: /etc/sudoers is mode 0446, should be 0440 > sudo: no valid sudoers sources found, quitting > sudo: unable to initialize policy plugin > > Can somebody help me to get my system back as it was earlier.. Or is there > any way to restore my system back? > > Thanks in advance... > -- > Regards > RAKESH KUMAR > > > ------------------------------ > > Message: 2 > Date: Fri, 10 Aug 2012 04:37:53 +0530 > From: Balwinder S Dheeman <[email protected]> > To: [email protected] > Subject: Re: [ilugd] Ubuntu sudo command problem > Message-ID: <[email protected]> > Content-Type: text/plain; charset=UTF-8; format=flowed > > On 08/10/2012 02:09 AM, Raakesh kumar wrote: > > Today i changed the permission of my /etc directory and it's sub > > directories and files using "sudo nautilus". And now my everything > > including servers and all have stopped working. > > That's the most worst change any newbie like you can do. You should know > what you're doing particularly when fiddling with the system files and, > or directories. > > > When i type sudo anywhere to use it shows an error as - > > > > sudo: /etc/sudoers is mode 0446, should be 0440 > > sudo: no valid sudoers sources found, quitting > > sudo: unable to initialize policy plugin > > > > Can somebody help me to get my system back as it was earlier.. Or is > there > > any way to restore my system back? > > You did not tell what was the exact command or what indeed you typed, > hence all I can do is just guess or provide you a hint. Try booting your > system with a live/rescue CD/DVD and executing the following: > > $ sudo mount /dev/<partition> /mnt > $ sudo chmod -R o-w /mnt/etc > > Substitute the <partition> with root partition of your Ubuntu installation. > > WARNING: The above is also as dangerous as was your attempt to make your > system unusable. > > NOTE: All directories in your /etc including /etc should/can be 0555 or > 0755 and the files 0444 or 644, but some sensitive directories and, or > files containing passwords or serious things should/must not even be > readable by others i.e. these directories should/must be 0550 or 0750 > and files 0440 or 0640. > > Reboot your system; hope that helps. > > -- > Balwinder S "bdheeman" Dheeman > (http://werc.homelinux.net/contact/) > > > > > ------------------------------ > > Message: 3 > Date: Fri, 10 Aug 2012 08:10:02 +0530 > From: [email protected] > To: [email protected] > Subject: [ilugd] ILUG-D activity in last 7 days > Message-ID: <[email protected]> > Content-Type: text/plain; charset="us-ascii" > > Fri 10-Aug-2012: ILUG-D activity in last 7 days: > ============================================================= > New/recent events: 0 Total events: 83 > ============================================================= > New Discussion forum postings: 0 Total postings: 1143 > ============================================================= > New News items: 0 Total News items: 378 > ============================================================= > New Resources: 0 Total Resources: 0 > ============================================================= > New comments: 0 Total comments: 260 > ============================================================= > New pictures: 0 Total pictures: 231 > ============================================================= > New members: 4 Total members: 6995 > ------------------------------------------------------------- > 1. Anoop Sharma, Power User, , India > 2. Nullcon nullcon, User, , India > 3. Pulkit gupta, Novice, , India > 4. Shaunak , User, , India > ============================================================= > Send your suggestions, comments or feedback to admin_at_linux-delhi_dot_org > > -------------------------------------------------- > This email is brought to you by http://www.linux-delhi.org/ - India Linux > Users Group - Delhi. > > > ------------------------------ > > Message: 4 > Date: Fri, 10 Aug 2012 09:02:00 +0530 > From: "Raj Mathur ( ??? =?utf-8?b?IOCkruCkvuCkpeClgeCksA==?=)" > <[email protected]> > To: [email protected] > Subject: Re: [ilugd] Ubuntu sudo command problem > Message-ID: <[email protected]> > Content-Type: Text/Plain; charset="iso-8859-1" > > On Friday 10 Aug 2012, Raakesh kumar wrote: > > Today i changed the permission of my /etc directory and it's sub > > directories and files using "sudo nautilus". And now my everything > > including servers and all have stopped working. When i type sudo > > anywhere to use it shows an error as - > > > > sudo: /etc/sudoers is mode 0446, should be 0440 > > sudo: no valid sudoers sources found, quitting > > sudo: unable to initialize policy plugin > > > > Can somebody help me to get my system back as it was earlier.. Or is > > there any way to restore my system back? > > 1. Get a list of permissions of critical files in /etc/ from the 'net, a > friend's machine, wherever. > > 2. Boot into root. I won't tell you how, there are enough pointers on > the 'net. > > 3. Apply the correct permissions to your own /etc files. > > 4. Reboot. > > 5. Pay me. > > Regards, > > -- Raj > -- > Raj Mathur || [email protected] || GPG: > http://otheronepercent.blogspot.com || http://kandalaya.org || CC68 > It is the mind that moves || http://schizoid.in || D17F > > > > ------------------------------ > > Message: 5 > Date: Fri, 10 Aug 2012 19:43:24 +0530 > From: "Mahesh T. Pai" <[email protected]> > To: [email protected] > Subject: Re: [ilugd] Ubuntu sudo command problem > Message-ID: <20120810141324.GA3887@localhost> > Content-Type: text/plain; charset=us-ascii > > Raju Mathur said on Fri, Aug 10, 2012 at 09:02:00AM +0530,: > > > > Can somebody help me to get my system back as it was earlier.. Or is > > > there any way to restore my system back? > > > > 1. Get a list of permissions of critical files in /etc/ from the 'net, a > > friend's machine, wherever. > > If this is a simple desktop, the easier way out would be a reinstall. > > <joke> > > > 2. Boot into root. I won't tell you how, there are enough pointers on > > Will moving #5 above this help?? > > </J> > > Would rephrase as get into rescue mode, and (re)mount / with rw > permissions. That is, assuming Ubuntu boot loader has a rescue option, > which I believe it ought to have. > > > -- > Mahesh T. Pai || > Man's most judicious trait, is a good sense of what not to believe. > --Euripides > > > > ------------------------------ > > _______________________________________________ > Ilugd mailing list > [email protected] > http://frodo.hserus.net/mailman/listinfo/ilugd > > > End of Ilugd Digest, Vol 33, Issue 6 > ************************************ > _______________________________________________ Ilugd mailing list [email protected] http://frodo.hserus.net/mailman/listinfo/ilugd
