LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-02-2002, 09:10 AM   #1
Skipswift
LQ Newbie
 
Registered: Oct 2002
Posts: 2

Rep: Reputation: 0
Question usr/bin/consolehelper Segmentation Fault


New to Linux .. just installed RedHat 7.3 ..

Did a little bit of exploring and noticed that local users can successfully /usr/bin/reboot .. I am guessing this is normal.

However, when network users attempt reboot usr/bin/consolehelper is called and results in a Segmentation Fault.

Can anyone help me understand what is going on?

I'm concerned because I'd expect network users to not even be able to call reboot .. but also .. why the Seg fault?

Thanks.
S.
 
Old 10-02-2002, 03:16 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,417
Blog Entries: 55

Rep: Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627
Consolehelper isn't sposed to be accessed directly (man consolehelper for more). You could try running strace on it:
strace -o </dir/logfile> (-u <user> IIRC) -f -ff -F -v <executable>
 
Old 10-02-2002, 03:26 PM   #3
Skipswift
LQ Newbie
 
Registered: Oct 2002
Posts: 2

Original Poster
Rep: Reputation: 0
Question usr/bin/consolehelper Segmentation Fault

True unSpawn. I did read the man.

Strange thing is .. consolehelper is executed when a remote user tries to execute reboot.

I'd expect that remote users wouldn't be able to execute reboot at all (in fact, they can run but it doesn't work .. instead it executes consolehelper and gives a seg fault; local users can successfully run reboot). Not a great security model if you ask me .. but this is a vanilla installation. I didn't touch anything. Created a root pass and 3 users during install .. no other changes made.

I'll try the strace that you recommend and report back ..

Any additional guidance is appreciated.

Thanks!
 
Old 10-02-2002, 07:44 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,417
Blog Entries: 55

Rep: Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627Reputation: 3627
Hmm. I remember vaguely unsetting the suid bit on console?/userhelper a long time ago, had to do with some exploit. Btw, reboot doesn't exist. It's a slink to consolehelper: see with "file $(which consolehelper)" or "stat $(which consolehelper)".
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yast segmentation fault, system freezing - nvidia driver at fault? BaltikaTroika SUSE / openSUSE 2 12-02-2005 09:34 AM
/usr/lib/mozilla-1.7.11/run-mozilla.sh: line 159: 3492 Segmentation fault behmjoe Linux From Scratch 2 11-28-2005 10:48 AM
Installing .bin-files, leave the file in /usr/local/bin/ ? lagu2653 Linux - Software 1 11-08-2005 08:30 PM
path in services wrong for clamav updated frm 0.75 to 0.80 usr/bin vs usr/local/bin Emmanuel_uk Linux - Newbie 3 04-22-2005 01:02 AM
/usr/bin/X11/ and /usr/X11R6/bin/ the same? linuxtesting2 Linux - Newbie 2 11-16-2004 10:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:17 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