LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-29-2005, 09:38 AM   #1
icedude
Member
 
Registered: Nov 2004
Location: South Africa
Posts: 43

Rep: Reputation: 15
Question Logon script


Hi all. I'm trying to create a user profile. I want to let some users log onto windows, but want to do this with a logon script to my Linux box. Could someone please help me. dont know where to start or where to begin.
 
Old 03-29-2005, 05:34 PM   #2
wmakowski
Member
 
Registered: Oct 2003
Location: Ohio
Distribution: Fedora 23, 24, RHL 5.2
Posts: 560

Rep: Reputation: 56
Would like to help, but I'm confused by your question. What do you mean log onto windows? Are you setting up shares on a Windows platform and want to access them from a Linux box using some sort of script?

Bill
 
Old 03-29-2005, 05:38 PM   #3
ror
Member
 
Registered: May 2004
Distribution: Ubuntu
Posts: 583

Rep: Reputation: 33
Do you mean you want it so when some users log in they'll reboot into windows?
 
Old 03-31-2005, 07:46 AM   #4
icedude
Member
 
Registered: Nov 2004
Location: South Africa
Posts: 43

Original Poster
Rep: Reputation: 15
Exclamation Netloggin

What i meant was: In windows 2000 when you create a user there is an option to create a login profile for that user. All i want to do is save that profile on a Linux server so that, that users profile is not on the windows 2000 box but on the linux server.
 
Old 04-03-2005, 11:45 AM   #5
wmakowski
Member
 
Registered: Oct 2003
Location: Ohio
Distribution: Fedora 23, 24, RHL 5.2
Posts: 560

Rep: Reputation: 56
This is called a roaming profile and can be accomplished without too much trouble. There is a section on this in the Samba documentation. For the Windows side of things you can consult help inside the User Manager.

The first thing to do is install samba on your Linux server. After that you'll need to do some configuration in smb.conf. What you configure depends on how you want to store and secure the user profiles. I felt using the [homes] share was the best route. This requires you to add users to Linux and set up their smbpasswd. There is probably a slick way of doing this with a password server, but since I don't have one you're on your own. That's pretty much all you have to do on the Linux side.

On the Windows side it is accomplished using the User Manager. When you create the user you will set the password to be the same as it is on Linux. Then click on the profile button and set the User Profile Path to \\sambaserver\username, for example if I had a server named MYSTERY and user called scooby it would be \\MYSTERY\scooby.

As with skinning a cat there are many different ways to set this up. This is just one way and shows that you can set up your roaming profiles on Linux.

Bill

Last edited by wmakowski; 04-03-2005 at 11:56 AM.
 
Old 04-19-2005, 09:01 AM   #6
icedude
Member
 
Registered: Nov 2004
Location: South Africa
Posts: 43

Original Poster
Rep: Reputation: 15
Thanks, got it working.
 
  


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
Run Shell Script on logon thesystem Debian 2 10-20-2005 12:11 PM
execute a script upon logon Starch Linux - Newbie 3 05-12-2005 05:04 PM
Logon Script.... vamsi_samavedam Linux - Distributions 1 05-25-2004 09:46 AM
logon script not working (it has more than 8 chars) alris Linux - Networking 1 06-06-2003 04:37 AM
logon script not working (it has more than 8 chars) alris Linux - General 0 06-05-2003 02:46 PM


All times are GMT -5. The time now is 10:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration