Monthly Archives: July 2011

My plane game by javascript

Here is my demo, currently the demo is very simple. user could control a plane and fire bullets. All the control is achieved by using javascript and css.   in this demo, I achieved : 1. scroll the background, let … Continue reading

Posted in programming | Tagged , | Leave a comment

3 ways to change user’s login shell.

1. change /etc/passwd for ex,  root:x:0:0:0:root:/root:/bin/bash x-pwd 0-user id, root user 0-group id, root group /root home directory /bin/bash login shell   2. usermod sudo usermod -s /bin/bash xwei, somehow it doesn’t work on my rhel 6.0 enterprise 3. chsh

Posted in Uncategorized | Tagged | Leave a comment