LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-29-2004, 12:28 PM   #1
YBA^[x]
Member
 
Registered: Apr 2004
Location: Denmark
Distribution: Slackware 10.2
Posts: 121

Rep: Reputation: 15
listing servers/services


Hey.

How do I list the servers/services I have running? I think I might have a ssh server running for no reason at all.

Thanks.
 
Old 12-29-2004, 02:21 PM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
netstat -tua
 
Old 12-29-2004, 03:31 PM   #3
YBA^[x]
Member
 
Registered: Apr 2004
Location: Denmark
Distribution: Slackware 10.2
Posts: 121

Original Poster
Rep: Reputation: 15
Thanks.

What I notice is this:
Code:
tcp        0      0 *:ssh                   *:*                     LISTEN
Based on that, and that fact that during boot I see an message stating that ssh is starting, I suppose this means that a ssh server is running. Obviously I must have enabled this during install. How do I disable it again?

Thanks.

EDIT:

btw., what is this:
Code:
tcp        0      0 master.eden:33112       216.239.59.104:http     TIME_WAIT

Last edited by YBA^[x]; 12-29-2004 at 03:37 PM.
 
Old 12-29-2004, 03:52 PM   #4
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
Have a look at the rc files in /etc/rc.d

The boot scripts will start the ones that have the executable bit set. To stop sshd from start on boot, unset the executable bits using chmod. You may want to stop it first if it's already running.

/etc/rc.d/rc.sshd stop
chmod a-x /etc/rc.d/rc.sshd
 
Old 12-29-2004, 04:02 PM   #5
YBA^[x]
Member
 
Registered: Apr 2004
Location: Denmark
Distribution: Slackware 10.2
Posts: 121

Original Poster
Rep: Reputation: 15
Thanks a lot.
 
Old 12-29-2004, 04:16 PM   #6
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,244

Rep: Reputation: 47
To list running process you run "ps aux"
this will show if sshd is running. You can turn services on and off with pkgtool.
 
Old 12-30-2004, 12:10 AM   #7
kpex
Member
 
Registered: Apr 2004
Distribution: Slackware -current, Gentoo, FC3
Posts: 41

Rep: Reputation: 15
'nmap localhost' can also provide some relevant information about open ports.
 
  


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
Servers? Services? What?! muppski Linux - Networking 3 12-18-2004 09:47 AM
Listing/Stopping Running Services mooreted Slackware 15 08-20-2004 10:09 AM
Help, what services are needed for a windows to access Linux servers Wolfy Linux - Networking 6 07-12-2004 08:36 PM
services/servers trouble Orion Pax Mandriva 3 10-30-2003 10:31 PM
RH9 Services/servers Duke03 Linux - Newbie 1 07-21-2003 12:15 PM


All times are GMT -5. The time now is 06:50 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration