Quote:
Originally posted by suguname
this is OK..but
is there any command for clear history...
because i have two users(staff,student)
12 students using the one "students" user...
i can n ot make user for each student..
so let me know the command...
thanks...
|
Is there any compelling reason all these students are sharing the same account? This is a classic recipie for disaster waiting to happen. And it also removes a lot of the advantages *nix offers multiple users.
If they are all working on the same project... (and need to edit the same files) it might be better to change the default umask to 002 (which will let every file created be r/w accessible by all members of the group), add all the students into one group, and have a softlink in their home directory to the project files (ln -s /actual/location/of/project/ ~/project).
Give appropriate permissions for user specific files (not group writable) and each user will be restrained from trampling each other's person stuff unless it is project specific. At least those files which aren't created after you change the umask. And you have some accountability because you know who was logged in and when... and you won't need to guess by time of day should something happen. Note: In this case, I would set the home directory of each user as rwx------ to prevent the other students from getting a directory listing because most new files are going to be created with permission for them to write to and will remain that way unless the student knows enough to chmod the file.
Just a little thing to keep in mind. A single account used by a group is just asking for problems.