02-02-2007
telnet should be done with /etc/default/login, "# If CONSOLE is set, root can only login on that device." The ssh has its own config file, /etc/ssh/sshd_config , change that line to no "PermitRootLogin yes" and restart your sshd.
gP
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
using redhat 7.2
Is it possible to not allow root to ssh into the server remotely, but allow the account that ssh'd in to the box to su to root? This way there is the added security of a hacker needing two passwords to hack your computer, a username/password for a regular account and also the... (3 Replies)
Discussion started by: theDirtiest
3 Replies
2. Answers to Frequently Asked Questions
We have quite a few threads about this subject. I have collected some of them and arranged them by the OS which is primarily discussed in the thread. That is because the exact procedure depends on the OS involved. What's more, since you often need to interact with the boot process, the... (0 Replies)
Discussion started by: Perderabo
0 Replies
3. AIX
Hi,
I have to forbid root-logins on all my servers, expect from two machines, these 2 machines login with root without a password
it was quite easy with ssh, but I have a problem regarding rsh/rlogin, an there
are a lot of rsh jobs, so it would take a lot of time to change all this... (4 Replies)
Discussion started by: funksen
4 Replies
4. AIX
Hello!
I'm going through security checklist for AIX 5.3 and i just can't disable remote login for root through ssh.
What i did:
- in /etc/security/user i added a line:
rlogin = false
which works fine when i try to login through telnet
- after installation of openSSH i edited... (3 Replies)
Discussion started by: veccinho
3 Replies
5. AIX
Hi, yesterday, I changed root's shell in /etc/passwd, cause a mistake then I can not log in root account (can't find correct shell). I attempted to log in single-mode, however, it prompted for single-mode's password then I type root's password but still can not log in.
I'm using AIX 5L version 5.2... (2 Replies)
Discussion started by: neikel
2 Replies
6. AIX
Hello everyone
I have to limit the root logins on my aix box (aix 5.3)
I change the value on the /etc/security/user
default (login and rlogin) change to false
and add to root (rlogin and login = false)
I tried in different ways but I got the same.
Root still can login
I try algo... (6 Replies)
Discussion started by: lo-lp-kl
6 Replies
7. Solaris
I edited my /etc/default/login file and commented the line:
# If CONSOLE is set, root can only login on that device.
# Comment this line out to allow remote login by root.
#
#CONSOLE=/dev/console
I still cant login thru telnet or ssh.
What else do i have to do to be able to login... (14 Replies)
Discussion started by: BG_JrAdmin
14 Replies
8. BSD
Hello,
I have a small inquiry.
Sometimes, my good friend, Charlie Root, sends me security notifications that a possible breakin attempt has occured. It looks like this:
Oct 29 06:58:17 cigva sshd: reverse mapping checking getaddrinfo for 180.144.164.220.broad.sm.yn.dynamic.163data.com.cn ... (2 Replies)
Discussion started by: brightstorm
2 Replies
9. Linux
Hi,
How to find remote Linux box login account without login in to that box?
I don't have login account at my remote Linux box. But I need who are all having login account. How do I findout?
Thanks,
--Muthu. (3 Replies)
Discussion started by: Muthuselvan
3 Replies
10. Solaris
how to login with ssh to remote system with out applying the remote root/user password
with rlogin we can ujse .rhosts file
but with ssh howits possible
plz guide (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies
LEARN ABOUT ULTRIX
rlogin
rlogin(1c) rlogin(1c)
Name
rlogin - remote login
Syntax
rlogin rhost [-ec] [-8] [-L] [-l username]
rhost [-ec] [-8] [-L] [-l username]
Description
The command connects your terminal on the current local host system, lhost, to the remote host system, rhost.
Each host has a file which contains a list of rhosts with which it shares account names. The host names must be the standard names as
described in When you use the command to login as the same user on an equivalent host, you do not need to specify a password.
You can also have a private equivalence list in a file .rhosts in your login directory. Each line in this file should contain the rhost
name and a username separated by a space, giving additional cases where logins without passwords are permitted. If the originating user is
not equivalent to the remote user, then the remote system prompts for a login and password as in
To avoid security problems, the .rhosts file must be owned by either the remote user or root and it may not be a symbolic link.
Your remote terminal type is the same as your local terminal type, which is specified by your environment TERM variable. Except for
delays, all echoing takes place at the remote site so the rlogin is transparent. Flow control by and <CTRL/Q>, and flushing of input and
output on interrupts are handled properly. The optional argument -8 allows an eight-bit input data path at all times. Otherwise, parity
bits are stripped except when the remote site's stop and start characters are other than and <CTRL/Q>. A tilde followed by a dot (~.) on a
separate line disconnects from the remote host, where the tilde (~) is the escape character. Similarly, a tilde followed by <CTRL/Z> (~
<CTRL/Z>), where is the suspend character, suspends the rlogin session.
Substitution of the delayed-suspend character, which is normally <CTRL/Y>, for the suspend character suspends the send portion of the
rlogin, but allows output from the remote system. A different escape character may be specified by the -e option. There is no space sepa-
rating this option flag and the argument character.
Options
-8 Allows an 8-bit input data path at all times.
-ec Uses the specified character as the escape character. If not specified, uses a tilde (~).
-l username Logs you in as the specified user, not as your user login name.
-L Runs session in litout mode.
Files
/usr/hosts/* for rhost version of the command
See Also
rsh(1c)
rlogin(1c)