fresh Guest account

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
SiKing
Level 5
Level 5
Posts: 570
Joined: Mon Sep 29, 2008 10:57 pm
Location: Las Vegas
Contact:

fresh Guest account

Post by SiKing » Tue Apr 15, 2014 11:10 am

Hello all.

I would like to create a Guest account on my box, that gets wiped each time the account is used by someone that just "needs to quickly check something". It used to be, in the days of LM10, that when I created the account I would just define their home in /tmp/home/guest.
Today running LM13, this is not possible. The login manager complains that the user's home does not exist.
Is this a feature or a bug?

Am I correct in that the (old) login manager handled this? How much problems am I going to run into if I replace my login manager. I would really like to not brick my machine.

TIA for any advice.

User avatar
gtsfer
Level 7
Level 7
Posts: 1925
Joined: Mon May 27, 2013 9:15 am
Location: Bucks County PA, USA

Re: fresh Guest account

Post by gtsfer » Tue Apr 15, 2014 3:06 pm

There should be a "Users and Groups" in settings or admin (or Control Center) for creating accounts. But I don't know about it getting "wiped" as you're asking. "Users and Groups" will allow you to create an account, set password, limit permissions to for instance, establish wireless connections, etc. There's more you can do in here by adding / removing what groups that account is part of. (or you can do that from command line of course).

It creates the home/guest... folder structure. The "Login Window" settings is different now. I don't go back that far to LM 10, so I can't say about that part. :)
"There is no gravity, the earth sucks." - Issac Newton @ 75
KDE & Cinnamon 18.1 & Win 10 - ASUS M5A99FX PRO MB, AMD FX-8370 Octo-Core CPU, 16GB RAM, AMD Radeon R7 240

SiKing
Level 5
Level 5
Posts: 570
Joined: Mon Sep 29, 2008 10:57 pm
Location: Las Vegas
Contact:

Re: fresh Guest account

Post by SiKing » Wed Apr 16, 2014 10:40 am

Right. And one thing that control (or from command line) allows you to do is to set the user's home location. In older LM versions I was able to set it to /tmp, which automatically gets wiped every time you reboot the machine, and whenever this guest account would log in, their home was recreated from the skeleton files. In LM13, this recreate no longer works (the /tmp still gets wiped). I'm just wondering if this is a feature or a bug.
Also, I'm wondering if I swap out MDN (I think that is current login manager) for the older one (which I do not know what it is called), how much stuff is that going to break. May be time to fire up my VM and start breaking things.

User avatar
gtsfer
Level 7
Level 7
Posts: 1925
Joined: Mon May 27, 2013 9:15 am
Location: Bucks County PA, USA

Re: fresh Guest account

Post by gtsfer » Wed Apr 16, 2014 11:25 am

SiKing wrote:Right. And one thing that control (or from command line) allows you to do is to set the user's home location. In older LM versions I was able to set it to /tmp, which automatically gets wiped every time you reboot the machine, and whenever this guest account would log in, their home was recreated from the skeleton files. In LM13, this recreate no longer works (the /tmp still gets wiped). I'm just wondering if this is a feature or a bug.
Also, I'm wondering if I swap out MDN (I think that is current login manager) for the older one (which I do not know what it is called), how much stuff is that going to break. May be time to fire up my VM and start breaking things.
I get that now. Maybe this will help, but note that these screenshots are in LMDE. In Users and Groups, Advanced you can specify where that home folder is. If you put it in tmp you might get the results you're looking for since it's cleaned out on reboot. Since it's managed from Users and Groups I would think it'll recreate on "guest" login like you're looking for it to do. If this doesn't work your best bet might be to create the account via command line options as I don't know what swapping MDM would do.

Maybe someone will jump in with an opinion on that. (or even an answer, that would be better :) )
Users and Groups.jpg
Users and Groups Advanced.png
"There is no gravity, the earth sucks." - Issac Newton @ 75
KDE & Cinnamon 18.1 & Win 10 - ASUS M5A99FX PRO MB, AMD FX-8370 Octo-Core CPU, 16GB RAM, AMD Radeon R7 240

SiKing
Level 5
Level 5
Posts: 570
Joined: Mon Sep 29, 2008 10:57 pm
Location: Las Vegas
Contact:

Re: fresh Guest account

Post by SiKing » Thu Apr 17, 2014 11:16 am

I suspect we have a misunderstanding. :oops:
Every single thing you said so far, I already knew. What I am trying to say is: the procedure you describe used to work, but does not anymore. However, in this case I am not sure if it is a bug or just a feature that I used to exploit.
Thank You.

SiKing
Level 5
Level 5
Posts: 570
Joined: Mon Sep 29, 2008 10:57 pm
Location: Las Vegas
Contact:

Re: fresh Guest account

Post by SiKing » Mon May 26, 2014 5:40 pm

Seems like this is already under construction: https://github.com/linuxmint/mdm/issues/51

Post Reply

Return to “Software & Applications”