[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [linux-team] Interdire l'acces au reseau ?
On Wed, Nov 17, 1999 at 06:00:54AM -0500, Verloove, Olivier wrote:
> Est-il possible d'interdire l'acces au reseau pour un utilisateur ?
> Donc, l'utilisateur peut se logger sur le systeme meme ou par un modem mais
> ne peut pas sortir de la machine (telnet, ftp, ... interdits).
Suffit de créer un groupe autorisé à utiliser telnet, ftp, ..., d'y mettre
tous les utilisateurs sauf celui-là, et de faire les chown et chmod nécessaires.
p.ex. groupe "net":
for f in telnet ftp lynx; do
F=`which $f`
chgrp net "$F"
chmod g=rx,o= "$F"
done
--
-o) Pascal Bleser | Instead of giving Windows
/\\ C++/UNIX Development | the "three-finger-salute",
_\_v ATOS Payment Systems | give it the "one-finger-
Aachen, Germany | goodbye" {jfk/propaganda}
<pbleser@atos-group.com>--------------<guru@linuxbe.org>
---------
Visit the Linux Supertore Online: http://www.redcorp.com !
If you want to be deleted from the list, send a mail to
majordomo@rtfm.be with "unsubscribe linux-team" in the body.
Archive of the list: http://tania.be.linux.org/