Visit Our UNIX and Linux User Community


Remote Login (Unix)


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Remote Login (Unix)
# 1  
Old 07-11-2001
Remote Login (Unix)

Is there any way I can disallow remote login on a m/c
# 2  
Old 07-11-2001
Yes, it is possible to disable remote logins.

What type of remote logins do you want to disable, ssh,telnet,rsh etc?

With ssh you can allow/disallow user logins vi the sshd_config file, telnet and rsh can be controlled via tcpwrappers or xinetd.

Andy Hibbins Smilie
# 3  
Old 07-11-2001
The first step in blocking remote logins is also one of the first steps everyone should do after bringing up a new server:

(1) Edit the /etc/inetd.conf file and comment out all services you will not immediately need;

(2) Examples (for me) include all the r* commands, finger, etc.

This is critical for security and is just a good practice. Don't leave these services running unless you actively use them.

# 4  
Old 07-13-2001
I have one doubt though
In TCP_Wrappers it uses the /etc/hosts.allow and hosts.deny files for logging in. Can the hosts specified be m/cs other than UNIX .

Last edited by DPAI; 07-15-2001 at 12:31 PM..
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #1009
Difficulty: Easy
The number 128 in base 10 equals 64 in base 16.
True or False?

10 More Discussions You Might Find Interesting

1. Programming

Remote login UNIX box from java passing parameters to the custom script called in the profile

Hello Good Day / Guten Tag.... I have to login the server and the user profile contains some scripts which need the inputs to be taken from the keyboard. So I use the method to conn.authenticateWithKeyboardInteractive(username, new InteractiveCallback() { public String... (1 Reply)
Discussion started by: Sanalkumaran
1 Replies

2. Shell Programming and Scripting

Do I require remote login access to a windows server to transfer files from a UNIX server

Hi All I need to transfer a file from a UNIX server to a windows server. I saw that it is possible to do this using scp command by looking at the forum listed below: ... (2 Replies)
Discussion started by: vx04
2 Replies

3. Shell Programming and Scripting

Triggering remote UNIX shell script from Remote desktop

I m trying to run a batch script in remote desktop which executes unix commands on the unix server...the problem is i wnt the output in HTML format.so in my batch script i m giving the cmd like ssh hostname path ksh HC_Report.ksh>out.html ...but it generates the HTML file in remote desktop .i... (2 Replies)
Discussion started by: navsan
2 Replies

4. Solaris

how to login with ssh to remote system with out applying the remote root/usr password

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

5. Programming

Sockets for remote login

Hi, i have written a program that provides the remote login for the system whose IP is specified. the program is working correctly on the same machine but its not working when i try to communicate with the other system. i am attaching both client and server programs. Please help. ... (1 Reply)
Discussion started by: MrUser
1 Replies

6. Linux

How to find remote Linux box login account without login in to that box?

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

7. AIX

remote login problem

dear all, i have a problem, when i try to login to CDE on AIX remotely using xmanager i get a dead screen. any solution thanks (1 Reply)
Discussion started by: bondoq
1 Replies

8. Shell Programming and Scripting

Remote Login in to another Terminal

hi all , i need the command for remote login in to another terminal, came accross by using "tty" command. please suggest and help me out in this. Regrds Sridhar. (1 Reply)
Discussion started by: Sridhar_dev
1 Replies

9. UNIX for Dummies Questions & Answers

Remote login with VNC

Hi Everyone, Well I am not sure if this right forum. I have install Redhat 5 enterprise. I have everything running. I have configured vncserver. Starts with out errors. I am trying to connect for a XP machine to my RedHat server. I can connect from my XP machine through VNC viewer but I get... (1 Reply)
Discussion started by: Peterh
1 Replies

10. Shell Programming and Scripting

remote login

Hi i have recently switched to unix environment,i am trying to make a shell script which logs on to the remote machines and plays some commands and collects the out put into a file.but i am not able to create any file on remote hosts.see the sample code . rsh hostname -l username << ENDTAG... (4 Replies)
Discussion started by: Raom
4 Replies

Featured Tech Videos