1
<page xmlns="http://projectmallard.org/1.0/"
2
xmlns:its="http://www.w3.org/2005/11/its"
3
type="topic" style="task"
4
id="shell-guest-session">
7
<link type="guide" xref="shell-overview#desktop" group="#last"/>
8
<link type="guide" xref="user-accounts#manage"/>
10
<desc>Let a friend or colleague borrow your computer in a secure manner.</desc>
11
<revision version="14.04" date="2014-02-17" status="review"/>
12
<credit type="author">
13
<name>Gunnar Hjalmarsson</name>
14
<email>gunnarhj@ubuntu.com</email>
16
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
19
<title>Launch a restricted guest session</title>
21
<section id="restricted">
22
<title>Temporary session with restricted privileges</title>
24
<p>Once in a while a friend, family member, or colleague may want to borrow your computer.
25
The Ubuntu <app>Guest Session</app> feature provides a convenient way,
26
with a high level of security, to lend your computer to someone else. A guest session can
27
be launched either from the login screen or from within a regular session. If you are currently
28
logged in, click the icon at the far right of the <gui>menu bar</gui> and select <gui>Guest Session</gui>.
29
This will lock the screen for your own session and start the guest session.</p>
31
<p>A guest cannot view the home folders of other users, and by default
32
any saved data or changed settings will be removed/reset at logout. It means that each
33
session starts with a fresh environment, unaffected by what previous guests did.</p>
37
<section id="customize">
38
<title>Customization</title>
40
<p>The <link href="https://help.ubuntu.com/community/CustomizeGuestSession">
41
Customize Guest Session</link> online tutorial explains how to customize
42
the appearance and behavior.</p>
46
<section id="disable">
47
<title>Disabling the feature</title>
49
<p>If you prefer to not allow guest access to your computer, you can disable the <app>Guest
50
Session</app> feature. To do so, press <keyseq><key>Ctrl</key><key>Alt</key><key>T</key></keyseq>
51
to open a terminal window, and then run this command (it's one long command, even if it may be
52
shown wrapped on the screen - copy and paste to get it right):</p>
54
<p><cmd its:translate="no">sudo sh -c 'printf "[SeatDefaults]\nallow-guest=false\n" >/usr/share/lightdm/lightdm.conf.d/50-no-guest.conf'</cmd></p>
56
<p>The command creates a small configuration file. To re-enable <app>Guest Session</app>, simply
59
<p><cmd its:translate="no">sudo rm /usr/share/lightdm/lightdm.conf.d/50-no-guest.conf</cmd></p>