DRBLDiskless Remote Boot in Linux
drbl-cp-user, drbl-get-user, drbl-rm-user are userful when teacher want to put or collect students' homework.
drbl-cp-user (or drbl-user-cp) Put a file into user's home directory.
drbl-get-user (or drbl-user-get) Collect a file in user's home directory.
drbl-rm-user (or drbl-user-rm) Remove a file in user's home directory. NOTE!!! USE IT VERY CAREFULLY! It will remove the data in user's home directory.
drbl-cp-user (or drbl-get-user,or drbl-rm-user) [-g|--group] group [-d|--directory DIR] [-v|--verbose] source target
-g, --group: Assign "group" to be processed.
-d, --directory DIR: Process the DIR under user's home directory.
-v, --verbose Verbose output.
1. When a teacher want to put a file "homework1.sxw" into students' home directories (These students are belong to group "g3c5"), then the teacher can run:
# drbl-cp-user -g g3c5 homework1.sxw
2. When the teacher want to collect the students' homework "homework1.sxw", then she/he can run:
# drbl-get-user -g g3c5 homework1.sxw
The program will copy file "homework1.sxw" to the working directory, and put their account in the beginning of filename (like: user01_homework1.sxw, user02_homework1.sxw...)
3. When the teacher want to remove the file "homework1.sxw" in the students belong to group "g3c5", she/he can run:
# drbl-rm-user -g g3c5 homework1.sxw