Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no entry in wtmp? #39

Closed
harishpillay opened this issue Apr 2, 2014 · 1 comment
Closed

no entry in wtmp? #39

harishpillay opened this issue Apr 2, 2014 · 1 comment

Comments

@harishpillay
Copy link

I was wondering why the session does not write an entry into wtmp. the command "who" does not display that butterfly-ed user. It can be found by "ps -ef|grep pts":

[harish@vostro ~]$ who
harish :0 2014-03-29 00:19 (:0)
harish pts/0 2014-04-02 17:19 (:0)
harish pts/1 2014-04-02 09:28 (:0)
[harish@vostro ~]$ ps -ef|grep pts
harish 14299 23456 0 17:19 pts/0 00:00:00 bash
harish 22584 25409 0 21:31 pts/1 00:00:02 mutt
harish 24814 14299 0 22:25 pts/0 00:00:00 /usr/bin/python /usr/bin/butterfly.server.py --unsecure
harish 25409 23456 0 09:28 pts/1 00:00:00 bash
harish 25742 24814 0 22:39 pts/3 00:00:00 /bin/bash -i
harish 25794 14299 0 22:40 pts/0 00:00:00 ps -ef
harish 25795 14299 0 22:40 pts/0 00:00:00 grep --color=auto pts

@oldgregg-zz
Copy link
Contributor

Due to the manner in which butterfly "logs in" users, you won't see an entry in wtmp or on who.

I haven't tested this, but maybe changing out 'su' with 'login' ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants