Click to See Complete Forum and Search --> : How to move users from Windows NT to Linux?


newtolinux2
12-26-2000, 05:26 PM
Is there a way to move a list of usernames and passwords from Windows NT to Linux?

I know it can be hard to get the passwords for users out of NT. However, I was able to compile a list users and theie passwords from the Windows NT environment.

So, is there a way to say import a text file of users and passwords into Linux so they can be users in a Linux environment.

I'm helping an ISP migrate their user base over to Linux so the ISP can use their Linux Radius server on Linux and authenticate via the Linux User system.

Also, at the time of import, can a directory and max space limit be specified? Their directory will be used for their personal websites, ftp, mail, etc.

If anyone has a clue, please respond.

newtolinux2
12-26-2000, 05:31 PM
One other note. The users will not be logging onto the Linux box as a desktop. They will just be able to ftp to their account path for personal website maintenance.

Stuka
12-26-2000, 06:55 PM
There isn't really a program for this, but if you wrote a shell script to do the job, it should work. If your text file looked like this:username1[tab]password1
username2[tab]password2
you could just read in the username/password combo, run 'useradd username1' and then 'passwd username1' then add in the password for the correct name (twice), all of that in a loop, it should work. But I'd delete that script immediately after use, so it didn't form a security leak!