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

Re: Créer utilisateur avec home existant



Sun, 19 Jul 2015 23:19:32 +0200
raphael.poitevin@gmail.com (Raphaël POITEVIN) écrivait :

> Bonsoir,

Bonsoir Raphaël,

> [...]
> adduser toto --home toto
> 
> Cré bien le user, mais  :
> su - toto
> No directory, logging in with HOME=/
> cd ~
> ne bouge pas.

Vérifie ce qu'il y a dans /etc/passwd
grep toto /etc/passwd

Je pense que tu dois spécifier le chemin complet
adduser toto --home /home/toto

> 
> C’est sûrement tout bête mais je ne vois pas.
> 
> merci,
> -- 
> Raphaël
> 

Jean-Marc <jean-marc@6jf.be>

Attachment: pgp30qft0q0BT.pgp
Description: PGP signature


Reply to: