Hi all,
I have the following two files in the root directory of all my users on an
LTSP4 setup. The purpose is to map their home drives from another server
into the user space on the LTSP server. Works fine. However since a recent
'yum upgrade' (this is running on FC2) none of the text appears in the
terminal screen. If you respond to the two pauses in the cursor with a
correct username/password combination it works, but I need it to display
the prompts.
It is run by running the 'mapodrive' file as I couldn't figure out how to
do the xterm -e thing any other way.

File: mapodrive
xterm -e ./leavemealone

File:leavemealone
#!/bin/bash
echo -n "Enter your username   "
read -e USERNAME
echo -n "Enter your password   "
read -es PASSWORD
`sudo mount -t smbfs -o username=$USERNAME,password=$PASSWORD
//10.192.0.14/homes /home/$USERNAME/ODrive`


-- 
Simon Bryan
IT Manager
OLMC Parramatta
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to