Author Topic: Creating password for P6 after installing (SOLVED)  (Read 1483 times)

Offline FlyingFox

  • Newly Subscribed
  • *
  • Posts: 10
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Creating password for P6 after installing (SOLVED)
« on: July 02, 2016, 11:25:58 am »
Hi, guys

Hope this is the right place to post this if not apologies in advance.

When I installed P6 I didn't set a password on start-up but have now decided that it makes sense but can I create one after the event to protect access and if so can some kind person talk me through it.

I do have a password to make changes like installing updates.

Kind regards.
« Last Edit: July 03, 2016, 02:42:36 am by FlyingFox »

Offline Slim.Fatz

  • Global Moderator
  • Veteran
  • *****
  • Posts: 2377
  • Karma: 624
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 10 - 64bit
Re: Creating password for P6 after installing
« Reply #1 on: July 02, 2016, 11:34:47 am »
Hi FlyingFox,

First of all tell us if during the installation you selected to have automatic login. That is: when starting your computer, are you presented with a login screen?

Then tell us how you went about setting up a password to install software and updates.  :-\

It could very well be the case that the password you are using for software updates is also your user password. If so, you probably just need to change your configuration so that you do not automatically get thrown into the desktop, but instead you get presented with a login screen asking for your password.

Regards,

-- Slim
Respect science, respect nature, respect each other.

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome

Offline FlyingFox

  • Newly Subscribed
  • *
  • Posts: 10
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Creating password for P6 after installing
« Reply #2 on: July 02, 2016, 01:18:21 pm »
Hi. Slim

Thanks for replying.

I don't get a login screen as when I installed P6 I didn't specify a password at login but I assume that there was another screen during installation that asked for a password for administrator or something similar - it's such a long time ago I actually cannot remember.

Sorry to be so vague.

Regards.

 


Offline zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 3233
  • Karma: 625
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 / P9 Respin
Re: Creating password for P6 after installing
« Reply #3 on: July 02, 2016, 01:33:54 pm »
Hi FlyingFox

You have a user name, that username has a password and you use that to install programs etc.

You chose to automatically login when P6 starts and it does so with your username and the password you use daily. It remembers them. You just need to turn off that auto login function.

I will try and find the instructions from a former post and I will get back to you

Regards Zeb..

ps or PCNetSpec will or one of the other "Techie" gurus
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

P10r x64 Desktop - AMD Threadripper 2950X - 64Gb RAM - NVIDIA RTX2080Ti 11Gb - 2 x 27" 4k

Offline zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 3233
  • Karma: 625
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 / P9 Respin
Re: Creating password for P6 after installing
« Reply #4 on: July 02, 2016, 01:52:50 pm »
Hi FlyingFox

This is my way to do it.

You need to edit the lightdm.conf file in /etc/lightdm folder.  You need to do this as Superuser and can use the sudo command to do it.

use ctrl+alt+t to open a terminal window and issue the command

Code: [Select]
sudo gedit /etc/lightdm/lightdm.confyou will be prompted to enter your password.

a file will open that says
Quote
[SeatDefaults]
autologin-guest=false
autologin-user=zebedee
autologin-user-timeout=0
autologin-session=lightdm-autologin

Now simply change
Quote
autologin-user=zebedee
to
Quote
autologin-user=

Leaving it blank will mean, if you have more than one user set up, you will need to pick the user first and then enter the password.

Now of course zebedee will be your username.    Save the file and reboot.  You will now be asked to enter your password when the machine starts.   Use the same password you always have to install software etc.

I hope this makes sense

Regards Zeb...
« Last Edit: July 02, 2016, 10:03:22 pm by zebedeeboss »
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

P10r x64 Desktop - AMD Threadripper 2950X - 64Gb RAM - NVIDIA RTX2080Ti 11Gb - 2 x 27" 4k

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Creating password for P6 after installing
« Reply #5 on: July 02, 2016, 02:18:11 pm »
I didn't think it was possible to set a blank password in Peppermint 6  :-\

You're not talking about a LiveUSB are you ?

What's the output from
Code: [Select]
whoamiand if you run
Code: [Select]
sudo geditare you prompted for a password .. and does it continue and open gedit if you just hit enter at the password prompt ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline murraymint

  • Trusted User
  • Veteran
  • *****
  • Posts: 2180
  • Karma: 457
  • soft boiled with a yolk of gold
    • View Profile
  • Peppermint version(s): 7, 8, 9
Re: Creating password for P6 after installing
« Reply #6 on: July 02, 2016, 03:12:55 pm »

I do have a password to make changes like installing updates.


Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Creating password for P6 after installing
« Reply #7 on: July 02, 2016, 03:35:29 pm »
Ah right, thanks murraymint.

So if all he wants is to loose the autologin:
Code: [Select]
sudo gedit /etc/lightdm/lightdm.confand remove the username from

autologin-user=yourusername

so it now just reads

autologin-user=

SAVE the file and exit gedit.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline FlyingFox

  • Newly Subscribed
  • *
  • Posts: 10
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Creating password for P6 after installing
« Reply #8 on: July 02, 2016, 11:59:06 pm »
Hi, folks

Thanks for the help and advice you all gave.

Have done as instructed and now have to enter a password to login.  Success!

Thanks again.


Offline zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 3233
  • Karma: 625
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 / P9 Respin
Re: Creating password for P6 after installing
« Reply #9 on: July 03, 2016, 12:34:01 am »
Hi, folks

Thanks for the help and advice you all gave.

Have done as instructed and now have to enter a password to login.  Success!

Thanks again.
Hi FlyingFox
Glad we were able to help.
Would you now please go back to your original post and click Modify and add  [Solved] to the Subject line and save it.
This will allow other forum members to know your problem was fixed and it will help them find solutions to their problems as well.
Regards Zeb...
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

P10r x64 Desktop - AMD Threadripper 2950X - 64Gb RAM - NVIDIA RTX2080Ti 11Gb - 2 x 27" 4k

Offline FlyingFox

  • Newly Subscribed
  • *
  • Posts: 10
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Creating password for P6 after installing
« Reply #10 on: July 03, 2016, 02:37:59 am »
Hi, Zeb

Spent about 10 minutes earlier trying to find out how to mark post as solved!!   :-[

Anyway thanks again for your help.

Regards.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Creating password for P6 after installing (SOLVED)
« Reply #11 on: July 03, 2016, 02:43:19 am »
Thanks for marking the topic solved :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec