4

I've made new admin account. I did not set a password for that account and it now asks me for the password. Since I can access the account as it automatically logs on when the laptop is turned on, can I set a new password?

3 Answers3

3

You can set a password from terminal, just open up your favorite terminal and type:

passwd

If your feeling advanced you can stop Ubuntu prompting for password by configuring polkit

Here's an example of configuring polkit to enable users to install apps without authentication.

squareborg
  • 10,737
1

There is no way you can set password from there.

Restart your PC.

Go to recovery mode.

Press enter on prompt-shell

(command prompt will open with root access)

Type :- passwd (admin-name)

Then its all ok.

1

From the sounds of it, you may not understand what exactly an "admin" account is - My answer may be irrelevant, but it seems appropriate to leave it here, anyway.

For a user to be an "admin" - they have to be in the sudo group -

$ sudo usermod -G sudo -a yourAdminUser

and then yourAdminUser will be a real admin.

rm-vanda
  • 3,202