shells(5)

๐Ÿš shells โ€” the vibes of shells(5) ๐Ÿ’…

okay so bestie, we're in File Formats Manual territory today and this one is short, sweet, and lowkey iconic โœจ

โœจ NAME โœจ

shells โ€” pathnames of valid login shells ๐Ÿซถ


๐ŸŒธ DESCRIPTION ๐ŸŒธ

/etc/shells is a text file. That's it. That's the whole thing. A text file. And inside it? The full pathnames of valid login shells. Full pathnames, bestie, not cute lil nicknames, not bash-with-a-dream, the whole entire path. ๐Ÿ’–

This file gets consulted by chsh(1), and it's also available to be queried by other programs. So like, it's not just doing one job, it's a whole multitasker, main character energy fr fr ๐Ÿ‘‘

๐Ÿšจ okay so here's the part where you sit up straight ๐Ÿšจ There are programs out there that consult this file to figure out if a user is a normal user. For example, FTP daemons traditionally disallow access to users with shells not included in this file. So if your shell isn't in here, some services are gonna look at you like "who are you?? ๐Ÿ™ˆ" Not even being dramatic, that's just literally what it says.

๐ŸŽ€ FILES ๐ŸŽ€

  • /etc/shells โ€” the file itself, the whole moment, no cap ๐Ÿ’…

๐ŸŒˆ EXAMPLES ๐ŸŒˆ

/etc/shells may contain the following paths:

/bin/sh
/bin/bash
/bin/csh

three lil entries, all cozy in one file, living their best lives ๐Ÿฆ‹


๐Ÿ‘‘ SEE ALSO ๐Ÿ‘‘

go read those too, iykyk ๐Ÿ”ฅ


and that's the whole page!! this lil cutie came from Linux man-pages 6.20, dated 2025-05-17, and honestly? short king. periodt ๐Ÿ’œโญ

๐Ÿ“ฆ where this page comes from
  • arch rolling: man-pages 6.20-1 ยท BSD-2-Clause AND BSD-3-Clause AND BSD-4.3TAHOE AND BSD-4-Clause-UC AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-linking-exception AND LGPL-3.0-or-later AND LicenseRef-Public-Domain AND LicenseRef-UltraPermissive AND Linux-man-pages-1-para AND Linux-man-pages-copyleft AND Linux-man-pages-copyleft-2-para AND Linux-man-pages-copyleft-var AND MIT AND Spencer-94
  • nixpkgs unstable: man-pages 6.20
  • ๐Ÿ“œ the page's license: GPL-2.0-or-later
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms