You are not logged in.
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
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.
Offline
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
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