[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: utilisateur droits limités



Am 2005-03-31 17:32:37, schrieb tnemeth@free.fr:
> Selon Frédéric Bothamy <frederic.bothamy@free.fr>:
> 
> | * pyb <proko174@free.fr> [2005-03-31 14:49] :
> 
> | > Je désire créer un utilisateur 'toto' mais qui possède des droits
> | > ultra-limités (connexion par ssh en console seulement); je
> | > m'explique.
> |
> | Le problème est plus compliqué qu'il n'y paraît : par défaut, pour
> | que
> | tes utilisateurs puissent accéder à leur répertoire /home/toto, ils
> | doivent avoir accès en lecture (et probablement exécution également)
> | à
> | tous les répertoires parents, donc notamment / et /home.
> |
> | La solution est alors d'utiliser la commande chroot :
> 
>     Erk :)
>     J'imagine le bordel :
>     - recréer /dev
>     - peupler /bin
>     - " /lib
>     - " /usr/bin
>     - " /usr/lib
>     - " /var...
>     - mettre un /tmp
>     - monter /proc
> ...
> 
>     Faut rien oublier !

Et apres tu crée un archive tar pour la prochaine utilisation
et mettre cet truc sur un site accessible pour tous...   :-)

> Thomas.

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: