On Wed, 15 Mar 2000, "Kenneth E. Lussier" <[EMAIL PROTECTED]> wrote:
> All,
>       Is the passwd files portable? In other words, can I copy passwd,
> passwd-, group, group-, shadow, shadow-, gshadow, gshadow-, smbusers,
> and smbpasswd from one system to another? I want to build a box but have
> all of the same users/passwds on it as another system does. 
> TIA,

Should work find (though I have never setup a smbpasswd). 

In fact the encrypted passwds should be portable across most Unixes,
E.g. I once made an account for a friend of mine, and I just
copy-n-pasted his 13 character encrypted passwd from a Solaris box to a
Linux box /etc/passwd and he could log in fine.

I also wrote a little perl script called "update" that updates various
files in /etc (passwd included) for a couple of laptops (and some
desktops too), since NIS does not help when these laptops are taken on
the road.

For a small number of machines and/or users this sort of thing is
acceptable if you don't want to set up or depend upon NIS, but as the
number scales up it can become quite a pain...

Karl Runge


**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to