LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Username that Resets on login (https://www.linuxquestions.org/questions/debian-26/username-that-resets-on-login-4175447834/)

MrTS 01-30-2013 07:24 AM

Username that Resets on login
 
Hello,

Context: I'm a high school math teacher and extremely new to Debian/Linux. I've got ~20 laptops that are not allowed to connect to the schools internet. To perform updates, I literally have to haul these machines home to update them.

Curious students keep messing with the display settings etc. (which I approve of) but I would like to have a 'locked' version, where students would login as something like Username: student Password: student, which would load a clean version every time.

Thank you.

pierre2 01-30-2013 08:41 AM

if you had yourself, as administrator/root you can update / admin as necessary.
you could also have a separate admin/root account & another for yourself, as a 'normal user'.
also you could have another set of account(s) for students to use & yet another set for teachers to use.

- they could all have different levels of access - as well, & all set within their user profile, as set by you . . .

cynwulf 01-30-2013 10:09 AM

Quote:

Originally Posted by MrTS (Post 4880646)
Curious students keep messing with the display settings etc. (which I approve of) but I would like to have a 'locked' version, where students would login as something like Username: student Password: student, which would load a clean version every time.

I'm not sure this is what you have in mind, but it's perfectly feasible to write a simple script which removes a users personalisations on log off. It could be something as simple as removing /home/user_name and replacing it with a "default" clean home directory (or just clearing out all of the dot files and directories in the user's home directory).


All times are GMT -5. The time now is 06:38 PM.