Thread: Deleting user data on logout
setting old pc, publicly accessible, putting .bash_logout , making 444... it's computer of these people have that's secure enough banking etc...
on #!...
code:cd && ls -a | grep -ve "^\.(bash_logout|profile)$" | rm -rfwill (in theory) work? should shred logout script every time logs out , copy default settings every login.code:cp /etc/defaultusersettings/ ~
potential problems:
1.files ".bash_logout" in names not deleted, want clean every time.(used regex "^\.bash_logout$")
2. system work files missing? should recreate them every time but...
3.are there other ways "standard" users permanently write files disc...(only in tmp folder, that's erased every time system starts again anyway)
4. experimented , realized shred works on individual files... in addition, rm -rf deletes folders regardless of permissions... got lot more complicated...
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] Deleting user data on logout
Ubuntu
Comments
Post a Comment