-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 [Your CCing the same mail to various lists in the name of X-Post sucks. It is rude when other lists permits only subscribers to post. So, for a little convenience of yours, you're pissing off those who are trying to help you. Please avoid this, this is not USENET.]
Kartik Singhal writes: > Thanks Ashish for your response. > On Sat, Jul 24, 2010 at 9:30 PM, Ashish SHUKLA <[email protected]> wrote: >> Instead of putting up an SMB server, why not use an SFTP server and an NFS >> server ? >> >> NFS server for anonymous mounts. And SFTP for authenticated mounts. >> > We need to be able to access the server from windows clients too in the > other lab, hence we decided for samba. We ran into either problems or > complications while trying to deploy setups like nfs and ldap. And after a > lot of testing with this setup we have not observed any problems. Our only > problem seems to be with resetting the machines. Well, it is not forbidden to share $HOME through multiple protocols. >> > #!/bin/bash >> >> echo 'Enter your username: ' >> >> read un >> >> nautilus smb://192.168.5.82/$un/ >> >> >> >> And instead of having this script, why not initialize the ~guest with a >> .desktop file which points to location like: sftp://192.168.5.82/ > It is indeed a .desktop file while just runs this script. This is for > accessing the private shares of a particular user which is not same as the > 'user' account they use to login to the client. The reason I suggested is because entering a username/password in a dialog box looks straightforward to me, and SFTP url will be the same. You can configure OpenSSH in chroot mode[1] preventing users from exploring the server file-system. And also if '/$un/' share requires authentication, you're entering same username twice, one at your script and other in the user/password dialog box which nautilus pops up. SFTP offers secure access and is well integrated with Nautilus and GNOME VFS. References: [1] http://www.debian-administration.org/articles/590 HTH - -- Ashish SHUKLA “Well, I guess cyborgs like myself have a tendency to be paranoid about our origins.” (Motoko Kusanagi in movie "Ghost in the Shell") -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) iQIcBAEBCgAGBQJMSxiPAAoJEMdGz6nnT6SwokUP/ijus3teCq2LFnBptVeUVVhy 6usXe/p/aaNitnHVkevz0Ng7fzSPKg1m66hHMfW6MDjq6OT0VPdGpXaC2IkFPQQb G3UreeEPrk0HnibHUAW1KgU8MVa/VMYwpciVnKjEz0deHXXMRWzPApdY1qhB6d3Y xl6Mv5Q90KU/J18u/KuMphya2QfVUTH8DAwwv7FtO8ugCEInt0krFLo859N9WHfl lxtQd6mNBTwa17d2VmPElTWfTGVSxwL+9HVt+P42M1S6FoDIMXTtIWl5h3lgCRBq JT2YqHTuj5iVjo24wHwUb+CuserszjUWN/6IUjwcIPCQ1pKo7xQCZG2AHNp8Jz9N PDT0eFLcrnjaOEX4xxf2s3LWNOOMfbklBW9a88GnnjtbY66BpLy0s+b3NQzGRX+Y n2pVfmZB/JXqyhtzPYWVuNoSBuTMn+Plzc4sCCwz8W0/uZRXLZ4J8ysJcdY6T0T7 DF9y6uIAhtvF1dNzle/4VBjp6VOd/sp/ElpzwBpe5HPJytOnMYODhHgep/XyZJrC BgWw71ey3OdrAk/VmqRVTE/n8URUGYb4RCOj8zFPteP0e4zD2T+ogxAkeIds6THJ AA5nHB9ZT5uAUKmvORs3wW6vvk1HNkOc+LFYHOX1lIeaZJElq4k8+OJT7rpb6qy+ BUtlyFE9O38hQm3/af/d =Mj8P -----END PGP SIGNATURE----- _______________________________________________ Ilugd mailing list [email protected] http://frodo.hserus.net/mailman/listinfo/ilugd
