Re: [bug] useradd oddness


Subject: Re: [bug] useradd oddness
From: Ken Schweigert (ken@byte-productions.com)
Date: Tue Feb 05 2002 - 07:57:18 MST


Nathan,

It worked perfect on my end (YDL-2).

  [root@byte-8 /root]# rpm -qf `which useradd`
  shadow-utils-19990827-18
  [root@byte-8 /root]# useradd -G www,ken jimbob
  [root@byte-8 /root]# tail -f /var/log/messages
  Feb 5 09:40:51 byte-8 useradd[2527]: new group: name=jimbob, gid=601
  Feb 5 09:40:51 byte-8 useradd[2527]: new user: name=jimbob, uid=601, gid=601, home=/home/jimbob, shell=/bin/bash
  Feb 5 09:40:51 byte-8 useradd[2527]: add `jimbob' to group `ken'
  Feb 5 09:40:51 byte-8 useradd[2527]: add `jimbob' to group `www'
  Feb 5 09:40:51 byte-8 useradd[2527]: add `jimbob' to shadow group `ken'
  Feb 5 09:40:51 byte-8 useradd[2527]: add `jimbob' to shadow group `www'

My only guess would be that maybe your group list contains spaces?

Also, I believe bugzilla lives at bugs.yellowdoglinux.com.

--
-Ken Schweigert, Aspiring Network Administrator
Byte Productions, LLC
http://www.byte-productions.com

On Mon, Feb 04, 2002 at 04:59:03PM -0500, nathan r. hruby wrote: > Hey, > > Two questions: > First: I'm testing a script on my laptop that uses "useradd -G <group>" > The expected action is for it to add the user into each group in the comma > delimited lsit following the -G switch. But, the actual result is that > useradd just spins its wheels and gives me lines like the following in > /var/log/messages: > Feb 4 11:20:29 dingo adduser[2834]: new group: name=foo, gid=502 > Feb 4 11:20:29 dingo adduser[2834]: new user: name=foo, uid=502, gid=502, home=/home/foo, shell=/bin/bash > Feb 4 11:20:29 dingo adduser[2834]: add `foo' to group `users' > Feb 4 11:20:36 dingo last message repeated 50446 times > > The users group exists in /etc/group with a GID of 400. > > This is what I would call broken :) Can someone else confim this? > I'm using YDL2.0, so this might be fixed iin 2.1. > > Second: Where does one submit distro related bugs for YDL? If this is a > bug, I'd like to send it to the right place so it can get fixed. I'm > thinking there's no bugzilla.yellowdoglinux.com (that's a mouthful :). > > -n > -- > ...... > nathan hruby - nhruby@arches.uga.edu > computer support specialist > department of drama and theatre > http://www.drama.uga.edu/ > ...... > > >



This archive was generated by hypermail 2a24 : Tue Feb 05 2002 - 08:12:31 MST