Server :: Set Time Limit For A Service Managed By Xinetd?

Aug 13, 2010

Is there a way to limit the time an instance of a service can run? For example, I want to limit all telnet sessions to 30 mins. Users will be automatically logged out after 30 mins.

View 5 Replies


ADVERTISEMENT

Server :: Configure Fakemail To Startup As Xinetd Service?

Feb 2, 2010

I found a way to capture emails sent from my Drupal installation, and Fakemail seems simple enough. I can follow the tutorial. Since the application Fakemail needs to be running to capture the outgoing emails, it seems like a good candidate for xinetd, yes? I've found a simple config tutorial describing starting the service and what the parameters are for the service-specific configuration files. This got me this far,

Code:

# default: on
# description: This is a script to start the Sandbox app "fakemail"
service fakemail

[code]....

But the service is not starting up. Will someone help me with this config file? Or, recommend another application which uses a similar configuration like Sendmail so I can copy this The Fakemail application/service is started from command line like so,

# fakemail.py --host=localhost --port=10025 --path=[path_to_email_textfile]

View 9 Replies View Related

Server :: Configure Fakemail To Start Up As Xinetd Service?

Aug 3, 2011

I found a way to capture emails sent from my Drupal installation, and Fakemail seems simple enough.

I can follow the tutorial. Since the application Fakemail needs to be running to capture the outgoing emails, it seems like a good candidate for xinetd, yes?

I've found a simple config tutorial describing starting the service and what the parameters are for the service-specific configuration files. This got me this far,

Code:
# default: on
# description: This is a script to start the Sandbox app "fakemail"
service fakemail
{

[Code]....

But the service is not starting up.

Or, recommend another application which uses a similar configuration like Sendmail so I can copy this

The Fakemail application/service is started from command line like so,
# fakemail.py --host=localhost --port=10025 --path=[path_to_email_textfile]

View 1 Replies View Related

General :: Xinetd - Unrecognized Service

May 21, 2010

I've already installed centos 5.5 and checked the xinetd services using the command : service xinetd status and the reply is xinetd: unrecognized service.

View 3 Replies View Related

Server :: How To Time Limit A DHCP Lease

May 9, 2011

I would like to be able to schedule a limit for an IP connection for my kid's computers/iPods. Since I know the MAC addresses of their various hardware items, is there a way to shut down their connectivity at a particular time via the DHCP server or perhaps a firewall rule?

Running Ubuntu 10.04 and Shorewall is being used for the firewall.

View 4 Replies View Related

Server :: Postfix Queue Time Limit ?

Apr 27, 2010

I notice that when someone sends a message from my Postfix server & it can't find the destination server or if there is a incorrect domain recipient entered by mistake, it sits in my Postfix queue for days. I think perhaps 4-5 days for some reason. I was wondering if I could shorten the time so the sender gets a delivery failure message kicked back to them in 24 hours rather than waiting 4 or so days.

Code:

View 1 Replies View Related

Server :: /etc/xinetd.conf Vs /etc/xinetd.d

Apr 24, 2009

I installed Subversion and xinetd and added Subversion as a service to xinetd.conf as instructed at http://www.codeandcoffee.com/2007/06...rver-on-linux/

I restarted the xinetd service using /sbin/service. however, Subversion does not end up being listed in /etc/xinetd.d nor does it seem to be running and occupying the port altogether.

View 2 Replies View Related

Red Hat / Fedora :: Unable To Start Tftpd Service After Starting Xinetd / Solve This?

Nov 9, 2010

Unable to start tftpd service after starting xinetd

View 9 Replies View Related

Server :: HTTPD Service Get Dead Any Time

May 2, 2011

My mail server is getting problem since 3 days. It automatically get hang and httpd service get dead any time. How I can check what is effecting server, load, network traffic etc...

View 13 Replies View Related

CentOS 5 :: Xinetd Xvnc 'Teminal' Sessions - Only One Allowed At A Time?

Mar 2, 2009

I'm setting up my CentOS server and I'm having issue with the VNC server. I've set up xinetd services for connections all of which work individually bringing me to a login window. But only one will work at a time. If I kill the process or if I click the disconnect button I can make a new one but as they are terminal sessions (using wait) I wanted to be able to leave one logged in and have the option of another connection if I wanted to log on a different user.

Can someone help with the setting which would be to allow more than one connection? I know if you setup permanent session paths in vncserver this should work but (and I'm sure this has worked for me in the past) the xinetd method is supposed to open up sessions as required. I am working from a write-up for doing this in Ubuntu and aside from odd path differences the only noticeable change is the guide uses vnc4server rather than vncserver that comes pre-installed on CentOS. Should that matter?

View 2 Replies View Related

Fedora Networking :: Eth0 No Longer Managed In NM - Device Not Managed ?

Nov 3, 2010

I use my T61 both wireless and in the dock, where I switch to the wired connection. After the latest round of updates, I seem to have lost the ability to switch to the wired network. When I turn the laptop on, I see it connect to the wireless network, but when I left click on the tray icon under Wired Network is says Device not managed. I have not made any changes to anything in the last couple weeks, besides some updates. How do I go about getting the wired network back in there?I tried to add eth0 back into System - Preferences - Network Connections, but whenever I try and add eth0, but it still says Device not managed.

View 2 Replies View Related

Server :: Limit The Suphp User Memory Limit?

May 12, 2010

I have a VPS server with 512 MB memory. The php.ini is set so script memory limit = 16 MB. However, I have noticed in my top report, instances like the following:

Quote:

5484 coldclim 25 0 46476 32m 5920 R 0.0 6.4 0:00.93 php

The bold number of 6.4 is the % of sever memory this process is using. 6.4 % of 512 MB of memory is about 32 MB of memory, so it appears that this isn't being limited by php.ini. Am I correct? This leads to the next question: Is there some way to limit the amount of memory a single suphp process can use? (Basically, something like the setting in php.ini which limits suphp processes in the same way.)

View 2 Replies View Related

Slackware :: How To Limit The Time Someone Can Spend On An Account

Jun 28, 2011

I was wondering how to allow someone to use a user account for two hours a day. After this time, it will log them out, and not allow them to sign back in until the next day. How can I do this?

View 2 Replies View Related

Server :: Run /usr/bin/foo Through Xinetd ?

Apr 28, 2009

If i run /usr/bin/foo through xinetd and have /etc/xinetd.d/foo conf file something like:

1 service foo
2 {
3 port = 3691
4 socket_type = stream
5 protocol = tcp
6 wait = no
7 user = www-data
8 server = /usr/bin/foo
9 server_args = -x
10 }

Is /usr/bin/foo supposed to be listed in the list of all processes on that machine (ps aux)? i added the conf file, bouced xinetd daemon via /sbin/service, yet foo does not seem to be running. the xinetd doc online seems pretty incomplete.

View 10 Replies View Related

Ubuntu Security :: Set A Time Limit On Internet Priveleges With 9.04?

Apr 15, 2010

Is there a way to create a guest account and have Ubuntu "automagically" limit the amount of time the user can access the Internet? So, for example, could she set up an account for her son and limit his Internet access to an hour at a time?

View 9 Replies View Related

General :: Make Second Program Running With CPU Time Limit 2 Seconds?

May 16, 2011

Linux bash inline command to execute a program and limit the resource.As I know, to limit the resource I can use ulimit command.But, the problem is when I set the CPU time limit 1 second, and then I want to execute another program with CPU limit 2s, the ulimit command return an error like this: bash: ulimit: CPU time: cannot modify limit: Operation not permitted and absolutely my program killed in 1 second.So, How can I make the second program running with the CPU time limit 2 seconds?

View 3 Replies View Related

Networking :: Trying To Launch A C-server Using Xinetd

Jun 26, 2011

I have a small stats program that I am using to get some sys stats. I am trying to launch this program on a particular port, using the xinetd system deamon. Here is what I am doing ...

[Code]///

View 1 Replies View Related

CentOS 5 Server :: FTP PROXY Cache - Never Managed To Run

Apr 9, 2011

My past few weeks trying to cache the use frox, but never managed to run frox correctly. I need a guide for installation frox (ftp proxy or otherwise) that I can understand, because I'm still just learning. I use a superbly managed using squid for web proxy using port 3128

View 1 Replies View Related

Ubuntu Installation :: Windows - Dual Boot / Default Time Limit?

Mar 23, 2011

I was struggling how to phrase the question (in the subject) so let me clarify... I wish to install Windows 2000 and then do Ubuntu, on the same PC. I never had a dual boot before but I understand that it goes automatically (after a short time) to default Windows if Ubuntu is not chosen (on the boot up screen), correct? If so, if there's a "countdown" of sorts, is there a way to disable it? I wish to have control over that aspect, have unlimited time during that boot "choose one" screen.

View 7 Replies View Related

Red Hat / Fedora :: Configure SNMP Server Using XINETD?

Jan 26, 2011

I am trying to configure SNMP server using xinetd on red hat. I am using non-standard port for it. My connection to server fails. I see the following log messages in /var/log:

Jan 26 17:23:31 [userid] xinetd[15023]: START: my-snmp pid=15047 from=192.128.11.21
Jan 26 17:23:31 [userid] xinetd[15023]: EXIT: my-snmp status=1 pid=15047 duration=0(sec)
Jan 26 17:23:32 [userid] xinetd[15023]: START: my-snmp pid=15050 from=192.128.11.21
Jan 26 17:23:32 [userid] xinetd[15023]: EXIT: my-snmp status=1 pid=15050 duration=0(sec)

can anybody help to point out what is wrong in my config?

[Code]...

View 1 Replies View Related

Server :: VNC Over Xinetd Doesn't Starts Vncserver

Nov 26, 2010

in Debian Lenny, using TightVNC 1.3.9 I can setup a VNC server manually by using

Code:
vncserver -query localhost -once -geometry 1024x768 -depth 16 :1

But then, as I have read is a better option, I use xinetd with the following configuration:

Code:
service vnc-1024x768x16
{
protocol = tcp
socket_type = stream
wait = no

[Code].....

In fact, I was considering that the problem was with xinetd, but I have other services setted up with it (telnet & ftp for example) and I can use them correctly.

So now I'm lost with this, what else am I not considering with VNC service through xinetd? Where can I find logs or useful information to get a clue about this problems?

View 11 Replies View Related

CentOS 5 Server :: No Xinetd Installed By Default?

Jul 18, 2009

yesterday I installed my first CentOS system. Before I was always using Debian for my servers. When I configured my vsftpd I was just wondering how to setup xinetd or inetd for listening on ports and starting vsftpd. I found /etc/xinetd.d. But there is no xinetd installed by default. Why? Shall I start all my services in standalone mode? What is the concept of CentOS in this issue?

View 5 Replies View Related

General :: Xinetd Server Configuration - Infinite Loop?

Apr 14, 2011

I have a java server console program that I have configured xinetd to start when connection comes in on a given port and then the program runs in an infinite loop receiving inputstream from telephone exchanges. The thing is, when a new chunk of stream comes from the exchange xinetd forks a new process each time. I tried setting the wait parameter to yes and restarted the deamon, but no success. How can I stop this behavior and have the deamon just direct the stream to the process already running? Am I missing something in my config or is it just incorrect?

My config is as follow:
defaults
{
instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 50 10
}
includedir /etc/xinetd.d

And then my actual config,
service aos_larmar
{
socket_type = stream
protocol = tcp
user = root
type = UNLISTED
wait = yes
instances = 256
server = /home/gunnl/java/start.sh
port = 5204
disable = no
}

My server OS is, Red Hat Enterprise Linux ES release 4 (Nahant Update 7)

View 1 Replies View Related

Ubuntu Servers :: Can't Modify FTP \ Managed To Create A FTP Server By Using Apt-get Vsftpd?

May 13, 2010

I'm completely new to Linux/Ubuntu, but I managed to create a FTP server by using apt-get vsftpd or something.I followed a tutorial and modified a file called vsftpd.conf.I tried to disable all kind ofblocking/permissions. From a Windows client, I can connect to it without any login (I enabled anonymous) and I can download from it, but I am unable to modify it or upload files. Unless there is a better way to transfer files between the computers, how can I enable writing on the FTP server?

View 3 Replies View Related

Ubuntu Networking :: OpenVPN Server With Nm-managed Wifi Uplink?

Feb 7, 2011

I'm attempting to set up a VPN server on my box using the nifty HowTo posted here: [URL]

My setup is as follows:wifi0 --> Internet; managed entirely via nm-applet (NetworkManager)
Where I'm running into trouble is in the creation of a bridge interface (br0) to bridge future VPN clients to my local network.

The guide(s) say that I need to screw around in /etc/network/interfaces to setup br0 and [eth0/wifi0] accordingly. The problem is that when I specify a configuration of any sort for wifi0 (my only choice for a network uplink), it disables nm and I am unable to configure my wifi in any sort of sane way after reboot... Further info: this "server" doesn't move, and always always connects to the same wifi hotspot that is also nailed in place.

View 1 Replies View Related

Slackware :: Managed To Screw Up Remote Server Directory Ownerships?

May 26, 2011

managed to screw up the ownership of many directories on a remote server whilst installing a piece of new software. Basically I have set all ownership from / downwards to apache:apache.

Spotted the error quite quickly and managed to abort it, but am now unable to change to root to put anything right. Is there any way to restore ownerships of the underlying Slackware to 'factory default' as it were? Had a quick google and found some links for a script that is supposed to work, but it appears broken,

View 8 Replies View Related

General :: Torrent Client Allowing Upload - Download Rate Limit Depending On The Time Of Day

Jan 1, 2011

With Azureus/Vuze, can we set an upload/download rate limit depending on the time of day?

If not, do you know a torrent client allowing this? Client must be available on Linux.

I learned that you can install plugins for Azureus/Vuze. There is one about scheduling. I've tried to install it but I got a NullPointerException.

View 3 Replies View Related

General :: To Xinetd Or Not To Xinetd ?

Jul 21, 2009

I've been reading the RUTE Linux book and they recommend the use of xinetd to run services. However, this book is already a bit outdated, and I was wondering whether this still applies to today's circumstances?

View 4 Replies View Related

OpenSUSE Network :: Bootpd+xinetd Setup - Server Is Not Responding To Requests?

Jan 6, 2010

I have installed bootpd-dd2 and enabled and configured it with xinetd. 1. Made sure that their is a bootptab file and it is configured. 2. Tested the bootpd is working by runing the command /usr/sbin/bootptest cmdbfs .3. tail -f the /var/log/messages and saw the requests from the test.4. rebooted a machine that is configured to pxe boot.there is no messages by bootpd when a request is made.request is picked up by network monitor on a seperate computer on the proper udp port

View 9 Replies View Related

General :: Time Synchronisation Service On UNIX

Jan 27, 2010

I have a VPS running Debian. The time that it reports from the date command is two minutes fast.Is there a service that I can install that will keep the time correct?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved