Re: w and who don't list users in FreeBSD 9.0 and 9.1

2013-03-20 Thread Lowell Gilbert
Istvan Gabor  writes:

> 2. I found that users are reported if they are logged in on terminal session 
> or through ssh.
> User who is logged in through KDM3 into KDE3 session is not shown.
> Does this change the above diagnosis? Can it be something else, maybe?

Well, if they don't start a login shell, they're not going to show up as
logged in. Most terminal programs have an option to start them as login
shells, but I don't know KDE well enough to know what the normal
practice there would be.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: w and who don't list users in FreeBSD 9.0 and 9.1

2013-03-20 Thread Istvan Gabor
2013. március 19. 18:44 napon Nikos Vassiliadis  írta:

> On 19/3/2013 6:03 μμ, Ruben de Groot wrote:
> > On Tue, Mar 19, 2013 at 04:59:56PM +0100, Istvan Gabor typed:
> >> Hello:
> >>
> >> I have both FreeBSD 9.0 and 9.1 on two different computers.
> >> w and who commands do not list logged in users in any of them
> >> (either for root or a regular user).
> >>
> >> The output of w is:
> >>
> >> root@:/root # w
> >>   4:56PM  up 10 mins, 0 users, load averages: 0.18, 0.26, 0.20
> >> USER   TTY  FROM  LOGIN@  IDLE WHAT
> >> root@:/root #
> >>
> >> And the output of who:
> >>
> >> root@:/root # who
> >> root@:/root #
> >>
> >> Why is this and how can I fix it?
> >
> > This can happen if your kernel and world are out of sync.
> 
> It can also happen if /var/run/utx.active is corrupt. Could you
> try deleting it? It will be re-created after a successful login.

I tried this but did not make any change. Maybe the problem is related to
the session type, KDE3. See my answer to Ruben.

Thanks,

Istvan

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: w and who don't list users in FreeBSD 9.0 and 9.1

2013-03-20 Thread Istvan Gabor
2013. március 19. 17:03 napon Ruben de Groot  írta:

> On Tue, Mar 19, 2013 at 04:59:56PM +0100, Istvan Gabor typed:
> > Hello:
> > 
> > I have both FreeBSD 9.0 and 9.1 on two different computers.
> > w and who commands do not list logged in users in any of them
> > (either for root or a regular user).
> > 
> > The output of w is:
> > 
> > root@:/root # w
> >  4:56PM  up 10 mins, 0 users, load averages: 0.18, 0.26, 0.20
> > USER   TTY  FROM  LOGIN@  IDLE WHAT
> > root@:/root #
> > 
> > And the output of who:
> > 
> > root@:/root # who
> > root@:/root #
> > 
> > Why is this and how can I fix it?
> 
> This can happen if your kernel and world are out of sync.

1. How could I check this?

2. I found that users are reported if they are logged in on terminal session or 
through ssh.
User who is logged in through KDM3 into KDE3 session is not shown.
Does this change the above diagnosis? Can it be something else, maybe?

Thanks,

Istvan

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: w and who don't list users in FreeBSD 9.0 and 9.1

2013-03-20 Thread Istvan Gabor
2013. március 19. 17:12 napon Ralf Mardorf  írta:

> On Tue, 2013-03-19 at 16:59 +0100, Istvan Gabor wrote:
> > I tried google search but w and who are not good search terms.
> 
> Indeed, it for sure isn't easy, but did you try with quotes and other
> options?
> 
> http://lmgtfy.com/?q=freebsd+%22who+command%22
> 
> I don't know if there is a solution, but you're at least not the first
> who experienced this issue.

Thank you. I tried this type of search before my posting but the results I 
looked at
were not relevant or did not give a solution.
I did not know about "let me google  that for you", thanks for that.

Istvan

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: w and who don't list users in FreeBSD 9.0 and 9.1

2013-03-19 Thread Nikos Vassiliadis

On 19/3/2013 6:03 μμ, Ruben de Groot wrote:

On Tue, Mar 19, 2013 at 04:59:56PM +0100, Istvan Gabor typed:

Hello:

I have both FreeBSD 9.0 and 9.1 on two different computers.
w and who commands do not list logged in users in any of them
(either for root or a regular user).

The output of w is:

root@:/root # w
  4:56PM  up 10 mins, 0 users, load averages: 0.18, 0.26, 0.20
USER   TTY  FROM  LOGIN@  IDLE WHAT
root@:/root #

And the output of who:

root@:/root # who
root@:/root #

Why is this and how can I fix it?


This can happen if your kernel and world are out of sync.


It can also happen if /var/run/utx.active is corrupt. Could you
try deleting it? It will be re-created after a successful login.

Nikos

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: w and who don't list users in FreeBSD 9.0 and 9.1

2013-03-19 Thread Ralf Mardorf
On Tue, 2013-03-19 at 16:59 +0100, Istvan Gabor wrote:
> I tried google search but w and who are not good search terms.

Indeed, it for sure isn't easy, but did you try with quotes and other
options?

http://lmgtfy.com/?q=freebsd+%22who+command%22

I don't know if there is a solution, but you're at least not the first
who experienced this issue.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: w and who don't list users in FreeBSD 9.0 and 9.1

2013-03-19 Thread Ruben de Groot
On Tue, Mar 19, 2013 at 04:59:56PM +0100, Istvan Gabor typed:
> Hello:
> 
> I have both FreeBSD 9.0 and 9.1 on two different computers.
> w and who commands do not list logged in users in any of them
> (either for root or a regular user).
> 
> The output of w is:
> 
> root@:/root # w
>  4:56PM  up 10 mins, 0 users, load averages: 0.18, 0.26, 0.20
> USER   TTY  FROM  LOGIN@  IDLE WHAT
> root@:/root #
> 
> And the output of who:
> 
> root@:/root # who
> root@:/root #
> 
> Why is this and how can I fix it?

This can happen if your kernel and world are out of sync.

Ruben

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


w and who don't list users in FreeBSD 9.0 and 9.1

2013-03-19 Thread Istvan Gabor
Hello:

I have both FreeBSD 9.0 and 9.1 on two different computers.
w and who commands do not list logged in users in any of them
(either for root or a regular user).

The output of w is:

root@:/root # w
 4:56PM  up 10 mins, 0 users, load averages: 0.18, 0.26, 0.20
USER   TTY  FROM  LOGIN@  IDLE WHAT
root@:/root #

And the output of who:

root@:/root # who
root@:/root #

Why is this and how can I fix it?

Thanks,

Istvan

ps: I tried google search but w and who are not good search terms.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"