Console Login and Telnet


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Console Login and Telnet
# 1  
Old 09-04-2012
Console Login and Telnet

Hopefully my question makes sense, but I was wondering if the telnet service has anything to do with console logins or if they are completely unrelated. So for example, does the /etc/default/login file in UNIX have anything to do with Telnet? So if I want to verify that the root user can't login in to Telnet (assuming Telnet is enabled), would it just be a matter of looking for the CONSOLE=/dev/console? And if the telnet service is disabled, would the CONSOLE=/dev/console even matter?

Thanks for any help you can provide!
# 2  
Old 09-04-2012
What's your system?

Telnet is pretty archaic these days and often disabled or just never present in the first place.
# 3  
Old 09-04-2012
I think what you mean is "how to allow root login only from console" is that so?
In which case, simple : add a line or create the /etc/securetty file if it does not exist containing only this line:
Code:
console

# 4  
Old 09-04-2012
Various systems, but mainly Solaris 10 and RHEL. In almost all cases I've found that telnet was disabled but there were a couple instances where it was not. Also, I've found instances where it doesn't appear that root is restricted to the console (but root login via SSH is disabled) but telnet was disabled. Which brings me to the question of does it matter, if telnet is disabled could root still log in at the console?
# 5  
Old 09-04-2012
Telnet is a network protocole... what is a console for you?
# 6  
Old 09-04-2012
Quote:
Originally Posted by vbe
I think what you mean is "how to allow root login only from console" is that so?
In which case, simple : add a line or create the /etc/securetty file if it does not exist containing only this line:
Code:
console

yes, essentially, though I was still wondering how it worked behind the scenes, depending on the various configurations.

so by adding "console" it restricts root to only console even if there are other lines in the file (e.g. vc/1, tty1, etc)? Also, this would be just for Linux, correct? UNIX would use the /etc/default/login?

thanks for the help.
# 7  
Old 09-04-2012
Not quite... If you have only console in that file, root can only connect throught that...
But its not always true ( ever heard of xconsole?...).
This file lists valid consoles so whatever is found in that file, root can connect using it...
Older times ( I dont know if I can still remember how to create those devices....) you had e.g. in a class room a console on a teachers desk and many terminals (was my nightmare at the time...) all those were connected to a unix server via in many cases multiplexers tthat connected to the server using serial ports...
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Not able to login AIX server but able to login thru console.

Hi, i am able to login to AX server thru console but not able to login directly thru server. also the server is not ping-able with other server. filesystem is fine. and OS version is AIX 5.3. please let me know if you need any specific log. thx in advance. Scriptor (2 Replies)
Discussion started by: scriptor
2 Replies

2. HP-UX

telnet login successful ,but ssh can not login

why I can login by telnet using root account but when i use login by ssh using root account it is not successful ,is it different password i am sure ssh service is started (2 Replies)
Discussion started by: alert0919
2 Replies

3. UNIX for Dummies Questions & Answers

Automatically login in the telnet from present telnet

Hi, I was writing one script which includes to switch to the another telnet automatically from the present telnet server. I was using rlogin but firstly it takes the same user name of the present telnet and secondly it is prompting for the password. But i want to switch to the another telnet... (2 Replies)
Discussion started by: Prateek
2 Replies

4. AIX

Not able to login as normal users through console /telnet/ssh

Hi , I am having problem,users are not able to login through ssh or telnet.Only we can login as root user in console. Restarted telnet and sshd ,no luck. Any ideas. AIX -- 5.2 ML 07 Thanks, MNK (1 Reply)
Discussion started by: mnkfre
1 Replies

5. AIX

cant telnet to aix 5.2 and not even access through serial console

I have installed aix 5.2 on aix box through serial console connected to COM 1 . I even get a login prompt after the fresh installation . But as soon as i give a root & enter i again get a login prompt.i..e I am not able to logon after a fresh installation. and even i configured IP configuration... (0 Replies)
Discussion started by: linuxnightowl84
0 Replies

6. UNIX for Dummies Questions & Answers

Connecting as CONSOLE using Telnet.

Hi, I need to connect as CONSOLE from my WinXP PC to a Solaris server (Solaris 9 SPARC) using telnet. I cannot use HyperTerminal as there is no direct link between my PC and the server (it is a remote server). How to do this? Regards. M. (3 Replies)
Discussion started by: mahatma
3 Replies

7. HP-UX

Unable to login at console and telnet

Hi friend, I'm facing a problem to access the console and telnet to the HP ux 11 server due to the system file is full. How to access this server via single mode and how to mount the folder / and folder /var? thanks. vestro (1 Reply)
Discussion started by: vestro
1 Replies

8. UNIX for Advanced & Expert Users

Home directory different console vs. telnet

Hello, One of the customers I suppport has a interesting problem I've never seen. I've searched the forums and found nothing relevant, so I'm hoping somebody can point me in the right direction. He is running Redhat Enterprise Linux 3 on a Dell PC. He also uses Sun workstations. He has a... (1 Reply)
Discussion started by: rhfrommn
1 Replies

9. UNIX for Advanced & Expert Users

User Access Problem: Via Telnet or even Console

Just took over a UNIX Server from someone who left our company. Having problems with access by some existing users as well as new users. I get the following message from telnet sessions, when attempting access at the "Login:" prompt: "UX:in.login:ERRO: Login incorrect" "telnetd:Unable to... (2 Replies)
Discussion started by: Vincent Garcia
2 Replies

10. UNIX for Dummies Questions & Answers

Login Console

Hi All, I am very new to Unix and already have a problem... My predecessor didn't note down the username and password to login to the console of an HP D Class 9000 enterprise server we have. I was wondering whether there is any way to bypass this console login screen in Unix... If not is there... (1 Reply)
Discussion started by: RMadjitey
1 Replies
Login or Register to Ask a Question