Presentation is loading. Please wait.

Presentation is loading. Please wait.

University of Pisa Computer Science Department System Administration adduser Stefano Bistarelli University of Pisa Computer Science Department

Similar presentations


Presentation on theme: "University of Pisa Computer Science Department System Administration adduser Stefano Bistarelli University of Pisa Computer Science Department"— Presentation transcript:

1 University of Pisa Computer Science Department System Administration adduser Stefano Bistarelli University of Pisa Computer Science Department

2 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Outline

3 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Outline

4 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Prima Settimana 9 Introduzione W2K Installazione win2K (anche studenti) Backup Riferimenti: -Lucidi -Cap 1,2,15 libro 10 W2K registri Active Directory Gestione computer Linux -Installazione Linux Riferimenti: -Lucidi -Cap 4,5 libro -RH inst.guide 11 lab -Linux utente1 12 lab -Linux utente2

5 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Seconda settimana 15 lab 16 W2K Booting and Shutdown Disco ripristino Linux Booting and Shutdown Inst. Linux (studenti) Riferimenti: -Lucidi - fotocopie 17 W2K Utenti Linux Backup multi boot Utenti superuser Riferimenti: -Libro Cap. 7 -Lucidi - fotocopie 18 lab Esercitazioni su: Backup (N-P-F) Ripasso quanto fatto finora Domande studenti Inst. office 19 lab

6 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Adduser - useradd Edit passwd (vipw)e shadow Make home directory Edit group (vigr) Copy startup files (/etc/skel) Set initial psw Set disk quota accounting

7 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration \etc\passwd Login name (unico, 8 char max) /etc/aliases per nomi piulunghi (posta) Passwd encrypted (o x se usiamo shadow) passwd o grafico userpasswd Uid NON RIUTILIZZARE GLI UID! Gid (initial group, comando newgrp) Gcos (nome,ufficio, extension, home phone) Chfn, userinfo Homedir Login shell chsh

8 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration \etc\shadow sp_namp - pointer to null-terminated user name. sp_pwdp - pointer to null-terminated password.. sp_lstchg - days since Jan 1, 1970 password was last changed. sp_min - days before which password may not be changed. sp_max - days after which password must be changed. sp_warn - days before password is to expire that user is warned of pending password expiration. sp_inact - days after password expires that account is considered inactive and disabled. sp_expire - days since Jan 1, 1970 when account will be disabled. sp_flag - reserved for future use.

9 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration \etc\group Nome Pswd Gid Lista utenti

10 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Homedir e shell Creare /home/nomeuser Mkdir gimli Chown gimli /home/gimli Chgrp user /home/gimli shell! Varie (/etc/shells)

11 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Lab: 30 min Inserire utente sulla macchina

12 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Lab: inserire altri utenti Usare Adduser Schermata grafica Linuxconf Control-panel Altre trovarle!!! (almeno altre 2) Chi le trova fa break!

13 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration Disabilitare e rimuovere user Mettere * sul campo della psw A volte dopo * si mette data della disabilitazione Eliminare e piu difficile Passwd,group, aliases,shadow File su homedir, /var/spool/mail

14 University of Pisa Computer Science Department dr. Stefano Bistarelli: System Administration varie chfn(1), chsh(1), crypt(3), groupadd(8), groupdel(8), groupmod(8), passwd(1), useradd(8), userdel(8), usermod(8)


Download ppt "University of Pisa Computer Science Department System Administration adduser Stefano Bistarelli University of Pisa Computer Science Department"

Similar presentations


Ads by Google