开源文档分享

SHELLS

Section: Linux 程序员手册 (5)
Updated: 2012-12-31
查看本页索引 返回目录
 

名称

shells - 有效登录 shell 的路径名  

描述

/etc/shells 是一个包含有效登录 shell 完整路径名的文件。该文件供 chsh(1) 查询所用,同时可供其它程序进行查询。

请注意有某些程序会检查该文件以判断用户是否为一个正常用户;例如,FTP 客户端传统上会禁止那些所使用 shell 没有在该文件中列出的那些用户的访问。  

文件

/etc/shells  

示例

/etc/shells 可能包括下列路径:

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

参见

chsh(1), getusershell(3)   本页面是 Linux man-pages 项目 4.09 版的一部分。该项目的描述、有关报告错误的信息以及本页面的最新版本可以在 https://www.kernel.org/doc/pan-pages/ 上找到。
本页面中文版由中文 man 手册页计划提供。
中文 man 手册页计划:https://github.com/man-pages-zh/manpages-zh


 

Index

名称
描述
文件
示例
参见

This document was created by man2html, using the manual pages.
Time: 03:15:54 GMT, July 01, 2024