LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-05-2005, 04:02 AM   #1
engnet
Member
 
Registered: May 2003
Posts: 30

Rep: Reputation: 15
The only thing that’s stopping deployment of Linux Workstations


Hello all, I am battling with this problem and have not managed to figure out a away around it.

I have domain users logging into kde and also ssh access using there domain credentials without any problems, when they login they are created a home area on the Linux box and an symbolic link:

ln –s /mnt/home/$USER homearea

The /mnt/home/$USER is there H: drive on the windows network, which works fine if I mount the shared area via root access.

The only problem I have with issuing the command via root and using the admin credentials for my windows environment, is that all security rights on the folders after /mnt/home seems to just disappear and users then have potential access to the whole share /mnt/home and not just there $USER area.

Testaccount is a windows domain user accessing not only his potential home area but also that of other users.

testaccount@comp:/mnt/home> cd /mnt
testaccount@comp:/mnt> ls -la
total 1
drwxr-xr-x 3 root root 72 2005-11-01 17:54 .
drwxr-xr-x 22 root root 552 2005-11-04 23:50 ..
drwxrwxrwx 1 root root 0 2005-11-04 19:30 home
testaccount@comp:/mnt>

testaccount@comp:/mnt> cd home
testaccount@comp:/mnt/home> ls -la
total 0
drwxrwxrwx 1 root root 0 2005-11-04 19:30 .
drwxr-xr-x 3 root root 72 2005-11-01 17:54 ..
drwxrwxrwx 1 root root 0 2005-11-04 18:14 linuxuser
drwxrwxrwx 1 root root 0 2005-11-04 18:29 testaccount
testaccount@comp:/mnt/home>

Like I said this is the only area that is holding my back from deploying Linux workstations on our network, I must be missing something so simple, but just cannot find a solution!!!

Many Thanks

Chris
 
Old 11-06-2005, 04:06 AM   #2
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
I'm no expert, but I believe that /etc/profile and /etc/bash.bashrc can be used to issue commands at login, so you can set the permissions on the folders to prevent snooping around by users.
 
Old 11-06-2005, 08:28 PM   #3
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 31
The problem (as I see it) is that you're mounting the share using a Windows account that grants access to the entire branch. Access should be controlled at the server, not at the client.

Possible solutions
  • Create separate Windows accounts and multiple mounts, one per user
  • Use an NFS server (see diskless howto)
  • Something using LDAP or Radius

Last edited by Snowbat; 11-06-2005 at 08:30 PM.
 
Old 11-06-2005, 09:44 PM   #4
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
As snowbat says it looks like you're mounting the directories as a user which has admin priveleges on the network - ie. root. If you try to mount the home directory as the user what happens? What's in the /etc/fstab file on these workstations? What about using the user and credentials mount options in fstab or in the mount command, ie. something like this:
Code:
//server/home /mnt/home cifs user,credentials=/etc/samba/auth.SERVER.username 0 0
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux workstations deployment stockerz Linux - Enterprise 8 09-26-2005 05:50 AM
server runs redhat , workstations win 2k ,workstations cannot connect to internet snkambule Linux - Networking 7 04-27-2005 10:08 AM
Binaries deployment is not easy on Linux ? programmershous Linux - General 16 07-24-2004 09:47 AM
Mass Linux Deployment pmrent Linux - Enterprise 5 07-07-2004 03:40 AM
Linux/samba with XP workstations Dogface1SG Linux - Networking 1 11-10-2003 11:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration