LinuxQuestions.org
Review your favorite Linux distribution.
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 08-06-2006, 12:46 AM   #16
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911

Quote:
Originally Posted by Matir
Thanks for making me look silly. Didn't even know porttime existed.
Sheesh; if only I had known! I would have kept the secret ;}

But as I keep saying: that's the beauty of Linux, I learn new stuff
every day :}

And the scripting approach comes in handy if you need to achieve
different results, e.g. if the kids are allowed on a machine but not
online (I never found a way of achieving that for the localhost, btw).


Cheers,
Tink
 
Old 08-06-2006, 01:12 PM   #17
slopoke
LQ Newbie
 
Registered: Aug 2006
Posts: 6

Original Poster
Rep: Reputation: 0
$$$$$ Inline again $$$$$


Just make sure that logoutd is run from your init-scripts.
$$$$$ I can't find 'logoutd' on the system (ran the full search utility). If the system functions properly does that mean that whatever 'logoutd' does is working even if the name isn't the same? $$$$$

Cheers,
Tink
**************************



$$$$$$$$ I set permissions to be owned by root and executable; then put it '/etc/init.d'. Didn't work. Was that not what I was supposed to do? $$$$$$$

You also need to create a symlink in the proper init directory, or use rc-update or update-rc.d (or similar) depending on your distribution.
%%%%% Ah, so. Don't have 'rc-update' or 'update-rc'. Do have 'update-rc.d'. Found a frontend for it (rcconf). Put 'porttime' in /etc/init.d and made it executable as above and it showed up in 'rcconf's' check list. Does that sound like an acceptable alternative to your instructions above? I'm being super cautious about this because the last time I did something with things 'init' I managed to completely hose the system. I know thereare no guarantees, but I'd like to reduce the chances of complete disaster. $$$$$


slopoke
 
Old 08-06-2006, 01:33 PM   #18
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
Quote:
Originally Posted by slopoke
$$$$$ I can't find 'logoutd' on the system (ran the full search utility). If the system functions properly does that mean that whatever 'logoutd' does is working even if the name isn't the same? $$$$$

slopoke
I don't know what the "full search utility" is. And I haven't
come across the daemon by any other name. But if it works
then we should assume all is well ;}

What is that full-search? What happens if you (as root on
the command-line; make sure that you use 'su -' and not just
'su' to become root) do 'which logoutd'?



Cheers,
Tink
 
Old 08-06-2006, 01:54 PM   #19
slopoke
LQ Newbie
 
Registered: Aug 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Nothing. The prompt returns. But I think we're safe with "But if it works
then we should assume all is well ;}"

Sorry, I should have said the GUI equivalent of 'find', meaning I searched the entire hard drive starting at '/'.

slopoke
 
  


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
New kid on the block claudestephane LinuxQuestions.org Member Intro 2 04-30-2006 01:53 AM
it's me----new kid on the block suetan LinuxQuestions.org Member Intro 1 10-13-2004 04:01 AM
I'm The New Kid On The Block michaelsil1 LinuxQuestions.org Member Intro 1 04-07-2004 08:04 PM
game for my kid shanenin Linux - Games 15 11-24-2003 12:11 PM
StarWars Kid neo77777 General 11 05-31-2003 04:19 PM

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

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