🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: csu.unix.linux
Article #618

Re: FTP root access

#618
From: Michael Dwyer
Date: Sat, 08 May 1999 00:00
28 lines
1877 bytes
Michael A. Lockhart <lockhart@cs.colostate.edu> wrote:
: vishwanath parakala wrote:
: > RedHat by default disallows root access from a remote terminal
: > A coupla months back somebody suggested a remedy to this ...
: > COuld somebody refresh my memory over this ..

: It's generally not a good idea to do this, but taking root out of
: /etc/ftpusers should "fix" the problem. Also, you might need to remove
: the root entry from /home/ftp/etc/passwd. I'm not sure though.

The above solution would let root FTP in  - still not a good idea. But
I think what he was asking was how to allow root to TELNET in.  That
is located in /etc/login.defs.  There is a line that begins with 
CONSOLE.  Following is either a list of consoles that root is allowed
to login from, or a file listing the same.  You can edit this list
to change it.  Usually, I just add a few internet pseudoterminals like
/dev/ttyp0 - /dev/ttyp3. See login(5). 

From a straight record-keeping point of view, the accepted way to do 
this is to log in using a weak account, then use SU to get to root.

Your mileage may vary.

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Michael J. Dwyer                      I doubt, therefore I might be.
mdwyer@holly.ColoState.edu       http://WWW.CS.ColoState.EDU/~dwyer/
Computer Science Major                      Amateur Radio Tech N0ZAP
Technical Details
Message-ID: <7gvvmn$3e6k@yuma.ACNS.ColoState.EDU>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7gvedt$1v4u@yuma.ACNS.ColoState.EDU> <37336216.7312E5EC@cs.colostate.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1159f7,28640300d614e2da
X-Google-Attributes: gid1159f7,public
From: Michael Dwyer <mdwyer@holly.ColoState.EDU>
Subject: Re: FTP root access
Date: 1999/05/08
Message-ID: <7gvvmn$3e6k@yuma.ACNS.ColoState.EDU>
X-Deja-AN: 475366439
References: <7gvedt$1v4u@yuma.ACNS.ColoState.EDU> <37336216.7312E5EC@cs.colostate.edu>
Organization: Colorado State University, Fort Collins, CO  80523
Newsgroups: csu.unix.linux