LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Logon script (https://www.linuxquestions.org/questions/linux-newbie-8/logon-script-307362/)

icedude 03-29-2005 08:38 AM

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.

wmakowski 03-29-2005 04:34 PM

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

ror 03-29-2005 04:38 PM

Do you mean you want it so when some users log in they'll reboot into windows?

icedude 03-31-2005 06:46 AM

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.

wmakowski 04-03-2005 10:45 AM

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

icedude 04-19-2005 08:01 AM

Thanks, got it working.


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