On Mon, Sep 18, 2006 at 01:16:25PM +0200, Joerg Schilling wrote:
> [EMAIL PROTECTED] wrote:
> 
> > Hello,
> >
> > [ sorry if this is not appriopiate forum but I haven't found such ]
> >
> > I am considering moving one of linux servers to solaris server. The
> > linux server is mainly a fileserver (samba). Can you point me out
> > any docs which will help in such step ? I am mainly concerned about
> > passwords in /etc/shadow. AFAIK they are encrypted differently
> > and don't know how to convert them.
> 
> Solaris understands Linux encryptions, but Solaris allows more different
> encryptions than Linux.
>
> The default encryption type is set in /etc/security/policy.conf

>From the file:

# To deprecate use of the traditional unix algorithm, uncomment below
# and change CRYPT_DEFAULT= to another algorithm.  For example,
# CRYPT_DEFAULT=1 for BSD/Linux MD5.
#
#CRYPT_ALGORITHMS_DEPRECATE=__unix__

# The Solaris default is the traditional UNIX algorithm.  This is not
# listed in crypt.conf(4) since it is internal to libc.  The reserved
# name __unix__ is used to refer to it.
#
CRYPT_DEFAULT=__unix__

It seems all I have to do is:
- uncomment CRYPT_ALGORITHMS_DEPRECATE
- set CRYPT_DEFAULT=1
Now if I copy /etc/(shadow|passwd) from linux to solaris is it
going to work without any problems ?
Do I miss something ?

przemol
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to