OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Michael Galloway (mgx_at_ornl.gov)
Date: Wed Sep 25 2002 - 07:06:35 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Hi Peter!

    yup, the script thinks the user and group already exist:

    + '[' 0 -gt 0 ']'
    + chroot . /bin/bash
    groupadd: group sshd exists
    useradd: user sshd exists
    + cat
    + exit 0

    even though they are not in the passwd and group files:

    there are sshd user and group in my nis tables, but i have files before nis in
    the /etc/nsswitch.conf file:

    passwd: files nis
    shadow: files nis
    group: files nis

    could that still be the problem?

    -- michael

    On Wed, 25 Sep 2002, Peter Poeml wrote:

    > On Wed, Sep 25, 2002 at 07:48:34AM -0400, Michael Galloway wrote:
    > > Hi Peter!
    > >
    > > i've tried installing the rpms both via fou4s (fou4s -ivs) and by hand with
    > > rpm -Uvh package.rpm.
    >
    > Hhm, that's strange. Maybe you should run
    > rpm -Uhvv --force openssh.rpm 2>&1 | tee /tmp/rpm.out
    > to trace what's going wrong.
    >
    > > > The user should have been created, the rpm postinstall script contains the line
    > > > grep -qs ^sshd: /etc/passwd || useradd -u 71 -g sshd -s /bin/false -d /var/lib/sshd sshd
    > > >
    > > > How did you install the rpm?
    >
    > Peter
    >
    > --
    > Thought is limitation. Free your mind.

    -- 
    Check the headers for your unsubscription address
    For additional commands, e-mail: suse-security-helpsuse.com
    Security-related bug reports go to securitysuse.de, not here