[PLUG] Auto-running a script

Anthony Schlemmer aschlemm at attbi.com
Thu Nov 7 22:54:30 UTC 2002


The other thing you could do if running it from .bashrc is to put a 
simple test in the script to see if the file system(s) are already 
mounted or not. If they are skip over the mount process.

Tony

On Thursday 07 November 2002 13:57 pm, Scott VanHoosen wrote:
> Thanks to all your help, I've got my Samba stuff working smoothly,
> however I'd like to run my network script automatically to mount
> Samba shares on my workstation.
>
> If I put my script in rc.local, it runs as root, but I want to run it
> as a normal user (scott). I tried putting it in .bashrc, but then the
> script runs every time I open a terminal window.
>
> Is there a start-up file that runs when you first log in to Linux? Or
> is there a way I can have a script in rc.local run start as user
> "scott"?
>
> -Scott
>
> =====
> -Scott
>
> O
>      o               http://vanhoosen.net
>         ..                       octopus024 at yahoo.com
>      ([:}p                     Come dive with me!
>
> __________________________________________________
> Do you Yahoo!?
> U2 on LAUNCH - Exclusive greatest hits videos
> http://launch.yahoo.com/u2
>
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug

-- 
Anthony Schlemmer
aschlemm at attbi.com





More information about the PLUG mailing list