LDAP Linux Auth Client: различия между версиями

Материал из noname.com.ua
Перейти к навигацииПерейти к поиску
Строка 5: Строка 5:
 
<PRE>
 
<PRE>
 
DEBIAN_FRONTEND=noninteractive apt-get install libnss-ldap
 
DEBIAN_FRONTEND=noninteractive apt-get install libnss-ldap
  +
</PRE>
  +
  +
Sudosh2
  +
<PRE>
  +
dpkg -i /root/sudosh2_2.0.1-1_amd64.deb
  +
</PRE>
  +
  +
/etc/shells
  +
<PRE>
  +
/usr/bin/sudosh
  +
</PRE>
  +
/etc/nsswitch.conf
  +
<PRE>
  +
#passwd: compat
  +
#group: compat
  +
#shadow: compat
  +
  +
passwd: ldap files
  +
group: ldap files
  +
shadow: ldap files
  +
</PRE>
  +
  +
/etc/ldap.conf
  +
<PRE>
  +
  +
</PRE>
  +
  +
/etc/ssh/sshd_conf
  +
<PRE>
  +
PasswordAuthentication yes
 
</PRE>
 
</PRE>

Версия 15:15, 12 мая 2016

Клиентская часть - линуксбокс который будет авторизоваться в LDAP

DEBIAN_FRONTEND=noninteractive apt-get  install libnss-ldap

Sudosh2

dpkg -i /root/sudosh2_2.0.1-1_amd64.deb

/etc/shells

/usr/bin/sudosh

/etc/nsswitch.conf

#passwd:         compat
#group:          compat
#shadow:         compat

passwd:         ldap files
group:          ldap files
shadow:         ldap files

/etc/ldap.conf


/etc/ssh/sshd_conf

PasswordAuthentication yes