Difference between revisions of "Users"

From Mufasa (BioHPC)
Jump to navigation Jump to search
 
(43 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Creation of a new user of Mufasa =
= Requesting a new user of Mufasa =


Only people with a '''Linux user account''' on Mufasa can [[System#Accessing Mufasa|access the machine]] and interact with it.  
Only people with a '''Linux user account''' on Mufasa can [[System#Accessing Mufasa|access the machine]] and interact with it. Only Linux users registered to SLURM's accounting system can [[System#The_SLURM_job_scheduling_system|use SLURM]] to run jobs.


Only Linux users '''registered to SLURM's accounting system''' can [[System#The_SLURM_job_scheduling_system|use SLURM]] to run jobs.
All requests for the creation of new users and their registration to SLURM's accounting must be '''authorized by a member of the academic staff''' in charge of Mufasa.


Requests for the creation of new users are done by [[Special:Emailuser/GiulioFontana|writing an email to Giulio Fontana]].
Requests are done by writing an email


The email must specify:
: '''TO:''' [[User:GiulioFontana|Giulio Fontana]]
: '''CC:''' the person who authorizes the request
 
The email must provide the following 5 pieces of information:


# '''name and surname''' of the person that the new Linux user is associated to
# '''name and surname''' of the person that the new Linux user is associated to
# '''email address''' of the person
# (POLIMI) '''email address''' of the person
# '''user category''', which can be either ''student'' (for M.Sc. students) or ''researcher'' (for everyone else, including Ph.D. students)
# '''user category''', which can be either ''student'' (for M.Sc. students) or ''researcher'' (for everyone else, including Ph.D. students)
# what '''research group''' the person belongs to, among those listed in [[Users#Group names|Group names]] (see below)
# '''research group''' that the person belongs to (see [[Users#Usernames and group names|below]])
# [by CC'ing the person in the email] '''who authorized the request''' among the academic staff in charge of Mufasa
 
= User and groups on Mufasa =
This section explains user and group policy on Mufasa, and the procedure to create new users and associate them to groups.
 
== Usernames ==
Mufasa usernames have the form <code>xyyy</code> (all lowercase), where <code>x</code> is the first letter of the first name of the person, and <code>yyy</code> is their complete surname. For instance, a person called Mario Rossi will be assigned username <code>mrossi</code>.


If multiple users with the same surname ''and'' first letter of the first name exist, those created after the very first one are given usernames including a two-digit counter: <code>mrossi</code>, <code>mrossi01</code>, <code>mrossi02</code> and so on.
= Usernames and group names =
Mufasa usernames have the form <code>xyyyyyyyy</code> (all lowercase), where <code>x</code> is the first letter of the first name of the person, and <code>yyyyyyyy</code> is their surname (or part of it if it's too long). For instance, a person called Giuseppe Brambilla will be assigned username <code>gbrambill</code>.


== Group names ==
On Linux machines, users belong to ''groups''. On Mufasa, groups are used to identify research groups. Assigment of Mufasa's users to groups follow these rules:
On Linux machines such as Mufasa, users belong to ''groups''. On Mufasa, groups are used to identify the research group that a specific user is part of. Assigment of Mufasa's users to groups follow these rules:


* All users corresponding to physical people belong to group <code>'''users'''</code>
* All users corresponding to physical people belong to group <code>'''users'''</code>
Line 34: Line 30:
** <code>'''bio'''</code>, for BioEngineering users not belonging to any of the research groups listed above.
** <code>'''bio'''</code>, for BioEngineering users not belonging to any of the research groups listed above.


The person cited within brackets is the faculty who is in charge of Mufasa for each group.
The person cited within brackets is the faculty who is in charge of Mufasa for each research group.
 
= Removing inactive usernames =
Mufasa usernames that are not in use anymore '''must be removed'''. Typically, these correspond either to M.Sc. students who graduated or to researchers who left POLIMI.
 
Removing a username means:
* '''deleting the username''' from the Linux system
* '''deleting the home directory''' from the filesystem
 
Removing inactive usernames is necessary to preserve Mufasa's safety and to avoid wasting resources (e.g., disk space).
 
Whenever a person ceases to use Mufasa, '''the member of staff responsible for them''' (e.g.: professor, Ph.D) '''must''':
# (optional) check the home directory and copy any useful leftovers somewhere else
# write an email to [[User:GiulioFontana|Giulio Fontana]]

Latest revision as of 16:40, 10 April 2024

Requesting a new user of Mufasa

Only people with a Linux user account on Mufasa can access the machine and interact with it. Only Linux users registered to SLURM's accounting system can use SLURM to run jobs.

All requests for the creation of new users and their registration to SLURM's accounting must be authorized by a member of the academic staff in charge of Mufasa.

Requests are done by writing an email

TO: Giulio Fontana
CC: the person who authorizes the request

The email must provide the following 5 pieces of information:

  1. name and surname of the person that the new Linux user is associated to
  2. (POLIMI) email address of the person
  3. user category, which can be either student (for M.Sc. students) or researcher (for everyone else, including Ph.D. students)
  4. research group that the person belongs to (see below)

Usernames and group names

Mufasa usernames have the form xyyyyyyyy (all lowercase), where x is the first letter of the first name of the person, and yyyyyyyy is their surname (or part of it if it's too long). For instance, a person called Giuseppe Brambilla will be assigned username gbrambill.

On Linux machines, users belong to groups. On Mufasa, groups are used to identify research groups. Assigment of Mufasa's users to groups follow these rules:

The person cited within brackets is the faculty who is in charge of Mufasa for each research group.

Removing inactive usernames

Mufasa usernames that are not in use anymore must be removed. Typically, these correspond either to M.Sc. students who graduated or to researchers who left POLIMI.

Removing a username means:

  • deleting the username from the Linux system
  • deleting the home directory from the filesystem

Removing inactive usernames is necessary to preserve Mufasa's safety and to avoid wasting resources (e.g., disk space).

Whenever a person ceases to use Mufasa, the member of staff responsible for them (e.g.: professor, Ph.D) must:

  1. (optional) check the home directory and copy any useful leftovers somewhere else
  2. write an email to Giulio Fontana