[Prev][Next][Index]

Re: problem with utmp file (fwd)



Hi

Thanks for the help. However, the logname commands continues with the
same message. Also, I saw that the who command shows only the login of
the terminals, but doesn't show the xterm windows opened in X.
What else could I do?

Thanks

Evgeny Stambulchik wrote:
> 
> edgardo@ccc.uba.ar (Edgardo Szulsztein) wrote:
> 
> >  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?
> 
> cd /var
> ln -s adm log
> mkdir -p run
> mv /etc/utmp run
> ln -sf /var/run/utmp /etc/utmp
> ln -sf /var/run/utmp /var/adm/utmp
> 
> Evgeny
> 
> --
> 
>    __________________________________________________________________
>   / Evgeny Stambulchik <fnevgeny@plasma-gate.weizmann.ac.il>  ====== \
>  /  Plasma Laboratory, Weizmann Institute of Science, Israel  ======  \
>  |  Phone : (972)8-9343-610  =======================================  |
>  |  FAX   : (972)8-9344-106  =======================================  |
>  |  ================================================================  |
>  |  Look at our home page - http://plasma-gate.weizmann.ac.il  =====  | 
>  |____________________________________________________________________| 
> 


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