--- Miles Berry <mberry@st-ives.surrey.sch.uk> wrote:
I'm interested in setting up either a dual boot or Windows xserver suite, and want to provide access to the usual network shares which are on a Linux server running Samba. From what I've read NFS seems the way
NFS is certainly one way.
My question is really how do I get the %g and %u (groupid and userid) stuff and automounting in NFS, without having to write lots of separate scripts for each user. Any help would be much appreciated.
Well, from the Linux end, there's the $GID and $UID environment variables. Of course, they're only set when one logs into a system. You wouldn't necessarily need to write separate scripts for each user, if you do something like: [ $UID == "some_value" ] && { do_some_task } As to what "some_value" is, depends on what you want to do. You might qualify that with some other means. I don't know, as I don't know much about your aims over all. Automounting NFS is one of those things which is either straight-forward, or a real PITA. You'd do well by certainly reading the NFS HOWTO at www.tldp.org, as that pretty much explains everything. Was there something specific you wanted help with, or is this still very much a "bounce ideas around" thing? :) -- Thomas Adam ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com