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

[linux-team] Compte utilisateur résolu :)



Bonjour,

j'ai résolu le problèem des utilisateurs, mais c'est néanmoins
bizarre...

D'abord, voici mes constatations:
- le x dans /etc/passwd, indique qu'il faut aller voir dans /etc/shadow.
Si on ôte le x, il considérera que le passwd est blanc.

- si on met un blanc dans le fichier shadow, ça marche aussi il
considére comme espéré qu'il n'y a pas de mot de passe.


Je n'avais donc pas tout à fait tort... le hic est le suivant.

Je fais (sous root)
#useradd truc
#su truc
User don't exist.
#su truc
User don't exist.

...et ainsi de suite


Par contre, si je fais
#useradd truc
#ls     (ou n'importe quoi d'autre)
[... fichiers]
#su truc

Ca marche ! (sans demander le passwd car je fais ça depuis root, donc
c'est normal).


Je ne comprends pas ce comportement, mais au moins mon problème est
résolu :)

Désolé de vous avoir embêté pour ça, mais j'étais qd même un peu
déconcerté devant ces bizarreries. D'ailleurs, si qqn a une explication,
je suis tjrs tout ouie :)

A+,

Christophe.


-- 
>>>>--------------->
Once it's perfectly aimed, the flying arrow goes straight to its target.
Thus, don't worry when things go right. 
There will be enough time to worry about if they go wrong.
Then, it's time to fire a new arrow towards another direction.
Don't sink.  Adapt yourself !  The archer has to shoot accurately and
quickly.
[Words of Erenthar, the bowman ranger]  <---------------<<<<
---------
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/