So I created a new user and password for other family members & friend to work,I normally forget the password and try to create a new password, everytime when they ask for the password.
I love people to work in ubuntu desktop but I regred to leek my password.
To avoid this situvation I found a solution to login my ubuntu-desktop without a password for my family members and friends.
Now how to do that?
Create a user, say “friends”.
open a terminal
verman@verman-desktop:~$
sudo adduser friends
[sudo] password for verman:(enter the admin password)
Adding user `friends’ …
Adding new group `friends’ (1005) …
Adding new user `friends’ (1005) with group `friends’ …
Creating home directory `/home/friends’ …
Copying files from `/etc/skel’ …
Enter new UNIX password:******
Retype new UNIX password: ******
passwd: password updated successfully
Changing the user information for friends
Enter the new value, or press ENTER for the default
Full Name []:
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [y/N] y
verman@verman-desktop:~$
Now new user “friends ” has been created
Now remove the password for the user “friends”
verman@verman-desktop:~$ sudo passwd -d friends
Password changed.
Now follow the 2 steps to Authorize login in gdm & pam
1. Authorize login with no passwords in gdm
verman@verman-desktop:~$ sudo sed -i ’s/#PasswordRequired=false/PasswordRequired=false/’ /etc/gdm/gdm.conf
2. Authorize login with no passwords in pam
verman@verman-desktop:~$ sudo sed -i ’s/nullok_secure/nullok/’ /etc/pam.d/common-auth
You can now log in with your “friends” user with no password.
To Know more on ’sed’, Continue reading Command : $sed.

Thanks you for this guide…
Just Stopped by to say hi, Thanks
This solved my problem perfectly.
Thanks for the write up.
Works great with Ubuntu 9.04 , solved my problem with the user accounts for the kids.
Thank you! =) Easy and effective!
Really good, thanks!
Is there anyway to do this for an ssh session. I want to create a user that people can scp stuff off my server without needing a password. I have followed your instructions but I still get Permission denied, please try again when I leave the password blank.
Check this link,I feel this will solve your problem.
Accelerator Guide: Disable Password Authentication for SSH Logins
I tried this with an existing guest account I created previously, but it doesn’t let me get by the login screen in gdm without a password. When I try, it says “Incorrect username or password. Letters must be typed in the correct case.” and returns to asking for the username again. The only commands I used from this tutorial are the one to remove the password from the account, and the two sed commands to change gdm and pam to not require passwords. Is there something else I need?
Have you removed the password of the GUEST user i.e,
————————————————————
Now remove the password for the user “friends”
verman@verman-desktop:~$ sudo passwd -d friends
Password changed.
————————————————————
likewise remove the password of guest
$ sudo passwd -d guest
then authorize login with no passwords in gdm
$ sudo sed -i ’s/#PasswordRequired=false/PasswordRequired=false/’ /etc/gdm/gdm.conf
any idea how to do same thing in RHEL?
sorry ! I have not tried in RHEL.