You are not logged in.

#1 2009-09-30 22:21:08

matthewbauer
Member
From: /usa/ks
Registered: 2009-07-20
Posts: 86

Tutorial: Creating a GMail user (kiosk)

Sometimes it's nice to have a gmail user to give users 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 pacman -S ratpoison
yaourt -S uzbl-git
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 with the password: password and go straight to your gmail.

You can replace google.com/mail with another website such as:
eyeos.info
google.com/reader
yahoo.com/mail
google.com/docs
google.com/calendar
zoho.com

Also can anyone tell me how to add a user with no password?

Last edited by matthewbauer (2009-12-01 05:02:27)


Libertarian Arch Linux User

Offline

#2 2009-09-30 23:28:03

smartboyathome
Member
From: $HOME
Registered: 2007-12-23
Posts: 334
Website

Re: Tutorial: Creating a GMail user (kiosk)

matthewbauer wrote:

Sometimes it's nice to have a gmail user to give users 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 pacman -S ratpoison
yaourt -S uzbl-git
cd /home/gmail
echo "exec ratpoison" > .xinitrc
echo "exec uzbl 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 with the password: password and go straight to your gmail.

Also can anyone tell me how to add a user with no password?

This will be very useful for me in the future, but not for the use it was intended for here. Thanks for posting it. smile

Offline

#3 2009-09-30 23:35:34

Isengrin
Member
Registered: 2008-08-07
Posts: 166

Re: Tutorial: Creating a GMail user (kiosk)

Thanks. = D

I've always hated to have people with access to my account, my browser, etc. when they need to check mail. Problem solved. xD


The Wheel weaves as the Wheel wills, and we are only the thread of the Pattern."
—Moiraine Damodred

Offline

#4 2009-10-11 23:11:18

securitybreach
Member
From: In front of my computers
Registered: 2007-11-18
Posts: 416
Website

Re: Tutorial: Creating a GMail user (kiosk)

Nice. I do not think I will have a use for it since noone uses my machines but still very neat, Great job!!!!

Thanks

Last edited by securitybreach (2009-10-11 23:13:57)


"Every normal man must be tempted at times to spit upon his hands, hoist the black flag, and begin slitting throats." -- H.L. Mencken
Website      Configs
Forum Admin: Bruno's All Things Linux   
securitybreach<a>archlinux.us

Offline

Board footer

Powered by FluxBB