[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: few scripting questions
- From: Bob Chiodini <rchiodin bellsouth net>
- To: For users of Fedora Core releases <fedora-list redhat com>
- Subject: Re: few scripting questions
- Date: Wed, 13 Apr 2005 13:35:08 -0400
On Wed, 2005-04-13 at 19:26 +0200, Alexander Dalloz wrote:
> Am Mi, den 13.04.2005 schrieb rado um 18:55:
>
> > 1. when syncing mail from one machine to another, right now I shut down
> > sendmail copy the mail over then service sendmail start. Wondering if I
> > just couldn't shut down port 25? If so how to shut down and open ports
> > in a script?
>
> close: /sbin/iptables -I INPUT -p tcp -m tcp --dport 25 -j REJECT
> --reject-with icmp-port-unreachable
> open: /sbin/iptables -D INPUT -p tcp -m tcp --dport 25 -j REJECT
> --reject-with icmp-port-unreachable
>
> > 2. Is there anyway to log out/logon users in a script?
>
> Which users? You could kill the shells of logged in users.
>
> > John Rose
>
> Alexander
>
>
> --
> fedora-list mailing list
> fedora-list redhat com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
Killing X will log off the local X user. Consequences to him may be
extreme, however.
Bob...
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]