LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 01: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, 04:25 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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, 04: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, 06:40 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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, 05: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



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

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

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