LinuxQuestions.org
Help answer threads with 0 replies.
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-27-2001, 02:47 PM   #1
Kaj
LQ Newbie
 
Registered: May 2001
Location: Tokyo, Japan
Distribution: Fedora, Gentoo
Posts: 19

Rep: Reputation: 0
Question


Hi guys, please excuse my question if it sounds silly.

Anyway i was wondering if it was possible to alter a daemon's title during start up. Btw i'm on XLinux, hope that'll shed some light on my topic.
 
Old 05-27-2001, 05:25 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
no.. doesnt sound silly... bit strange, yeah.
a daemon is a process, usually for benefit of u (gpm: mouse daemon) or users (samba, httpd, sshd) that is started most of the time after ure box has booted. Theyre usually started without intervention and run in the background, menaing u usually dont (have to) interact with em.
I think ure confusing something that runs in a window with a daemon. a window title can be changed, tho i dont have the escape codes at hand.
 
Old 05-28-2001, 05:49 AM   #3
Kaj
LQ Newbie
 
Registered: May 2001
Location: Tokyo, Japan
Distribution: Fedora, Gentoo
Posts: 19

Original Poster
Rep: Reputation: 0
->

Thanks for replying man.

Okay i think i may have confused some things here and there. But anyway allow me to rephrase my question in detail

What I meant to ask was is there a way to alter a daemon's name during boot up, just this part for example:

samba ........................... [OK]

So in other words would it be possible to change samba into something like "MYSamba"?

Some guy in irc told me to edit the binary, he didn't elaborate further so what's that supposed to mean?
 
Old 05-28-2001, 07:40 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
Ah. A tweaker walks amongst us.. :-]
LOL! Edit the binary... whadda goof.
Normally when u compile ure own stuff there are ways to change its banners & name (print stuff). What ure referring to is a startup script. Thats easy.
Look in /etc/rc.d. There should be a directory with scripts called /etc/rc.d/init.d or so.
Is there a script called "samba", then open it.

now go down to where it says "case" and look up the part where it sez "start". post that part here and we'll see if we can change it on-line.

(Btw, dont post the same question to other forums, its called crossposting & considered lack of netiquette)
 
Old 05-29-2001, 06:34 AM   #5
Kaj
LQ Newbie
 
Registered: May 2001
Location: Tokyo, Japan
Distribution: Fedora, Gentoo
Posts: 19

Original Poster
Rep: Reputation: 0
Talking

Allrighty! Finally got my question answered So it's all in the start up script! Thanks for the help unspawn u da man!

I'll post the script here as soon as I get my box working, having some hardware problems with it at the moment. Damn CPU seem to be the problem as there were no beeps during post. Now that's bad :P

Pardon my lack of netiquette, it won't happen again
 
  


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
noobie question about rc.d file bob cashman Ubuntu 3 07-15-2005 11:31 AM
Noobie question, how to change keyboard from USB to /ps2 captainarmchair Linux - Hardware 0 02-22-2005 04:14 AM
noobie bash command question SamerAdra Linux - Newbie 5 10-26-2004 03:42 AM
Very NOOBIE type question...weird though tarballed Linux - Newbie 4 03-20-2003 10:53 PM
Question : Possible to change Daemon Names During Start Up? Kaj Linux - General 1 05-29-2001 03:15 PM

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

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