LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
No guest account available on the login screen
#7
(09-05-2014, 03:32 AM)vdquynh link Wrote: Thanks for the hint.
That could be the last resort to do, effectively. I already created a script to re-initialize any user's account.

However I am struggling to understand/googlesearch how to run such a script upon login out for only one user account and not for all user accounts.

Any help would be appreciated.

There are several ways you could do this.

One that comes to mind is to modify the /etc/profile file that is sources each time bash logs in.  You could create a section that looks to see if the user id is the guest id, and if so runs whatever you need it to.

Otherwise, you could look into running a script using lightdm conf (/etc/lightdm/lightdm.conf) and have the script only execute if the user id is the guest id.

Either way, the script should be owned by a restricted user so the guest user can not modify/disable it.

riser
Reply


Messages In This Thread
No guest account available on the login screen - by vdquynh - 09-03-2014, 05:42 AM
Re: No guest account available on the login screen - by vdquynh - 09-03-2014, 07:53 AM
Re: No guest account available on the login screen - by vdquynh - 09-05-2014, 03:32 AM
Re: No guest account available on the login screen - by riser - 09-08-2014, 01:56 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)