mslinuz wrote:
I'm sorry if I misunderstand, but after reading your mail, I have 2
assumtions:
Your assumptions are correct. Actually, I have only Debian users,
and they all use gnome/gdm, so your #1 solution is the one that
I'm interested in.
1. Users use debian with gnome/gdm in the different machine and need
to mount the share everytime they log in.
Create a directory for mounting user share.
Then create a file with 0700 for everyuser place in a save place :
#!/bin/bash
smbmount //serveraddress/sharedfolder /pathtomountingpoint -o
username=whatever,password=pwd;
exit 0;
add these line to $HOME/user/.bashrc :
if [ -f PATHTOSCRIPTFILE ]; then
. PATHTOSCRIPTFILE;
fi
that's all.
My understanding is that a user's .bashrc file runs only when the
user starts a bash terminal session. Does it get run at login
also? If so, that will be the solution.
Thanks for you help.
--
Andy Anderson
Salisbury, MD, USA
http://www.slowlanecafe.com
"A truly happy person is one who can enjoy the scenery on a detour."
- Anonymous
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]