Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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?
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.