~ubuntu-branches/ubuntu/vivid/ubuntu-kylin-docs/vivid

« back to all changes in this revision

Viewing changes to ubuntu-kylin-help/C/shell-guest-session.page

  • Committer: Package Import Robot
  • Author(s): Lei Luo
  • Date: 2014-04-10 14:58:12 UTC
  • Revision ID: package-import@ubuntu.com-20140410145812-9mfgq3xleqy0l89f
Tags: 14.04.3

* Add "Replaces" field in debian control file to automatically remove
  ubuntu-docs before installation.
* Merge ubuntu-docs changes.
* Update zh_CN tranlation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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">
 
5
 
 
6
  <info>
 
7
    <link type="guide" xref="shell-overview#desktop" group="#last"/>
 
8
    <link type="guide" xref="user-accounts#manage"/>
 
9
 
 
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>
 
15
    </credit>
 
16
    <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
 
17
  </info>
 
18
 
 
19
<title>Launch a restricted guest session</title>
 
20
 
 
21
<section id="restricted">
 
22
<title>Temporary session with restricted privileges</title>
 
23
 
 
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>
 
30
 
 
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>
 
34
 
 
35
</section>
 
36
 
 
37
<section id="customize">
 
38
<title>Customization</title>
 
39
 
 
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>
 
43
 
 
44
</section>
 
45
 
 
46
<section id="disable">
 
47
<title>Disabling the feature</title>
 
48
 
 
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>
 
53
 
 
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>
 
55
 
 
56
<p>The command creates a small configuration file. To re-enable <app>Guest Session</app>, simply
 
57
remove that file:</p>
 
58
 
 
59
<p><cmd its:translate="no">sudo rm /usr/share/lightdm/lightdm.conf.d/50-no-guest.conf</cmd></p>
 
60
 
 
61
</section>
 
62
 
 
63
</page>