Sign In
New User? Register
linux_schools · LINUX AT SCHOOLS IN INDIA
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
You can set the sort order of messages? Just click on the link in the date column. Your preferences will be remembered, so you don't have to do it again when you return.

Messages

  Messages Help
Advanced
Re: Hello   Message List  
Reply | Forward Message #13 of 131 |
Re: [linux_schools] Re: Hello


>
> Simons,
> I am even impressed by the way you are working towards making Linux as a
preferred choice with lots of applications installed than windows.
> The scripts that you are ready to share will really be helpful for the
guys who would want to implement the LTSP.
>
> And lastly as I prefer to hear people use Linux not by mere OpenSource
philosophy, but by its power. That was the reason I started using it in '98-'99
and been working to advocate its usage.
>
> Thanks
> Pradeep
>


Here's the makeuser.sh file first. I have it in /home/makeuser.sh With LTSP,
it's best to have autologin users as ws001 to wsnnn I use ws000 as my 'source'
user, where I can log in and set up options like Mozilla settings, Openoffice
settings, etc. I don't let anyone log in as ws000

#!/bin/sh

# Note - don't use with an existing username!

if [ "$1" == "" ] ; then
exit
fi

if [ "$1" == "ws000" ] ; then
exit
fi

# Create the new user
adduser $1

# Add them to the users group
usermod -G users,games $1

# Create their home folder
mkdir /home/$1

# Copy the 'ws000' user's folder to the new username
rsync -aux /home/ws000/ /home/$1/

# Change all the permissions in that folder to the new user
chown -R $1:users /home/$1

# Remove the OLD kde stuff - sockets, etc
rm /home/$1/.kde/*-Old

# remove the current .kde sockets
rm /home/$1/.kde/tmp-tux
rm /home/$1/.kde/socket-tux


# Get admin to change the password
passwd $1

# remove the OpenOffice stuff
rm /home/$1/.sversionrc

# remove the mozilla/netscape stuff
rm -rf /home/$1/.mozilla
rm -rf /home/$1/.phoenix
rm -rf /home/$1/.netscape
rm -rf /home/$1/.netscape6

echo "Now you have to log in as this user and run Firebird once."
echo "Then run 'sh update.sh'"




Tue Mar 16, 2004 5:46 am

simhay
Offline Offline
Send Email Send Email

Forward
Message #13 of 131 |
Expand Messages Author Sort by Date

Herald, You got me right. I was the one who distributed CD's of IBM in the LUG meeting. Prof. Durga sir and you are really doing a good work. We hope to see...
Pradeep M Aniruddh
aniruddh_2k
Offline Send Email
Mar 16, 2004
5:27 am

Herald, Nice to hear you are able to influence some schools to use Linux and help them in the process. Hope the school you mentioned would get the PC's...
Pradeep M Aniruddh
aniruddh_2k
Offline Send Email
Mar 16, 2004
5:30 am

... Here's the makeuser.sh file first. I have it in /home/makeuser.sh With LTSP, it's best to have autologin users as ws001 to wsnnn I use ws000 as my...
Simon Haynes
simhay
Offline Send Email
Mar 16, 2004
5:46 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help