LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-31-2004, 11:45 AM   #1
sfcgunner
LQ Newbie
 
Registered: Jul 2004
Posts: 8

Rep: Reputation: 0
Locked out of my server


I was working in the setup utility on a linux server as root and checked the map network button in the setup, now I cannot acces the machine at all through ssh, plesk, or anything...Any ideas on how I can get in? The machine was manually rebooted and that didnt solve the problem either btw...HELP
 
Old 07-31-2004, 12:20 PM   #2
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
I am not familiar with the map network function you mention, however, can you ping it? Did selecting that option break your connection. About the only way to figure it out if you can't get in is to be at the machine and log in, investigate.

RO
 
Old 07-31-2004, 12:30 PM   #3
sfcgunner
LQ Newbie
 
Registered: Jul 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Yes selecting that option disconnected me, and being physically present at the machine is impossible...Any ideas? O yeah it still pings fine so it is physically running but not for me...lol
 
Old 07-31-2004, 12:33 PM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
if you know what you changed, you can boot a live cd and change it back from there...

however, it sounds like for some reason you were using a graphical user interface on your server... so i'm not sure if you know what that button actually changed... right??

do you have the ability of booting a live cd on the server??

if you do, then we can help you change it to the way it was, as long as you explain to us a little more thoroughly what exactly you were doing...

"checked the map network button in the setup" doesn't really tell us much... we don't even know what distro you are using... what's "setup"??
 
Old 07-31-2004, 12:34 PM   #5
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally posted by sfcgunner
Yes selecting that option disconnected me, and being physically present at the machine is impossible...Any ideas? O yeah it still pings fine so it is physically running but not for me...lol
okay i guess the live cd thing is out of the question...
 
Old 07-31-2004, 12:42 PM   #6
sfcgunner
LQ Newbie
 
Registered: Jul 2004
Posts: 8

Original Poster
Rep: Reputation: 0
I myself am not completely sure what purpose the button I selected served, I believed it would show me the ports that were open on my machine but what actually occured was it shut every port down. Is there a program that I can use to find out which ports may still be open so that I can access them to fix my problem?
 
Old 07-31-2004, 12:57 PM   #7
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Is there a program that I can use to find out which ports may still be open
do an nmap to your servers ip or domain name... for example:

nmap www.microsoft.com

how did you get a "button"?? you were using a graphical interface remotely??

WHAT DISTRO ARE YOU USING???


Last edited by win32sux; 07-31-2004 at 12:58 PM.
 
Old 07-31-2004, 01:05 PM   #8
sfcgunner
LQ Newbie
 
Registered: Jul 2004
Posts: 8

Original Poster
Rep: Reputation: 0
I was using ssh as root and entered the setup menu. The distro is unknown to me I believe its a UNIX box
 
Old 07-31-2004, 01:07 PM   #9
sfcgunner
LQ Newbie
 
Registered: Jul 2004
Posts: 8

Original Poster
Rep: Reputation: 0
I found a sniffer program and ran it, is it possible to use ssh through a UDP port?
 
Old 07-31-2004, 01:23 PM   #10
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
Quote:
Originally posted by sfcgunner
I was using ssh as root and entered the setup menu. The distro is unknown to me I believe its a UNIX box
There is something seriously fishy about this. You don't know what version it is, you think it is Unix and it is impossible for you to get to the server? I would like a little more information about what exactly you are doing servicing or running a server that you don't know what it is running, etc. Just a little paranoid, but wouldn't want to help someone who might be hacking (Edit: apologies to others, Cracking:Edit) someone else's server get ahead. If it is yours, then the obvious question is, what are you doing 'playing' with options as root on a server you know so little about.

If this is on the up and up, my apologies, I would just like a little more to go on. Running setup tells me the distro, but how can you not know?

RO

Last edited by RolledOat; 07-31-2004 at 01:32 PM.
 
Old 07-31-2004, 01:25 PM   #11
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally posted by sfcgunner
I found a sniffer program and ran it
ummm... okay... what did you sniff?? what was the program??

i thought you wanted to portscan your server...

Quote:
is it possible to use ssh through a UDP port?
not if you don't have root access to the server...


Last edited by win32sux; 07-31-2004 at 01:27 PM.
 
Old 07-31-2004, 01:33 PM   #12
sfcgunner
LQ Newbie
 
Registered: Jul 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Sigh....I have root access but I cannot connect to the server. Typically I connect using putty but the connection keeps timing out meaning I guess that the ports are closed. I dont know the version because I am typically a Windows guy, I recently rented this server from a company in San Diego to use as a dedicated gaming server, and their damn dedicated server technical staff doesnt work on the weekends so I am SOL. I used the program Advanced Administartive Tools to sniff the ports, It showed alot of possible trojans in the UDP ports, could these be causing my issues?
Sigh...
 
Old 07-31-2004, 01:43 PM   #13
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally posted by sfcgunner
the connection keeps timing out meaning I guess that the ports are closed.
you guess?? this is an exact science, man... check-it-out (an example of a happy ssh daemon):

Quote:
bash-2.05b# nmap -p 22 192.168.0.1
Starting nmap 3.45 ( http://www.insecure.org/nmap/ ) at 2004-07-31 13:56 EST
Interesting ports on 192.168.0.1:
PORT STATE SERVICE
22/tcp open ssh

Nmap run completed -- 1 IP address (1 host up) scanned in 0.531 seconds
ssh only needs one port (by default, port 22)... if it's closed or filtered there's nothing you can do except wait for the tech staff to return... and they'll probably do a bare-metal restore in which case say goodbye to your data...

i think by now you realized that doing stuff you're not sure of as root can have dire consequences...

=(


Last edited by win32sux; 07-31-2004 at 01:53 PM.
 
Old 07-31-2004, 01:44 PM   #14
sfcgunner
LQ Newbie
 
Registered: Jul 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Down with LINUX long live the retard proof WINDOWS box...LOL...Damnit
 
Old 07-31-2004, 01:51 PM   #15
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
i wouldn't run windows even if you paid me to do it... LOL...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
locked out kwickcut Mandriva 6 11-14-2005 10:09 PM
Server 's screen locked up when startx executed tttx Linux - Software 3 06-06-2005 05:02 PM
Locked out of RH 9 carmoda Linux - Security 3 12-16-2003 09:44 AM
Locked out downinthemine Mandriva 1 10-28-2003 04:00 PM
Locked out captain_bogus Linux - Newbie 11 08-11-2003 04:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration