rlogin always allowed ?


 
Thread Tools Search this Thread
Operating Systems AIX rlogin always allowed ?
# 1  
Old 03-29-2010
rlogin always allowed ?

Hello,

Could someone explain why rlogin is allways allowed in my AIX 6.1 boxes, whatever user I use ?
According to documentation it should work only when .rhosts (or hosts.equiv) is properly set. But even these files do not exist - access is allowed.
If I use rsh(with specified command) it behaves as documented and access is denied if no .rhosts is properly set.
Could someone explain why this is happening ?

thanks
Vilius
# 2  
Old 03-29-2010
Have no AIX 6.1 box here, but on 5.3 it works like intended. You could try to create empty .rhosts and hosts.equiv just to check if it behaves different.
Else you can always comment the rlogin line in the /etc/inetd.conf and do a
Code:
refresh -s inetd

to disable it completely, if that's a temporary solution for you.
# 3  
Old 03-29-2010
Not sure I understand the question, rlogin will be permitted and will ask for a password if no .rhosts file or hosts.equiv file is set.

If you don't want people to be able to remote login vuia rlogin the best thing to do is to disable the daemon in /etc/inetd.conf and have the users use ssh instead.

If you really don't want users to be able to login then set rlogin=false in the /etc/security/user default stanza (be careful with this you could lock everyone out of the server) or even better individually for the users you don;t want to login.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Not allowed to post URLs

Hi, I tried to post some perl code for discussion (wrapped in swaddling . However, a regex has an escaped backslash so the forum parser sees it as an URL? Had the same experience with the sample data that I tried to provide for the same discussion. It contains emails addresses,... (1 Reply)
Discussion started by: msutfin
1 Replies

2. HP-UX

Are you allowed to use the same vswitch for 2 separate HPVMs?

Can you use the same vswitch for multiple HPVMs? The reason I ask is because I created a vswitch and assigned it to one hpvm, and I was able to get it on the network. Then I created a second hpvm and used the same vswitch, and I am able to ssh/sftp TO the second hpvm, but I am unable to ping... (8 Replies)
Discussion started by: bstring
8 Replies

3. Programming

Why is subclassing not allowed for many of the SWT Controls?

hi guys, Why is subclassing not allowed for many of the SWT Controls? But Eclipse itself creates our Shell classes in this way (inheriting from Shell) and then overriding checkSubclass() with empty body. So is it good(safe) that we do this way? I have two shells (Shell_1, Shell_2). Shell_1 is... (0 Replies)
Discussion started by: majid.merkava
0 Replies

4. Shell Programming and Scripting

space not allowed in input

I have this script. (options is an array) It works fine. It responds fine to all items that are stored in the array. But when I press spacebar when I am asked for input. It will not give an error only run the function again. While I put : || ] in the script to capture the space. What am I missing... (6 Replies)
Discussion started by: Alex400
6 Replies

5. UNIX for Advanced & Expert Users

how to check if I'm allowed to ssh several hosts.

Hi guys! I'm working on a little script. I have a txtfile with several hosts, Unix team has copied my keys into several of those servers, but not all of them, I need to figure out which ones I don't have access to, (I want a list of servers I don't have access to, so I can request for it). This... (1 Reply)
Discussion started by: erick_tuk
1 Replies

6. Web Development

access to my server is always allowed

Hi, I can't deny the access to my server. if I visit http://localhost I can always see all the files. Why ? <Directory /> Options FollowSymLinks AllowOverride None Order allow,deny Deny from All </Directory> <Directory "/Users/aneuryzma/Sites"> (4 Replies)
Discussion started by: aneuryzma
4 Replies

7. UNIX for Dummies Questions & Answers

I am the owner,yet not allowed the change the ownership

sm860 IS the owner of the files below,but yet sm860 cannot change the ownership to bpt3a1.Please let me know why ? See below for details --- sm860@unixs741_DEV:/usr/gdp/home/ftp/bpt3a1/incoming/ahdb/T5/pcasav/daily $ ls -l pcasav* -rw-r--r-- 1 sm860 gdpintegrators 821 Sep 21 16:15... (8 Replies)
Discussion started by: MSHETTY
8 Replies

8. UNIX for Dummies Questions & Answers

Ldap dn chars allowed

Hi Is it possible to add the following to an ldif entry: dn=estmmartín i.e Note the charchter 'í' Thanks in advance (3 Replies)
Discussion started by: tom123
3 Replies

9. UNIX for Dummies Questions & Answers

User should not be allowed to change passwd

Hi Group, Can anyone assist me with this? I am on AIX 5.2 ML06. I create the user and assign a passwd. But I do not want the user to change the passwd at all. I like him/her to use the passwd that I have set for him/her. Any ideas would be highly appreciated!!! Thanks. (3 Replies)
Discussion started by: brookingsd
3 Replies
Login or Register to Ask a Question