[Prev][Next][Index]

problem with utmp file (fwd)



Hi

I was told (in this list) to touch /var/adm/utmp. It worked, but I went
on with problems; when I log in the system, it appears the message:

logname: no login name

The logname command see the /etc/utmp file, that exists. So, why does
this command give this error?

Thanks

edgardo wrote:

> Hi
> 
> Each time I open an xterm, it appears the message:
> 
> _setutent: Can't open utmp file: No such file or directory
> _setutent: Can't open utmp file: No such file or directory
> _setutent: Can't open utmp file: No such file or directory
> 
> Also, the command "who" doesn't work. Could you send me some help about
> it?
> 
> Thanks in advance
> -- 
> 


-- 
 --------------------------------------------- 
|            Edgardo Szulsztein               |
|            edgardo@ccc.uba.ar               |
|                                             |
| Secretaria Academica FCEN                   |
| Universidad de Buenos Aires                 |
| Tel.: (54-1) 787-2674; Fax: (54-1) 787-2656 |
 ---------------------------------------------