[rhn-users] passwords: UNIX to Linux

Charith Perera cperera at intertechmedia.com
Wed Oct 13 19:31:48 UTC 2004


Ok, I kind of solved the problem, but it doesn't look right to me. On the 
server side, in ypserv.conf I set the security to "none" instead of "port". 
This allows everyone to be able to query the NIS server because it accepts 
connections for non-privileged ports ( < 1024). 

Is this the only way to allow users the ability to read the NIS information?

Charith.


On Wednesday 13 October 2004 3:16 pm, Charith Perera wrote:
> On Wednesday 13 October 2004 2:54 pm, Jonathan Fischer wrote:
> > If the super-user can see usernames just fine, but no one else, it might
> > be that the permissions on /etc/passwd are incorrect.
>
> I'm using NIS, and I've configured the client in the identical manner as
> done previously. However, this is the first time I'm using a Linux machine
> as the NIS server. Is there anything preventing a non-super user from
> querying the NIS database?
>
> Thanks,
>
> Charith.
>
> > -----Original Message-----
> > From: rhn-users-bounces at redhat.com [mailto:rhn-users-bounces at redhat.com]
> > On Behalf Of Doerbeck, Christoph Sent: Wednesday, October 13, 2004 11:47
> > AM To: cperera at intertechmedia.com; Red Hat Network Users List
> > Subject: RE: [rhn-users] passwords: UNIX to Linux
> >
> > No utility as best I know.  Password encryption is a one-way hash,
> > meaning there's no way to recover the original from an encrypted
> > (cipher) text.  Without the original, you can create a new one.
> >
> > I am fairly certain that nothing is blocking you from using both
> > in the /etc/shadow.  Again, the glibc crypt function is intelligent
> > enough to know which (DES vs. MD5) to use during verification.
> >
> > Seeing ID's versus names is an indicator that the userid's are
> > not correct.  You probably ran useradd to create new users and
> > then tar'd/copied the data directories over.  You can either
> > adjust the userid's in /etc/shadow, or change ownerships (chown).
> >
> > You have some work to do ;-)
> >
> >
> >
> > Christoph
> >
> > -----Original Message-----
> >
> > Is there a utility that can convert the DES passwords so that they're
> > encrypted using md5?
> >
> > Also, the super user seems to be able to figure out the usernames for
> > maching IDs. For example, when i do a directory listing, I see all the
> > ownerships properly. However, when I su into another user, I get the
> > following message
> >
> > id: cannot find name for the user ID ****
> >
> > Also a directory listing shows the userid instead of the username for
> > file/directory ownerships.
> >
> > Any ideas?
> >
> > Charith Perera.
> >
> > > -----Original Message-----
> > > From: Charith Perera [mailto:cperera at intertechmedia.com]
> > > Sent: Wednesday, October 13, 2004 11:34 AM
> > > To: Red Hat Network Users List
> > > Subject: Re: [rhn-users] passwords: UNIX to Linux
> > >
> > >
> > > Dr. Schmidt,
> > >
> > > Thanks, I didn't notice the -p switch earlier.
> > >
> > > Providing the cryptic password worked. However, when I look at the
> > > /etc/shadow file the encrypted passwords created on the Linux machine
> > > are much longer than those copied over from the Solaris box. Any idea
> > > why this is and where I can get more info regarding it.
> > >
> > > Thanks,
> > >
> > > Charith Perera
> > >
> > > On Wednesday 13 October 2004 11:11 am, Dr. Guenter Schmidt wrote:
> > > > Charith Perera wrote:
> > > > >I'm in the process of moving one of our servers from a machine
> > > > > running Solaris to one running RHEL AS. How do I go about
> > > > > transferring all the users' passwords onto the linux machine.
> > > >
> > > > If the old passwords are in /etc/passwd or /etc/shadow extract that
> > > > field and use the old passwords as input to the useradd command:
> > > >
> > > > useradd -u $uid -g $gid -p $passwd -d $home -s $shell -c $gcos 
> > > > $login
> > > >
> > > >
> > > > --
> > > > Dr. Günter Schmidt                 | Bruker BioSpin GmbH
> > > >
> > > >                                    | NMR Software Department
> > > >
> > > > E-Mail: guenter.schmidt at bruker.de  | Silberstreifen
> > > > Phone: +49 721 5161-443 / Fax:-480 | D-76287 Rheinstetten
> > > >
> > > >
> > > > _______________________________________________
> > > > rhn-users mailing list
> > > > rhn-users at redhat.com
> > > > https://www.redhat.com/mailman/listinfo/rhn-users
> > >
> > > _______________________________________________
> > > rhn-users mailing list
> > > rhn-users at redhat.com
> > > https://www.redhat.com/mailman/listinfo/rhn-users
> > >
> > > _______________________________________________
> > > rhn-users mailing list
> > > rhn-users at redhat.com
> > > https://www.redhat.com/mailman/listinfo/rhn-users
> >
> > _______________________________________________
> > rhn-users mailing list
> > rhn-users at redhat.com
> > https://www.redhat.com/mailman/listinfo/rhn-users
> >
> > _______________________________________________
> > rhn-users mailing list
> > rhn-users at redhat.com
> > https://www.redhat.com/mailman/listinfo/rhn-users
> >
> >
> > _______________________________________________
> > rhn-users mailing list
> > rhn-users at redhat.com
> > https://www.redhat.com/mailman/listinfo/rhn-users
>
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users




More information about the rhn-users mailing list