From: "Brian K. White" <brian@aljex.com> References: <9vnav7$9e1$1@news.mch.sbs.de>
<EC0DB93033E9D411B47100A0C945C079A23B8D@exchange.stinol.int>
<20011220045751.42943@tegan.com> Subject: Re: Export/import of users in OSR5 Date: Thu, 20 Dec 2001 15:48:38 GMT "Tom Parsons" <cis@tegan.com> wrote in message news:20011220045751.42943@tegan.com... > Pavel Khakhaev enscribed: > | > | "Keld Mogensen" <keld.mogensen@siemens.dk> wrote in message > | news:9vnav7$9e1$1@news.mch.sbs.de... > | > Hi. > | > I need to export all the users from one SCO OSR5.0.5 box to a new OSR5.0.5 > | > box. I know there is a neat way to do it, I once had a TA on it, but I > | lost > | > it. > | > Can anyone refresh my memory on the subject. > | > Thank you for your patience with an old man... > | > Keld Mogensen > | > > | just copy /etc/passwd /etc/shadow /etc/group files to new box, than home > | directories > > That is a grossly incorrect statement as none of the tcb files will be > moved. > > The proper way is to use ap.
or at the very least, addxusers, but going from 505 to 505, ap is both available and superior. just wanted to let it not be forgotten that if you didn't happen to be going to osr5 from osr5, there was another way. I recently used addxusers to migrate a linux box onto 506. So much went on that day that I don't remember clearly but I think I had to create user home directories and .profiles by hand (using a little on the spot scripting to read the special /etc/passwd used for addxusers) and I had to use cut & paste (the commands "cut" and "paste") to create a single special /etc/passwd from the real /etc/passwd and /etc/shadow. In the end it actually did all work out. user kept their dumb 2-letter, all caps usernames and their old password worked, and the buisiness end of their old profiles copied over. come the next day, every logged in and most people had no idea anything changed except when the odd printing or system-command issue turned up while using the application throughout the day, all of which I expected and was ready to deal with as soon as people found them for me. So now at least there is one case, even today, of a buisiness actually trying linux first, really wanting that to work, and finally giving up and moving to the superior OSR5. they ran linux for over a year, and finally giving up in frustration and love life now that their server doesn't crash from as little as 5 times a week to as much as 5 times a day, and various subsystems such as the lpd spooler don't just stop working for no explainable reason in the middle of the day and for days on end, and just as inexplainably resume working for a while... and he's our biggest customer too. It's alive...It's Alive!..... ahhh ahahah aha ahhhhh.... "This OS isn't human, it can't be reasoned with, it doesn't feel pain, you can't kill it..." :) -- Brian K. White -- brian@aljex.com -- http://www.aljex.com/bkw/ +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++. filePro BBx Linux SCO Prosper/FACTS AutoCAD #callahans Satriani
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.
We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
Click here to add your comments
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar