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