Running mount in a script.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, 28 Apr 2006, Michael Jacks wrote:

> I am running CentOS 4 and have the need to run "mount -t cifs ..." from
> within a perl or bash script as part of an application.  The
> application does not run as root.

If I remember right, suid scripts just can't be done securely.

Can you use the automounter?  If it's set up correctly, your script
can get the filesystem mounted by simply doing an "ls".


-David

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux