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

Re: after usermod can not su to root





On 11 Apr 2009, at 18:58, zhang zhengquan <zhang.zhengquan@gmail.com> wrote:

Dear debian users,

I used to use islanddancer as username to login to my sid laptop. and
islanddancer is in sudoers file.
today I changed it to zhengquan using

sudo usermod -l zhengquan islanddancer

I did nothing else.

Now I can login using zhengquan but I was not able to su to root using
the root password.
also 'zhengquan' is not in sudoers file so now I can not edit
/etc/sudoers to include zhengquan.

Any help to save my system is greatly appreciated!

Regards,
--
Zhengquan




Do you mean 'sudo su' is not working? If so just use 'su', and enter the root password, not your password. If you don't know the root password try pressing 'e' on the right GRUB entry, and adding 'single' to the end of the line. This boots up Debian as root.

Thanks
Harry


Reply to: