LinuxQuestions.org
Visit Jeremy's Blog.
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-29-2002, 01:03 PM   #1
te_conway
Member
 
Registered: Apr 2001
Location: MA
Distribution: redhat 7.2
Posts: 182

Rep: Reputation: 30
Linux Login Scripts


I've been using a linux server with 2-4 win98 clients for a couple of years with good success. I use samba as a pdc with login scripts. The windows favorites and my documents are mapped individually for each user which is nice.

I want to upgrade my software but rather than pay for 3 copies of XP and Office I'd like to try using Linux and StarOffice for the 1st time as a client.

I assume I'll use NFS to share server drives but I don't know how and where to setup the scripts that'll set the mappings based upon the user who logged. For instance every user would have a path to thier home/docs directory on the server but only certain users would have access to system and application directories.

I understand networking but haven't use linux as a client, I just need a step in the right directions.

-Thanks
 
Old 11-29-2002, 02:26 PM   #2
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
This sounds like a permissions thing. As you know there are read, write and execute permissions on every directory and every file in nix for each user, group and other.

That's a 2D matrix - decide which programs directories you want to give which users permissions for and you should be fine - have a look on google/linux for howtos on permissions and have a look at the chmod and chown command man pages.

Bert
 
Old 11-29-2002, 04:10 PM   #3
te_conway
Member
 
Registered: Apr 2001
Location: MA
Distribution: redhat 7.2
Posts: 182

Original Poster
Rep: Reputation: 30
I'm familiar with permissions and ownership.
I haven't started my project yet.

What I'm trying to reproduce on linux is the windows domain login script.

net use s: \\server\shared_directory /yes
net use u: \\server\user_home /yes
net time \\server /yes /set

I guess I'm assuming I can sync the time with the server, push files to clients and yes, attach to specific shares (nfs) based upon a login script.

Can this be done? Is it normally done or do you just hide files and directories from certain users based upon user:group privileges.

Thanks
 
Old 11-29-2002, 05:06 PM   #4
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
man exports

There is an example in there that should be pretty close to what you
want to do (if I understand you correctly).

Also,
man exportfs
 
  


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
Login Scripts??? Help Orian Linux - Newbie 3 11-12-2005 02:29 PM
Login Scripts DarkNecromancer Linux - General 4 05-11-2005 10:26 AM
login Scripts meenalborkar Linux - General 14 02-18-2005 12:10 AM
login scripts? C++freak Linux - Networking 5 08-08-2003 11:15 AM
Login Scripts ppuddick Linux - Networking 2 03-24-2003 09:38 AM

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

All times are GMT -5. The time now is 03:27 AM.

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