Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Im not sure if I have picked the right forum but here we go. I'm new to Linux and running Fedora 3. I have read that the command "users" shows you who is logged in? When I type "users" using ssh client putty, I get:
I tried "logout" and that automatically closes my putty terminal but when I go back and type "users", I still have these three root instances. Is this normal or is there a way I can logout all these root accounts that are logged in? I was under the assumption that once I login with putty using my root account and typing "users", I should only see one instance of "root"?
Distribution: Fedora (workstations), CentOS (servers), Arch, Mint, Ubuntu, and a few more.
Posts: 441
Rep:
The last record "root pts/3 192.168.1.103 02:18 1.00s 0.13s 0.03s w" shows your current connection executing w command as root. This is obvious.
Third record "root :0 - 22:13 ?xdm? 5:18 0.35s /usr/X11R6/bin/" is normal if you are using a graphical login in your Linux system. In Fedora, RH runlevel 5 does this. In Debian Sarge runlenels 2-5 does this. I mean you might be having X running.
Second record "root pts/1 - 22:13 4:05m 0.08s 0.08s bash" is the one you should check. This means there is one session open (usually a terminal) as root.
So go to your Linux box and check. I guess you are logged in as root and using a GUI and have a terminal open. Once you close them check again with w.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.