nomisco Posted February 22, 2018 Share Posted February 22, 2018 (edited) I'm a new user, with very little exposure to Linux. I have a problem with the Web Terminal. The only way I can get around this is to reboot the server. It's a very sporadic problem though. The reason I use the terminal is because I'm getting to grips with the simple tools such as Midnight Commander (very useful). All the information in the log is unRAID login[14988]: ILLEGAL ROOT LOGIN on '/dev/pts/8 At the top of the window, it says login -f root (unRAID) In the window it then says Login incorrect, and then a splash of Connection Closed I've changed the WebGUI password (so it does have one now), but don't see how this might be connected because most of the time the terminal login works, just occasionally doesn't. But trying to troubleshoot, I thought I'd remove the WebGUI password to see if that makes any difference, but I can't see how to set it back to blank (I'm guessing it's editing a config file, but I don't know how). I don't recall if there was a problem before I set a password or not. Edited February 22, 2018 by nomisco Quote Link to comment
nomisco Posted February 23, 2018 Author Share Posted February 23, 2018 Found this topic, somewhat related https://lime-technology.com/forums/topic/68828-used-to-be-able-to-login-as-root-on-web-terminal-but-now-i-cant/?tab=comments#comment-634878 I think I understand this 'pty' thing being a fake terminal. I looked in the processes and appear to have up to number 7 listed already, which is presumably why my attempt generates 'pty8' in the log. Is this number of them normal? Is there a limit? When I've finished with the terminal I usually just close the window and get a 'Do you want to leave?' dialogue box. Is this the right way to do it, or should I exit the terminal via a command? Am I inadvertently leaving too many pty instances open? Quote Link to comment
landS Posted February 24, 2018 Share Posted February 24, 2018 I am experiencing the same issue. I have been using the Web Terminal to run MC then just close the window via the little X when done. After a number of sessions, I hit the exact same issue as reported by @nomisco. My log shows: Feb 24 14:49:40 Tower login[25551]: ILLEGAL ROOT LOGIN on '/dev/pts/9' Each time this occurs is always on the pts/9, SSH login works just fine, but lacking the knowledge of how to troubleshoot only a reboot appears to reset the issue. I live in Chrome, but installed Firefox to check - and the issue persists across to a virgin browser... so its not a cache niggle. My SSH keys are not corrupted / zero bytes as per: ls -la /boot/config/ssh Thoughts Crew? Quote Link to comment
landS Posted February 25, 2018 Share Posted February 25, 2018 (edited) ssh into the server... who -aH find the PID of pts/# shown in the eventlog immediately after the web terminal failure kill PID# .... doesn't work... as who -aH immediately shows the same pts being used again also tried shell in a box... but it also is throwing the same issue What appears to be the problem is... root / password is not being accepted in Shell in a Box / Web Terminal after x number of uses without a full server restart... but it works fine via SSH [email protected] Edited February 25, 2018 by landS Quote Link to comment
L0rdRaiden Posted March 30, 2018 Share Posted March 30, 2018 On 2/25/2018 at 5:00 AM, landS said: ssh into the server... who -aH find the PID of pts/# shown in the eventlog immediately after the web terminal failure kill PID# .... doesn't work... as who -aH immediately shows the same pts being used again also tried shell in a box... but it also is throwing the same issue What appears to be the problem is... root / password is not being accepted in Shell in a Box / Web Terminal after x number of uses without a full server restart... but it works fine via SSH [email protected] So the only way to fix it is a restart? or is there a cooldown? Quote Link to comment
John_M Posted March 31, 2018 Share Posted March 31, 2018 FWIW I always type exit before closing the command window. It's a habit I got into a long time ago. I've never had the problems you describe so maybe it's a good habit. 1 Quote Link to comment
landS Posted March 31, 2018 Share Posted March 31, 2018 I can confirm that after rebooting and dozens of access uses via web terminal... Typing exit allows repeat functioning. @limetech can the web terminal send an 'exit' command upon closure to help dummy proof it (as I look in the mirror) 1 Quote Link to comment
noise Posted May 6, 2018 Share Posted May 6, 2018 I sometimes have flaky connection to my server and often lose the terminal connection and have to open a new one. Would be nice if there was a way of logging off or exiting all existing connections somehow. 1 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.