Hi Sal,
On Jun 13, 2006, at 21:43, Sal Emma wrote:
Does anyone have a script example of how to auto mount a windows
share at
boot time on a Solaris 8 using Sharity 3.1? We want to make the
share
available to all unix users. As users log off the system, sharity
should
reclaim the concurrent login license.
Any thoughts?
If you upgrade to 3.2 beta 2, you can use a "hidden" feature: Sharity
reads the file /usr/local/sharity3/var/mnttab (or the according path
if you did not use the defaults) at startup and passes each line as
parameter to "sharity mount".
If you want a permanent mount of smb://myserver/share at /
public_share, create the var/mnttab file with the following content:
smb://myserver/share /public_share
In addition to that, I would recommend to store root's login in the
keychain.
To make sure that your users log out from a particular server, put
the following into the logout hook (see the shell's man page for a
list of files executed during logout):
sharity logout smb://myserver
There is currently no way to log out from all servers at once, you
might want to parse the output of "sharity login", though, and
iterate over all logins.
Regards, Christian.
--
DI Christian Starkjohann <[EMAIL PROTECTED]>
OBJECTIVE DEVELOPMENT Software GmbH
_______________________________________________
Sharity-talk mailing list
[email protected]
To unsubscribe see http://at.obdev.at/mailman/listinfo/sharity-talk