Mounting network shares under home?

Is it possible to mount network shares so that they will show up under
each users /home? It seems alot of programs only will look at files
under various folders in the file system and not look at network
drives. It would be easier if the shares were located where all these
programs could see them.

Thanks,
Eric

--

No votes yet

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Mounting network shares under home?

On Fri, May 18, 2007 at 09:46:51PM -0400, Eric A. Bonney wrote:
> Is it possible to mount network shares so that they will show up under
> each users /home? It seems alot of programs only will look at files
> under various folders in the file system and not look at network
> drives. It would be easier if the shares were located where all these
> programs could see them.
>
Depending on your configuration (more details would be helpful), you
have a few options:

- automount the various directories that your users need
- hard mount them somewhere and use symlinks
- hard mount them somehwere and then bind mount them other places

Regards,

-Roberto

--
Roberto C. Sánchez
http://people.connexer.com/~roberto
http://www.connexer.com

Mounting network shares under home?

> On Fri, May 18, 2007 at 09:46:51PM -0400, Eric A. Bonney wrote:
> > Is it possible to mount network shares so that they will show up under
> > each users /home? It seems alot of programs only will look at files
> > under various folders in the file system and not look at network
> > drives. It would be easier if the shares were located where all these
> > programs could see them.

On 18.05.07 21:55, Roberto C. Sánchez wrote:
> Depending on your configuration (more details would be helpful), you
> have a few options:
>
> - automount the various directories that your users need
> - hard mount them somewhere and use symlinks
> - hard mount them somehwere and then bind mount them other places

can't pam_mount do the thing?
--
Matus UHLAR - fantomas, ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"To Boot or not to Boot, that's the question." [WD1270 Caviar]

--

Mounting network shares under home?

On Sun, May 20, 2007 at 04:28:25PM +0200, Matus UHLAR - fantomas wrote:
> > On Fri, May 18, 2007 at 09:46:51PM -0400, Eric A. Bonney wrote:
> > > Is it possible to mount network shares so that they will show up under
> > > each users /home? It seems alot of programs only will look at files
> > > under various folders in the file system and not look at network
> > > drives. It would be easier if the shares were located where all these
> > > programs could see them.
>
> On 18.05.07 21:55, Roberto C. Sánchez wrote:
> > Depending on your configuration (more details would be helpful), you
> > have a few options:
> >
> > - automount the various directories that your users need
> > - hard mount them somewhere and use symlinks
> > - hard mount them somehwere and then bind mount them other places
>
> can't pam_mount do the thing?
>
You are right. I forgot about pam_mount.

Regards,

-Roberto

--
Roberto C. Sánchez
http://people.connexer.com/~roberto
http://www.connexer.com

Mounting network shares under home?

On Fri, 2007-05-18 at 21:46 -0400, Eric A. Bonney wrote:
> Is it possible to mount network shares so that they will show up under
> each users /home? It seems alot of programs only will look at files
> under various folders in the file system and not look at network
> drives. It would be easier if the shares were located where all these
> programs could see them.
>
> Thanks,
> Eric

My own approach is to mount each /home from other computers under this
computer's /home as, e.g.:
/home/homeDumbledore
and each user then dives into their own directory on dumbledore under
that link.

HTH,

Kenward
--
If people are good only because they fear punishment, and hope for
reward, then we are a sorry lot indeed. Albert Einstein

--

Mounting network shares under home?

On Fri, 2007-05-18 at 22:55 -0700, Kenward Vaughan wrote:
> On Fri, 2007-05-18 at 21:46 -0400, Eric A. Bonney wrote:
> > Is it possible to mount network shares so that they will show up under
> > each users /home? It seems alot of programs only will look at files
> > under various folders in the file system and not look at network
> > drives. It would be easier if the shares were located where all these
> > programs could see them.
> >
> > Thanks,
> > Eric
>
> My own approach is to mount each /home from other computers under this
> computer's /home as, e.g.:
> /home/homeDumbledore
> and each user then dives into their own directory on dumbledore under
> that link.

I should have added that each user can add this to their $PATH if you
want it searchable (AFAIK this isn't a problem, being an NFS share, that
is).

Kenward
--
The church says the earth is flat, but I know that it is round, for I
have seen the shadow on the moon, and I have more faith in a shadow than
in the church. --Ferdinand Magellan

--

Syndicate content