My Ubuntu installation went tits up and I am running back to OpenSUSE 12.1. However, a feature Ive learned to love in Ubuntu 11.10 is the Guest Account feature. Friends could easily log in, do their stuff, log out, and the home directory is cleared out.
Ive been trying to figure out how to get this working on OpenSUSE. I think the Guest user in Ubuntu has the home directory created in /tmp/, so I could do something like: useradd -d /tmp/guestuserhome guest
But how to clear everything out upon logout?
I really think this is something that should be in OpenSUSE, either by default like Ubuntu, or by downloading a package like in Fedora with xGuest.
But for now, I would be more than satisfied if I could get it working on my own somehow. Any help would be much appreciated.
Hi
So it cleans out after the user logs out leaving nothing behind for the next ‘guest’ user. You could create a /home/guest and mount as tmpfs of course.
On 2012-04-28 14:36, Knurpht wrote:
>
> Loki657;2458952 Wrote:
>> Done! Hoping we will see it soon! For now Ive just created a user with
>> the home directory in /tmp/… will see how it works
>
> Why ? Better: why not in /home ?
The idea is to erase everything after the user has finished. But you are
right: everything should not be erased, a new user needs a skeleton of
directories and config files.
I see two alternatives: one, create a user for each friend. It doesn’t use
that much space. Two, create a clearup script that erases all, then adds
the skeleton files and folders.
But what about the password? Each guest would know the password, unless you
reset it each time, too. If the machine is accessible from outside, that
would be a problem
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)