i want to useradd a user that doesn’t show up in the login window, is using the -r (system user) flag a good idea for that? is there another option that i can’t find?

  • ClipperDefiance@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 days ago

    Depending on which display manager you use you could always just use a theme that requires typing a username rather than selecting from a list. I know there are a few SDDM themes like that.

  • CrackedLinuxISO@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 days ago

    The answer will depend on which desktop environment or login manager you’re using.

    System users are not the right solution. The use-case for such accounts is when you want certain background services to be linked to a non-human account. Eg: Serving web requests from an http user account that only has access to nginx and the /var/www directory. By default, users created in this way don’t even have a home directory.