deleting password for a user

Michael Beattie mtbeedee at gmail.com
Fri Jul 21 15:59:00 UTC 2006


On 7/21/06, Christopher J. Bottaro <cjbottaro at alumni.cs.utexas.edu> wrote:
> 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!
>
>

Just because it asks for a password doesnt mean that there are any
passwords that will work...

Also, look into "passwd -l"




More information about the kubuntu-users mailing list