deleting password for a user

Christopher J. Bottaro cjbottaro at alumni.cs.utexas.edu
Fri Jul 21 15:43:00 UTC 2006


Felipe Figueiredo wrote:

> On Thursday 20 July 2006 18:41, Christopher J. Bottaro wrote:
>> Thomas Olsen wrote:
>> > On Thursday den 20. July 2006 17:17, Christopher J. Bottaro wrote:
>> >> 'passwd -d new_user' executed without error, but then when I try to
>> >> 'su
>> >> - new_user', it asked for a password.  Is there anyway I can remove a
>> >> password for a user?
>> >>
>> >> Thanks for the help.
>> >
>> > You can do:
>> >
>> > sudo passwd new_user
>>
>> That sets new_user's passwd.  I want to make new_user not have a password
>> at all so I can su into that account with typing a password.
> 
> Thomas has a point. The root user is allowed to set blank passwords.

Nod, but I said in my first post "sudo passwd -d new_user" executes without
error.  The problem is that it seems to have no effect, because when
I 'su - new_user' it asks for a password.

Oh well, it's not that important I guess since "sudo su - new_user" works
fine...except I just broke sudo cuz I changed /etc/hostname and
not /etc/hosts...haha!





More information about the kubuntu-users mailing list