Results 1 to 6 of 6

Thread: Easy question (just can't recall)

  1. #1
    Join Date
    2022-Jun
    Location
    USA
    Posts
    8

    Question Easy question (just can't recall)

    So recently I had to reinstall Kali and got everything set up pretty quickly and with no trouble at all. However, one thing I just cannot remember where to locate is the option to have the OS remember the usernames (or my username in my case as I am the only user). I remember it was a simple one line addition to a file but for the life of me I cannot remember and when I try searching it on Google (50 different ways), all I get are webpages and help articles on users having issues with the system asking for a username and password over and over without successfully logging in. LOL.

    If someone could remind me how to do that it would be so greatly appreciated! Thanks! Stay awesome!

  2. #2
    Join Date
    2021-May
    Posts
    349
    I just create a new user for myself and then delete the default kali account then it only remembers me

    Add a new User fred, add them to the sudo group and change their default shell to bash..


    root@kali:~# useradd -m fred -G sudo -s /bin/bash
    root@kali:~# passwd fred
    Enter new UNIX password:
    <password>
    Retype new UNIX password: <password>
    passwd: password updated successfully

    Remove kali user and check account has been removed..

    root@kali:~# userdel -r kali
    root@kali:~# ls /home





  3. #3
    Join Date
    2022-Jun
    Location
    USA
    Posts
    8
    I thought about that too but all that did was put me in the same exact position. It doesn't remember my username, I have to type it out each time my computer boots. Whatever file I can't remember had me add a line which told the os to remember the username so I only need to type my password in at the start of the Linux session.

  4. #4
    Join Date
    2021-May
    Posts
    349
    settings -> session and start up

    uncheck show chooser if its checked..

  5. #5
    Join Date
    2022-Jun
    Location
    USA
    Posts
    8
    That option is not checked.


    https://imgur.com/ZnYitML.png

  6. #6
    Join Date
    2022-Jun
    Location
    USA
    Posts
    8
    I found it...

    Use your preferred command line editor to edit /etc/lightdm/lightdm.conf and find the line #greeter-hide-users=false and remove the '#' at the beginning of the line then save. If line does not exist, then add it excluding the preceeding symbol.

Similar Threads

  1. Confused on building custom ISO's easy question?
    By SecOps334 in forum Building Archive
    Replies: 2
    Last Post: 2022-01-18, 18:17
  2. Easy question - What file sets the $PATH for ALL new terminals?
    By leadorfollow in forum General Archive
    Replies: 0
    Last Post: 2021-02-13, 17:24
  3. Easy question - How do I use "CVE-xxx etc..."
    By Mike9876 in forum General Archive
    Replies: 2
    Last Post: 2019-09-05, 20:34

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •