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.
suppose more than one person is logging as a particular user.say i logged in as the user "user1" , if another user loggs in later as my user name "user1" when i am still on line ; is there any method my which i get a prompt on my scrren saying that "user1 has logged in on terminal /dev/pts/x from machine 192.168.5.4" or something of a similar kind.. so that i dont ned to keep pressing who -u always.. (also please suggest anything other that a shell script the does "who -u" and uses a grep/awk/sed etc to find out and prompt to my screen :-( )
Well its not like the other users who are logging in are unauthorised users.. we just want to know which one of us logged in(instantaneously) when the other is using the system...
Why is there more than one user using the account? That eliminates accountability (no pun intended). Unless you do some type of automated behavioral biometrics (or whatever), there really is no way for you to be sure that when you get the notification it isn't an unauthorized user. Also, why don't you wanna do this with a shell script? It would seem to me like the most straight-forward way to do it, considering you've been doing okay by manually typing the commands and parsing the output in your head. Are you looking for some kind of GUI notification instead?
the thing is that we are using some liscenced software that has lisense for only the one user account, but more than one developer is using that software :-).. and we all do have to login as the same user.. plus i am just a junior here so for all i like i cant add new users to the group to use it ; nor even suggest it to my uptight boss. :-(
yeah the bashrc thing sure helps.. (damn how could i even miss that!!!)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.