Subject: Re: bin/32903: utmp remains empty
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: None <i18rabbit@cwazy.co.uk>
List: netbsd-bugs
Date: 02/24/2006 07:00:11
The following reply was made to PR bin/32903; it has been noted by GNATS.

From: i18rabbit@cwazy.co.uk
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: bin/32903: utmp remains empty
Date: Fri, 24 Feb 2006 06:57:56 GMT

 > The following reply was made to PR bin/32903; it has been noted by GNATS.
 > 
 > From: Lubomir Sedlacik <salo@Xtrmntr.org>
 > To: gnats-bugs@netbsd.org
 > Cc:
 > Subject: Re: bin/32903: utmp remains empty
 > Date: Thu, 23 Feb 2006 08:18:13 +0100
 > 
 >  >  >  Is there anything in messages? Are /var/run/utmp{x,} the right
 >  >  >  permission?
 >  >  >
 >  >  >  -rw-rw-r--  1 root  utmp  /var/run/utmp
 >  >  >  -rw-rw-r--  1 root  utmp  /var/run/utmpx
 >                            ^^^^
 >  >  i changed this to:
 >  >
 >  >  total 1
 >  >  -rw-rw-r--  1 root  wheel   1080 Feb 22 05:43 utmp
 >  >  -rw-rw-r--  1 root  wheel   1024 Feb 22 05:43 utmpx
 >                         ^^^^^
 >  >  nothing has changed.
 > 
 >  no wonder.
 > 
 >  regards,
 > 
 >  -- Lubomir Sedlacik <salo@{NetBSD,Xtrmntr,silcnet}.org>   --
 
 well - i never had a group "utmp" in the 2 series,
 and it worked fine; and "login" is running with
 root privileges, so i don't see how the group
 makes a difference.  i did add a group "utmp"
 as per the installation /etc directory, and
 modified the group name of the utmp* files,
 and nothing has changed - it made no difference.
 still, no utmp entries were made by login.
 
 LOGIN(1)
 
     Immediately after logging a user in ...
     login then records an entry in the wtmp(5) and utmp(5) files,
 
 *   it is not doing this.
 
 FILES
      /etc/motd          message-of-the-day
      /etc/nologin       disallows non-superuser logins
      /var/run/utmp      list of current logins