.\" Copyright (c) 1993 Michael Haardt (michael@moria.de), Thu May 20 20:45:48 MET DST 1993 .\" .\" This is free documentation; you can redistribute it and/or .\" modify it under the terms of the GNU General Public License as .\" published by the Free Software Foundation; either version 2 of .\" the License, or (at your option) any later version. .\" .\" The GNU General Public License's references to "object code" .\" and "executables" are to be interpreted as the output of any .\" document formatting or typesetting system, including .\" intermediate and printed output. .\" .\" This manual is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details. .\" .\" You should have received a copy of the GNU General Public .\" License along with this manual; if not, write to the Free .\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, .\" USA. .\" .\" Modified Sat Jul 24 17:11:07 1993 by Rik Faith (faith@cs.unc.edu) .\" Modified Sun Nov 21 10:49:38 1993 by Michael Haardt .\" Modified Sun Feb 26 15:09:15 1995 by Rik Faith (faith@cs.unc.edu) .TH SHELLS 5 "November 21, 1993" "" "Linux Programmer's Manual" .SH NAME [命令名] shells \- 有效登入 shell 的路徑名 .SH 描述 .B /etc/shells 是一個純文字檔,其中包含有效登入 shell 的路徑全名。 .BR chsh(1) 需要參考這個檔案,並且其他程式也可以查詢該檔案。 有些程式從這個檔案判斷使用者是不是標準使用者。比如: ftp 守護進程 一般不會允許那些所用的 shell 沒有在該檔案中注明使用者訪問。 .SH 實例 .B /etc/shells 可能包含以下路徑: .sp .RS .BR /bin/sh .br .B /bin/csh .RE .SH 相關檔案 .I /etc/shells .SH 又見 .BR chsh(1), getusershell(3) .SH "[中文版維護人]" .B Redcandle .SH "[中文版最新更新]" .B 2000.10.29 .SH "《中國linux論壇man手冊頁翻譯計劃》:" .BI http://cmpp.linuxforum.net