$ ./guess_the_languageLinux CLI
Linux CLI · medium · #58

What does the last field mean for bob?

bob:x:1001:1001:Bob:/home/bob:/usr/sbin/nologin
  1. bob cannot get an interactive shell
  2. bob has no home directory at all
  3. bob's password field is empty
  4. bob can only log in using his SSH keys
The last field is the login shell; nologin politely refuses logins, typical for service accounts.
Play Linux CLI ▸