Visudo Help

2007-08-15 Thread Dr. Nicholas Shaw
Ok, after my major screw-up last week (I directly modified the sudoers file but failed to change the permissions back to 0444), I flashed to the newest OS upgrade and re-installed all of my applications. Now I need to modify the sudoers file and plan to do it CORRECTLY this time, e.g. use visudo.

Re: Visudo Help

2007-08-15 Thread Paul Klapperich
I'm not sure if it has visudo or not and my unit isn't handy, but here's a safety net: Install OpenSSH or Dropbear, then do sudo gainroot passwd enter a root password Now if you mess up your /etc/sudoers, you can always open Putty/Xterm on your desktop and ssh into the root account using the root

RE: Visudo Help

2007-08-16 Thread Dr. Nicholas Shaw
Thanks, Paul. By default sudoers is not writable so in order to make changes. Nick. _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Klapperich Sent: Wednesday, August 15, 2007 9:38 PM Cc: maemo-users@maemo.org Subject: Re: Visudo Help I'm not sure

Re: Visudo Help

2007-08-16 Thread Paul Klapperich
f you want. --Paul > > > > Nick. > > > > > > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of Paul Klapperich > Sent: Wednesday, August 15, 2007 9:38 PM > Cc: maemo-users@maemo.org > Subject: Re: Visudo Help > > > >

RE: Visudo Help

2007-08-16 Thread Dr. Nicholas Shaw
7;T return the permissions back. :-( Lesson learned. Nick. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Klapperich Sent: Thursday, August 16, 2007 07:40 To: Dr. Nicholas Shaw Cc: maemo-users@maemo.org Subject: Re: Visudo Help On 8/16/07, Dr. Nic

Re: Visudo Help

2007-08-16 Thread James Sparenberg
On Wednesday 15 August 2007 15:12:27 Dr. Nicholas Shaw wrote: > Ok, after my major screw-up last week (I directly modified the sudoers file > but failed to change the permissions back to 0444), I flashed to the newest > OS upgrade and re-installed all of my applications. Now I need to modify > the

Re: Visudo Help

2007-08-16 Thread Paul Klapperich
On 8/16/07, James Sparenberg <[EMAIL PROTECTED]> wrote: > > On this one visudo is not on the box but the real solution is don't chmod > the file. VI it as root, then instead of doing wq to quit (write quit) do > wq! (w q then exclamation point or more commonly known as bang) this will > overr

RE: Visudo Help

2007-08-16 Thread Dr. Nicholas Shaw
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Klapperich Sent: Thursday, August 16, 2007 9:44 PM Cc: maemo-users@maemo.org Subject: Re: Visudo Help On 8/16/07, James Sparenberg <[EMAIL PROTECTED]> wrote: > > On this one visudo is not on the box but the real solut

Re: Visudo Help

2007-08-17 Thread Paul Klapperich
L PROTECTED] > On Behalf Of Paul Klapperich > Sent: Thursday, August 16, 2007 9:44 PM > Cc: maemo-users@maemo.org > Subject: Re: Visudo Help > > On 8/16/07, James Sparenberg <[EMAIL PROTECTED]> wrote: > > > > On this one visudo is not on the box but the real soluti

Re: Visudo Help

2007-08-17 Thread James Sparenberg
On Thursday 16 August 2007 20:44:16 Paul Klapperich wrote: > On 8/16/07, James Sparenberg <[EMAIL PROTECTED]> wrote: > > On this one visudo is not on the box but the real solution is don't > > chmod the file. VI it as root, then instead of doing wq to quit (write > > quit) do wq! (w q then ex