[maemo-users] Visudo Help

From: Dr. Nicholas Shaw Doc at DocHarley.com
Date: Thu Aug 16 15:49:28 EEST 2007
Thanks, Paul. By default sudoers is not writable so in order to make





From: maemo-users-bounces at maemo.org [mailto:maemo-users-bounces at maemo.org]
On Behalf Of Paul Klapperich
Sent: Wednesday, August 15, 2007 9:38 PM
Cc: maemo-users at maemo.org
Subject: Re: Visudo Help


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
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 password you
created. Additionally, you could do the above without ssh, or with
/etc/ssh/sshd modified to disallow root login. You should be able to switch
to the root user using 'su' if you have a root password set and known. You
may need to add 'user' to the wheel group or something, though

Why did you change the permissions to sudoers in the first place? My mistake
is usually syntax errors inside /etc/sudoers. Oops.


On 8/15/07, Dr. Nicholas Shaw <Doc at docharley.com> 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 sudoers file and plan to do it CORRECTLY this time, e.g. use visudo.

Now my problem - I can't find visudo anywhere on the N800.  Is it available
separately or am I just not looking in the right place? Or is there some 
other way that doesn't use visudo?

I've looked in /usr/bin and /bin.

Thanks much in advance!


maemo-users mailing list
maemo-users at maemo.org


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-users/attachments/20070816/11d2d5e1/attachment.htm 
More information about the maemo-users mailing list