LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-10-2002, 12:37 PM   #1
NetScripter
Member
 
Registered: Feb 2002
Location: Russia
Distribution: Gentoo 2005.1, Ubuntu 5.10, Debian 3.1
Posts: 66

Rep: Reputation: 15
conscole closing


How can I close another console from my current one?
For example when I do 'w':
9:23pm up 28 days, 4:59, 2 users, load average: 0.59, 0.34, 0.13
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
sasha pts/0 voltran.atomnet. 9:19pm 1.00s 0.08s 0.02s w
root pts/4 - Mon12pm 4days 0.02s 0.02s /bin/cat

I need to logout root via telnet
Help please
 
Old 05-10-2002, 04:09 PM   #2
Rashkae
Member
 
Registered: May 2002
Distribution: Slackware
Posts: 125

Rep: Reputation: 15
Kill a user remotely.

You have to su to root,

ps -e | grep 'pts/4'

kill the first process listed, (which is probably bash)
 
Old 05-10-2002, 11:59 PM   #3
NetScripter
Member
 
Registered: Feb 2002
Location: Russia
Distribution: Gentoo 2005.1, Ubuntu 5.10, Debian 3.1
Posts: 66

Original Poster
Rep: Reputation: 15
thanks a lot
 
Old 05-13-2002, 08:09 AM   #4
Rashkae
Member
 
Registered: May 2002
Distribution: Slackware
Posts: 125

Rep: Reputation: 15
Su to root

I forgot to mention that SU'ing to root in telnet is very insecure since your transmitting the root password in plain text. This can be a problem is any of the two computers are on an unsecure ethernet (Untrusted nodes, wireless, using someone else's computer, spyware.. you name it). You should really install ssh to do remote administrative tasks.
 
Old 05-13-2002, 12:27 PM   #5
NetScripter
Member
 
Registered: Feb 2002
Location: Russia
Distribution: Gentoo 2005.1, Ubuntu 5.10, Debian 3.1
Posts: 66

Original Poster
Rep: Reputation: 15
ok, but there was a hack of my server due to security hole in ssh.
So i turned it off
 
Old 05-13-2002, 01:07 PM   #6
Rashkae
Member
 
Registered: May 2002
Distribution: Slackware
Posts: 125

Rep: Reputation: 15
As usual, keeping up to date with Service releases for your Distro is critically important. Suggest subscribing to your Distro's security mailing list and always update packages when a security update is announced.. It's very unlikely that you will be hacked if you update within 24 hrs of a service pack. I would be hard pressed to remember a Linux security hole that was widely exploited before the software was patched and security announcements made.

Note: Redhat tends to have a somewhat higher update requirement than most other distros. The price of cutting edge software seems to be frequest updates.
 
  


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
Closing Ports Murdock1979 Linux - Security 1 09-23-2005 09:44 AM
closing services juanb Linux - Security 1 09-08-2005 01:58 PM
Closing these ports... greygoose80 Slackware 2 12-19-2004 11:12 PM
closing ports azi Linux - Security 5 12-07-2003 09:33 AM
how do you keep processes from closing? MarleyGPN Linux - General 4 04-26-2003 12:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:53 AM.

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
Open Source Consulting | Domain Registration