Arvutiklassi Linux: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Mernits (talk | contribs)
Mernits (talk | contribs)
Line 33: Line 33:
# The distinguished name of the search base.
# The distinguished name of the search base.
base dc=itcollege,dc=ee
base dc=itcollege,dc=ee
uri ldap:///172.16.0.175
host 172.16.0.175
</pre>
</pre>
*Seadistada /etc/nsswitch.conf  
*Seadistada /etc/nsswitch.conf  

Revision as of 18:03, 11 June 2009

Arvutiklassides kasutatava Linux seadistused ja tarkvara

Kuna Margus ja Laur kavatsevad teha arvutiklasside Linux keskkonna pisut sõbralikumaks, siis toimub siin lehel arutelu antud teemal.

Hetkel eksisteerivad probleemid

  • OpenOffice org on vana ja ei oma õigekirjakontrolli.
  • Nädal algab pühapäevast ja arvuti kell on GMTs (tegelikult pole)


Installeeritav tarkvara

eagle - trükiplaadi CAD programmi vaba versioon avr-gcc, avr-libc, avrdude - AVR mikrokontrollerite programmeerimise tarkvara minicom sudo apt-get install vim htop

Seadistused

Siin on klassi masinate seadistused

Grub alglaadur

Vaikimisi laetakse windows operatsioonisüsteemi (kuna win maailma paikamine peab öösel töimima) Alglaadimisel ooteaeg 300s

PAM ja LDAP

Pam konfiguratsioon LDAP serveriga ühendamiseks debian/ubuntu laadsetel

  • Installeerida ldap klienditarkvara
sudo apt-get install auth-client-config ldap-auth-client ldap-auth-config libnss-db libnss-ldap libpam-ldap nscd nss-updatedb ldap-utils
  • Seadistada /etc/ldap.conf
# The distinguished name of the search base.
base dc=itcollege,dc=ee
host 172.16.0.175
  • Seadistada /etc/nsswitch.conf
passwd:         files ldap
group:          files ldap

Kontrollimiseks kasuta järgnevaid korraldusi

getent passwd
getent group

Estobuntu

Fedora

#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
auth        required      pam_env.so
auth        required      pam_mount.so

auth        sufficient    pam_unix.so nullok try_first_pass
auth        requisite     pam_succeed_if.so uid >= 100 quiet

auth        sufficient    pam_ldap.so use_first_pass
auth        required      pam_deny.so

account     required      pam_unix.so broken_shadow
account     sufficient    pam_localuser.so
account     sufficient    pam_succeed_if.so uid < 100 quiet
account     [default=bad success=ok user_unknown=ignore] pam_ldap.so
account     required      pam_permit.so

password    requisite     pam_cracklib.so try_first_pass retry=3
password    sufficient    pam_unix.so sha512 shadow nullok try_first_pass use_authtok
password    sufficient    pam_ldap.so use_authtok
password    required      pam_deny.so

session     optional      pam_keyinit.so revoke
session     required      pam_limits.so
session     [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uid
session     required      pam_mkhomedir.so 
session     required      pam_unix.so
session     optional      pam_mount.so
session     optional      pam_ldap.so

PAM mount