Moderate

The seventh field of /etc/password is________________?

Correct answer: C. shell

  • A. password
  • B. login
  • C. shell
  • D. home

Explanation

The seventh colon-separated field in `/etc/passwd` specifies the user’s login shell, such as `/bin/bash`. The password field is second, while the home directory is sixth.

Last updated

Practise Software Development Lifecycle

423 free Software Development Lifecycle MCQs from Software Engineering, each with the correct answer and an explanation. Unlimited attempts, no account needed.

Exams that ask Software Engineering questions like this

Software Engineering is on this paper prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for it.

Related questions