📄 telnetlogin.8
字号:
.\" Copyright (c) 2000 David A. Holland..\" All rights reserved..\".\" Redistribution and use in source and binary forms, with or without.\" modification, are permitted provided that the following conditions.\" are met:.\" 1. Redistributions of source code must retain the above copyright.\" notice, this list of conditions and the following disclaimer..\" 2. Redistributions in binary form must reproduce the above copyright.\" notice, this list of conditions and the following disclaimer in the.\" documentation and/or other materials provided with the distribution..\" 3. All advertising materials mentioning features or use of this software.\" must display the following acknowledgement:.\" This product includes software developed by David A. Holland..\" 4. Neither the name of the Author nor the names of any contributors.\" may be used to endorse or promote products derived from this software.\" without specific prior written permission..\".\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND ANY CONTRIBUTORS ``AS IS'' AND.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR ANY CONTRIBUTORS BE LIABLE.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION).\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF.\" SUCH DAMAGE..\".\" $Id: telnetlogin.8,v 1.4 2000/07/30 23:57:10 dholland Exp $.\".Dd April 12, 2000.Dt TELNETLOGIN 8.Os "Linux NetKit (0.17)".Sh NAME.Nm telnetlogin.Nd login wrapper for telnetd.Sh SYNOPSIS.Nm telnetlogin.Op Fl h Ar host.Op Fl p.Sh DESCRIPTION.Nm telnetloginis a setuid wrapper that runs.Xr login 1 .It is meant to be invoked by.Xr telnetd 8 ;the idea is to remove the necessity of running telnetd as root..Pp.Nm telnetloginshould be installed mode 4750, user root, group telnetd. Then,telnetd may be run from.Pa /etc/inetd.confas user ``nobody'', group ``telnetd'', and with the option.Fl L Ar path-to-telnetlogin ..Pp.Nm telnetloginaccepts only the subset of options to.Xr login 1shown above, in the order listed. This is the order .Nm telnetd 8normally provides them in..Nm telnetloginalso only accepts the environment variables.Ev TERM , .Ev DISPLAY , .Ev POSIXLY_CORRECT ,and.Ev REMOTEHOST .It also insists that the standard input, output, and error streams areopen on a terminal, and that it is the process group leader of theforeground process of that terminal. After checking all of theseconditions, checking the values of the above environment variables forreasonable values, resetting signal handlers, and so forth, it execslogin..Sh SEE ALSO.Xr login 1 ,.Xr inetd.conf 5 ,.Xr inetd 8 ,.Xr telnetd 8.Sh RESTRICTIONS.Nm telnetlogindoes not permit the.Fl foption to login, and does not permit passing a username, so will notwork with telnetds that perform authentication via Kerberos or SSL..PpTHIS IS PRESENTLY EXPERIMENTAL CODE; USE WITH CAUTION..Sh HISTORY.Nm telnetloginwas written during the development of NetKit 0.17.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -