Small question: I am on Debian and use Gnome. I'm the only user on this laptop.

Is it possible to hide my username from the log in screen? So that only the password field shows?

The point is, my login name is my first name, and I don't like it ...

  1. ... when people in public transport can see my first name when I log in
  2. ...that if I lose my laptop, the people who find it can easily know my first name

I realize I could also simply pick a username that is not my first name, but it would save me a lot of reconfiguration if I could simply hide the name from the login screen.

  • nomad@infosec.pub
    ·
    1 month ago

    Configure automatic login and encrypt your drive. Shows only "enter passphrase" and is actually secure instead of just a cosmetic password prompt.

    • potentiallynotfelix@lemdro.id
      ·
      1 month ago

      slight disagree. While encryption is very useful, it requires a full shutdown or hibernation to do what a normal "sleep" or "lock" would do. definitely not the most convenient setup. I'd say OP should just change his username to something else.

      • nomad@infosec.pub
        ·
        1 month ago

        Hibernation does not take that long with a modern ssd. Convenience and security often don't go hand in hand. Locking the laptop usually is sufficient too for switching trains etc.

  • SoulKaribou@lemmy.ml
    ·
    edit-2
    1 month ago

    I dont know of an easy, clean and elegant way of doing what you ask. I wonder what happens if you edit /etc/passwd with the new name, I wouldn't dare to try. The way I'd proceed though is to start a bare repo with my dotfiles, so if anything happens, I'm back in business with minimal configuration changes.

    This is a video about bare git repo: https://www.youtube.com/watch?v=tBoLDpTWVOM&t=0

    Stolen from this other video: https://www.youtube.com/watch?v=ApkoY-PN0Nk&t=0