-:() Process

This is a discussion on -:() Process within the Linux Security forums, part of the System Security and Security Related category; I am currenlty showing a process when doing a ps -ef on my system I receive a process listed as -:(). ...


Go Back   Usenet Forums > System Security and Security Related > Linux Security

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-11-2006
jcw248
 
Posts: n/a
Default -:() Process

I am currenlty showing a process when doing a ps -ef on my system I
receive a process listed as -:(). I killed the process and it logged of
my system. Have I been compromised? I tried searching on this process
and did not get any responses back.

Reply With Quote
  #2 (permalink)  
Old 06-12-2006
Ertugrul Soeylemez
 
Posts: n/a
Default Re: -:() Process

"jcw248" <jcw248@gmail.com> (06-06-11 08:05:59):

> I am currenlty showing a process when doing a ps -ef on my system I
> receive a process listed as -:(). I killed the process and it logged
> of my system. Have I been compromised? I tried searching on this
> process and did not get any responses back.


You probably are seeing the process with the name "-:0", which is a zero
at the end, instead of parentheses. If that's the case, then everything
is alright, because that's just the command line name of your X server
process. You can easily check that. See the output of "ps -ef", and
grab the PID of the process. Then do "ps c -ef" to see the binary name
of all processes and check that the PID actually belongs to a process
called just 'X'.

To explain that: The dash ('-') at the beginning means that this is
your login process, i.e. the one process started at login time. It
shouldn't be, but on some systems, X is the login shell for some or all
users. Otherwise and much more likely, it just may be that your display
manager (XDM, GDM, KDM, ...) started your X server that way. The ":0"
at the end means that the X server is running on display 0 (zero),
i.e. the first virtual terminal, which X can or should use. If you have
multiple X sessions running, the other sessions will have different
display numbers like ":1".


Regards,
E.S.
Reply With Quote
  #3 (permalink)  
Old 06-12-2006
John Thompson
 
Posts: n/a
Default Re: -:() Process

On 2006-06-11, jcw248 <jcw248@gmail.com> wrote:

> I am currenlty showing a process when doing a ps -ef on my system I
> receive a process listed as -:(). I killed the process and it logged of
> my system. Have I been compromised? I tried searching on this process
> and did not get any responses back.


Are you sure it's not "-:0" ?

That's part of how X communicates with its various pieces. If you kill
it, you kill your X server and thus are logged out when a new X server
process is spawned by init.

If you have more than one X display running, you'll probably see "-:1"
and "-:2" and so on for each display screen.

--

John (john@os2.dhs.org)
Reply With Quote
  #4 (permalink)  
Old 06-13-2006
jcw248
 
Posts: n/a
Default Re: -:() Process


Ertugrul Soeylemez wrote:
> "jcw248" <jcw248@gmail.com> (06-06-11 08:05:59):
>
> > I am currenlty showing a process when doing a ps -ef on my system I
> > receive a process listed as -:(). I killed the process and it logged
> > of my system. Have I been compromised? I tried searching on this
> > process and did not get any responses back.

>
> You probably are seeing the process with the name "-:0", which is a zero
> at the end, instead of parentheses. If that's the case, then everything
> is alright, because that's just the command line name of your X server
> process. You can easily check that. See the output of "ps -ef", and
> grab the PID of the process. Then do "ps c -ef" to see the binary name
> of all processes and check that the PID actually belongs to a process
> called just 'X'.
>
> To explain that: The dash ('-') at the beginning means that this is
> your login process, i.e. the one process started at login time. It
> shouldn't be, but on some systems, X is the login shell for some or all
> users. Otherwise and much more likely, it just may be that your display
> manager (XDM, GDM, KDM, ...) started your X server that way. The ":0"
> at the end means that the X server is running on display 0 (zero),
> i.e. the first virtual terminal, which X can or should use. If you have
> multiple X sessions running, the other sessions will have different
> display numbers like ":1".
>
>
> Regards,
> E.S.


Thanks for not blasting me I am new to Linux security. Thanks for the
useful information

Reply With Quote
  #5 (permalink)  
Old 06-13-2006
jcw248
 
Posts: n/a
Default Re: -:() Process


John Thompson wrote:
> On 2006-06-11, jcw248 <jcw248@gmail.com> wrote:
>
> > I am currenlty showing a process when doing a ps -ef on my system I
> > receive a process listed as -:(). I killed the process and it logged of
> > my system. Have I been compromised? I tried searching on this process
> > and did not get any responses back.

>
> Are you sure it's not "-:0" ?
>
> That's part of how X communicates with its various pieces. If you kill
> it, you kill your X server and thus are logged out when a new X server
> process is spawned by init.
>
> If you have more than one X display running, you'll probably see "-:1"
> and "-:2" and so on for each display screen.
>
> --
>
> John (john@os2.dhs.org)


Thanks for the help.

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:07 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0