[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: passwordless root login

"J. Bruce Fields" <bfields@fieldses.org> writes:

> I'd like to configure a debian box to allow root logins without a
> password; what do I need to do?  The relevant line in the password file
> is
> root::0:0:root:/root:/bin/bash
> I thought the empty password field would do the job, but apparently not.
> There is no /etc/shadow file.

You probably don't want to do that, as that will give everyone access
to everything on your box. If you want to give selected users root
access from their own accounts, you can check out tools like sudo. If
you want to set up auto-login, you can configure your graphical login
manager (I think gdm and kdm can do this) to log in (preferably to a
normal user account).
Sacha Chua <sacha@free.net.ph> - Ateneo CS faculty geekette
interests: emacs, gnu/linux, wearables, teaching compsci

Reply to: