GeeK`s Lifez GeeK`s Lifez

7Nov/074

SSH/LDAP, Home directory

Recemment j'ai eu a corriger un probleme sur la machine frontale du taff, en effet les nouveaux arrivants n'avaient pas de homedirectory sur la dite, machine.

Le probleme venait d'un probleme de creation du homedirectory lors de la connexion SSH.

Dans le fichier /etc/pam.d/common-session rajouter la ligne:
session required pam_mkhomedir.so skel=/etc/skel

Ce qui permet la creation d'un homedirectory lors de la connexion ssh si
ce dernier n'existe pas.

Lors de votre prochaine connexion en SSH vous devriez voir un message:

"Creating /home/user"

C'est que tout roule ;)

Filed under: Debian, Ldap, Linux Leave a comment
Comments (4) Trackbacks (0)
  1. Between me and my husband we’ve owned more MP3 players over the years than I can count, including Sansas, iRivers, iPods (classic & touch), the Ibiza Rhapsody, etc. But, the last few years I’ve settled down to one line of players. Why? Because I was happy to discover how well-designed and fun to use the underappreciated (and widely mocked) Zunes are.

  2. Hi,I have recently been searching for information about this topic for long time and yours is the best I have discovered so far.

  3. The catchy blog with the interesting contents. You give the nice information .that many people dont know before. most of your contents are make me have more knowledge. it is very different. I was impressed with your blog. Never be bored to visit your blog again. Have the nice day.Keep enjoyed your blogging.

  4. The catchy blog with the interesting contents. You give the nice details .that several individuals dont know just before. most of your contents are make me have far more knowledge. it really is quite various. I was impressed together with your blog. Never be bored to go to your blog again. Have the nice day.Keep enjoyed your blogging.


Leave a comment

(required)

No trackbacks yet.