Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:software:student_accounts [2020/03/10 08:37] – created rhainich | en:software:student_accounts [2024/10/09 08:09] (current) – Adjusts name of laboratory computer rhainich | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Student accounts on a12 ====== | + | <WRAP center round important 60%> |
+ | This page is outdated and needs to be updated! | ||
+ | </ | ||
- | Each group has its own student account | + | |
+ | ====== Student accounts on columba ====== | ||
+ | |||
+ | ==== Set up new student | ||
+ | |||
+ | We have scripts that create and delete user accounts for the students. The first script generates user accounts with a customized HOME directory, links, and user rights. This script is located in: | ||
+ | |||
+ | ~pollux/ | ||
+ | |||
+ | This script can set up a single or multiple user accounts. The first argument needs to be an ASCII file with the user names and passwords. The user names need to be in the first column and the passwords in the second. If only a specific user account | ||
+ | |||
+ | sudo ~pollux/ | ||
+ | |||
+ | and to set up all users listed in the file '' | ||
+ | |||
+ | sudo ~pollux/ | ||
+ | |||
+ | |||
+ | ==== Delete and backup student accounts ==== | ||
+ | |||
+ | The students | ||
| | ||
~pollux/ | ~pollux/ | ||
Line 9: | Line 31: | ||
~/ | ~/ | ||
| | ||
- | Therefore, it needs to be executed with super user rights. | + | This script expects two or three arguments. The first argument is again an ASCII file with a list of usernames for the accounts to be closed. The second argument is the name of the subdirectory where the backups should be saved. The third argument is again optional and must be specified if only one specific account is to be closed. The first argument has no meaning in this case and can be replaced by '' |
+ | |||
+ | sudo ~pollux/ | ||
+ | |||
+ | and to close all user accounts listed in the file '' | ||
+ | |||
+ | sudo ~pollux/ | ||
+ | |||
+ | In both cases the backups will be saved in: | ||
+ | |||
+ | ~/ |