On Wed, Feb 21, 2007 at 04:27:39PM +0100, Marc Zonzon wrote:
> Oh I don't want to produce "Become Root VI: the truth" nor "All you want to
> know about BecomeRoot ..." but I was not satisfied with:
> user ALL = NOPASSWD: /bin/su
> (or /bin/sh or gainroot ...)

FWIW I use

    user ALL = (ALL) NOPASSWD: ALL
    root ALL = (ALL) NOPASSWD: ALL

because I like to do things like 'sudo vi /etc/somesystemfile'.

> because I don't want to open root to anybody, to put a password for user was
> not alsways convenient even with 770 as pointed in the BecomeRoot2 howto, and 
> it seems that on N800 the system want to forbid it because it answers:
> 
> ~ $ passwd
> The password for user cannot be changed.

That's because you are running passwd as user, and user doesn't have a
password set.  If you run 'passwd user' as root, it should work.

> Of course you can still change /etc/passwd.

Marius Gedminas
-- 
One could envision a different approach to persistence (hands wave and
magical stardust appears overhead to percussive indian string music)
where objects in the database were proxied rather than deriving from a
common base class.
        -- Casey Duncan

Attachment: signature.asc
Description: Digital signature

_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to