Can't sudo

Richard Rudnick rich at
Wed Feb 13 17:14:19 UTC 2008

Derek Broughton wrote:

> It _should_ be possible to reboot into single-user mode, but since ben can't
> sudo, I'm not even sure that would work.

If he hasn't set a root password, booting into single user (recovery
mode) will allow him root access. If he has a root password and has
forgotten it, adding  init=/bin/sh  to the grub kernel line will bypass
the password. At this point you can fix the root password and sudo.

More information about the ubuntu-users mailing list