Set a Password on Lubuntu

Solved
ThePC Posted messages 472 Status Member -  
mamiemando Posted messages 33173 Registration date   Status Moderator Last intervention   -
Hello, I'm using a persistent live USB of Lubuntu, but as soon as I boot up, I find myself in a "Live Session User" session.
So I would like to know if it's possible to set a password at the startup of Lubuntu.

Thank you in advance, best regards.

2 answers

  1. mamiemando Posted messages 33173 Registration date   Status Moderator Last intervention   7 945
     
    Make sure your live USB is actually persistent:
    http://doc.ubuntu-fr.org/live_usb#mode_non-persistant_ou_persistant

    For example with unetbootin:
    http://doc.ubuntu-fr.org/unetbootin

    ... you can refer to:
    http://unetbootin.sourceforge.net/diskimg/readme.txt

    Then to create a password (or rather a login/password pair) you can use the command
    adduser
    from a terminal:
    http://doc.ubuntu-fr.org/terminal

    sudo adduser toto


    Good luck
    0
    1. ThePC Posted messages 472 Status Member 45
       
      Sure, thank you very much!! I thought I heard that automatic login needed to be disabled.
      If so, how can I do that? Thank you in advance.
      1
  2. mamiemando Posted messages 33173 Registration date   Status Moderator Last intervention   7 945
     
    It's a matter of choice if you want to prevent someone from accessing the system without knowing a password.

    Normally, this behavior is configured in your display manager (lightdm, kdm, gdm, xdm, etc. there are several and I don't know which one you're using but probably lightdm).
    http://doc.ubuntu-fr.org/fenetre_de_connexion

    In this case, you should be able to set it up like this:
    http://doc.ubuntu-fr.org/lightdm#connexion_automatique

    Feel free to consult the Ubuntu documentation, which will probably provide many answers to your question, and if necessary, you can always come back here to ask for clarification.

    Good luck
    0
    1. ThePC Posted messages 472 Status Member 45
       
      Thank you very much!!! Thanks to you, the issue is resolved!! :)
      0
    2. mamiemando Posted messages 33173 Registration date   Status Moderator Last intervention   7 945
       
      Please, take care. ????
      0