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

Slides:



Advertisements
Similar presentations
University of Pisa Computer Science Department System Administration Stefano Bistarelli University of Pisa Computer Science Department
Advertisements

University of Pisa Computer Science Department System Administration Monitoring Stefano Bistarelli University of Pisa Computer Science Department
University of Pisa Computer Science Department System Administration backup Stefano Bistarelli University of Pisa Computer Science Department
University of Pisa Computer Science Department System Administration Boot-shutdown Stefano Bistarelli University of Pisa Computer Science Department
0 - 0.
Addition Facts
Addition 1’s to 20.
Week 1.
Linux User Management Image source: cover of UNIX System Administration Handbook.
Unit 5 – User Administration Randy Marchany VA Tech Computing Center.
Linux Users and Groups Management
Unix/Linux basics user management Operating systems lab Gergely Windisch room 4.12
6. Adding New Users Xiang Sha Cmsc 691x. 6.1 The /etc/passwd File The /etc/passwd File is a list of users recognized by the system. Login name Encrypted.
Race Condition Zutao Zhu 10/09/09. Outline Race Condition –Some functions –File format of /etc/passwd and /etc/shadow –Input Redirection Format-string.
Adding New users This is a routine chore on most systems
User Account Management WeeSan Lee. Roadmap Add An Account Delete An Account /etc/{passwd,shadow} /etc/group How To Disable An Account? Root Account Q&A.
Chapter 6 Adding New Users. Computer Center, CS, NCTU 2 Steps to add a new user 1.Edit the password and group files >vipw 2.Set an initial password >passwd.
SUSE Linux Enterprise Server Administration (Course 3037) Chapter 2 Manage User Access and Security.
Linux+ Guide to Linux Certification, Second Edition
Linux System Administration LINUX SYSTEM ADMINISTRATION.
Guide to Linux Installation and Administration, 2e1 Chapter 8 Basic Administration Tasks.
Managing User Accounts. Module 2 – Creating and Managing Users ♦ Overview ► One should log into a Linux system with a valid user name and password granted.
Adding New Users User as an entity - username(UID), GID. UID - typically a number for system to identify the user. GID – a number that recognizes a set.
ITI-481: Unix Administration Meeting 3. Today’s Agenda Hands-on exercises with booting and software installation. Account Management Basic Network Configuration.
Unix System Administration Chapter 6 Adding New Users.
Linux+ Guide to Linux Certification, Third Edition
CIT 470: Advanced Network and System AdministrationSlide #1 CIT 470: Advanced Network and System Administration Accounts and Namespaces.
Managing Users Objectives Contents Practicals Summary
ITI-481: Unix Administration Meeting 3 Christopher Uriarte, Instructor Rutgers University Center for Applied Computing Technologies.
Users Greg Porter V1.0, 26 Jan 09. What is a user? Users “own” files and directories Permission based on “ownership” Every user has a User ID (UID) 
There are three types of users in linux  System users: ?  Super user: ?  Normal users: ?
Managing Users  Each system has two kinds of users:  Superuser (root)  Regular user  Each user has his own username, password, and permissions that.
Chapter 3 & 6 Root Status and users File Ownership Every file has a owner and group –These give read,write, and execute priv’s to the owner, group, and.
Managing Users Objectives –to be able to add, modify and remove Unix user accounts Contents –requirements for a user account –configuration files (passwd,
1 © John Urrutia. All rights reserved. Chapter 15 System Administration.
Linux Based Networks University of Education Instructor: Muhammad Amer Irshad.
User Management. Adding New Users Computer Center, CS, NCTU 3 ID  User ID, Group ID % id liuyh  uid=10047(liuyh) gid=200(dcs) groups=200(dcs),0(wheel),700(ta),800(security),888(wwwadm)
The Saigon CTT Chapter 10 Managing Users. The Saigon CTT  Objectives  Define the requirements for user accounts  Explain group and group accounts 
© 2006 ITT Educational Services Inc. Linux Operating System :: Unit 3 :: Slide 1 Downloading and Installing Software yum pirut Bit Torrent rmp.
ITI-481: Unix Administration Meeting 3 Christopher Uriarte, Instructor Rutgers University Center for Applied Computing Technologies.
System Administration. Logging in as System Administrator System Admin login (aka superuser, aka root) –login id: root –Default PS1 prompt: # –Home directory:
Lecture – Users and groups
Working with users and Groups. 1. Manage users and group 2. Manage ownership, permissions, and quotas.
Linux Use the Command-Line Interface to Administer the System.
1. Edit the password and group files > vipw(8), pw(8) 2. Set an initial password > passwd lwhsu 3. Set quota > edquota [-u] lwhsu 4. Create user home.
CSC414 “Introduction to UNIX/ Linux” Lecture 6. Schedule 1. Introduction to Unix/ Linux 2. Kernel Structure and Device Drivers. 3. System and Storage.
SUSE Linux Enterprise Desktop Administration Chapter 9 Manage Users, Groups, and Permissions.
Chapter 6 Adding New Users. Computer Center, CS, NCTU 2 Steps to add a new user 1.Edit the password and group files >vipw, pw 2.Set an initial password.
Managing Users CSCI N321 – System and Network Administration Copyright © 2000, 2011 by Scott Orr and the Trustees of Indiana University.
Experiment No 4 Prepared by, Mr. Satish Pise. Objectives View the /etc/passwd file and describe its syntax. View the /etc/shadow file and describe its.
This slide deck is for LPI Academy instructors to use for lectures for LPI Academy courses. ©Copyright Network Development Group Module 14 Managing.
LINUX SYSTEM ADMINISTRATION
User Management.
System Programming and administration CS 308
Chapter 11: Managing Users
Users/Groups/Permissions
Chapter 2 User Management
Linux Users and Groups Management
Adding New Users, Storage, File System
COP 4343 Unix System Administration
LINUX SYSTEM ADMINISTRATION
System & Network Administration (MCSA & RHCSA)
Module 13 System and User Security
Adding New Users Chapter 6.
Administering Users and Groups
Administering Users and Groups
CIT 470: Advanced Network and System Administration
Adding New Users.
Chapter 6 Adding New Users
Presentation transcript:

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

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

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

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

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

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

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

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.

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

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)

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

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!

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

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)