FAQ > OS > HOW TO > USER > PASSWORD


PASSWORD

Lubuntu requires a minimum password length of 4 characters. It's a common idea that to make a secure password; you'll need to double that minimum password length and include a mix of numbers, letters and special characters [example: g4#wP8j$]. That's the sort of password you get from us.


However; you may want to read How to create a strong password (and remember it) from Consumer Reports and Password Haystacks: How Well Hidden is Your Needle? from the Gibson Research Corporation.


CHANGE THE PASSWORD
To change the password for a Lubuntu user, you must boot, or re-boot into Recovery Mode. Note: Lubuntu is referred to in GRUB as "Ubuntu."

1. Upon booting, or re-booting the computer; hold the [Shift] key down until you see the Boot Menu (GRUB).

Hold down [Shift]

2. Arrow down to Advanced Options for Ubuntu[Enter]

GRUB 2

3.
On the second GRUB page, arrow down to
Ubuntu, with Linux X.X.XX-XX-generic (recovery mode)[Enter]
If there is more than one recovery mode line, select the top (latest) one.

Grub 2 Recovery Mode

4. Arrow-down to Drop to root shell prompt[Enter]

Drop to a Root Shell Prompt

5. Hit [Enter] for maintenance

Enter for maintenance

6. Type: mount -o rw,remount /[Enter]
This makes the drive mount as read-write instead of read-only.

Mount HDD
If you forgot your username,
type the following to see a list of users:
ls /home[Enter]
You'll see your username and then Systemback
Password Commands

7. Type:
passwd username[Enter]
Notice there is no letter "o" or  letter "r" in passwd.

Example:
To change the password for matthew, type:
passwd matthew[Enter]

8. Without asking for the old password, Lubuntu will prompt you for the new password. The minimum password length is 4 characters.

Change Password

When you've typed in the new password, press [Enter]. You'll be prompted to retype the password. Again, you won't see the new password as you type. Press [Enter].

9. Type:
sync[Enter]

10. Type:
reboot -f[Enter]


ALSO SEE: XScreenSaver

MORE: Password and Name Changes and Auto-Login [Linux LXDE Guide], Protect Linux Servers Physical Console Access [nixCraft],  Remote Desktop/VNC [Ubuntu Community Help Wiki] and Virtualbox Guest Additions onto a Lubuntu Virtual Machine [Ubuntu Community Help Wiki].



Top