[maemo-developers] becomeroot once again but with password
From: Marius Gedminas marius at pov.ltDate: Wed Feb 21 17:41:41 EET 2007
- Previous message: becomeroot once again but with password
- Next message: becomeroot once again but with password
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20070221/873b6275/attachment.pgp
- Previous message: becomeroot once again but with password
- Next message: becomeroot once again but with password
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
