Re: after usermod can not su to root
2009/4/11 Harry Rickards <hrickards@l33tmyst.com>:
>
>
> 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.
> Do you mean 'sudo su' is not working? If so just use 'su', and enter the
I did su root..
> root password, not your password. If you don't know the root password try
I know the root password but now it does not work after I did the
usermod..
> pressing 'e' on the right GRUB entry, and adding 'single' to the end of the
> line. This boots up Debian as root.
Thanks I will try this.
--
Zhengquan
Reply to: