Difference between revisions of "User:Matthewbauer/Kiosk user"

From ArchWiki
Jump to: navigation, search
Line 1: Line 1:
[[Category:Security (English)]]
+
[[Category:Security]]
 
{{i18n|Create a Kiosk User}}
 
{{i18n|Create a Kiosk User}}
 
{{stub}}
 
{{stub}}

Revision as of 18:26, 23 April 2012

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in User talk:Matthewbauer/Kiosk user#)

Tango-edit-clear.pngThis article or section needs language, wiki syntax or style improvements.Tango-edit-clear.png

Reason: please use the first argument of the template to provide a brief explanation. (Discuss in User talk:Matthewbauer/Kiosk user#)

Sometimes it's nice to have a gmail user to give people without accounts on your computer a quick way to access their Gmail account (this can be easily modified to use Yahoo or any other service) this is easy as Linux is so configurable.

#!/bin/sh
sudo useradd -p password gmail
sudo cat /etc/shadow | sed "s|gmail:.*:\([0-9]*\):\([0-9]*\):\([0-9]*\):\([0-9]*\):::|gmail::\1:\2:\3:\4:::|" | sudo tee  /etc/shadow # Remove password from gmail user.
sudo pacman -S ratpoison
pacman -S uzbl-tabbed
cd /home/gmail
echo "exec ratpoison" > .xinitrc
echo "exec uzbl-browser google.com/mail" > .ratpoisonrc
mkdir -p .config/uzbl
echo "set always_insert_mode = 1" > .config/uzbl/config

And that should be it, you can now login with your login manager as gmail and go straight to your gmail.