Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have full root access on my server, and i give also root access for my admin tech, so he can install or modified anything as necessary,
My question how to watch in REALTIME what he is doing on the server, like install or modified anything.
In windows like teamviewer, i can watch what he is doing.
This is not because not trust my admin tech, just sometimes i want to see what is he doing, is there any wrong or not.
Hi, thanks to answer,
Yes, i want to see in graphic mode, like UVNC or teamviwer.
And I had download TigerVNC.
Question using TigerVNC.
You must know, my admin tech use other computer, like laptop or anything PC in my office.
I'm forbid them, to add monitor or keyboard on the server (because i'm afraid my tech or other people make a problem like cable power cut or lan or anything which can make server down).
So i give my admin tech root password so, he can install or anything necessary.
My question is how to watch what he is doing, if my tech typing some code or anything.
I hope you can help me..i'm very grateful about that.
First I'm using centos 5.8 64Bit in TEXT Mode.
Second, The admin will using SSH to access the server, like using SecureCRT..etc.
Can you show me like log files or any files, my admin has been write or he is doing.
If i see in the history i just see command he type.
but in the vi command, i don't know what he is write in there.
or i don't know what files he is install or he is delete...etc.
I need to know, if he is install than give log what files, and if he is modified using vi or editor, will record command he is doing.
just for your information my server contain in sale online, there are so many product.
Once again, not because i don't trust my admin, but you know if we have employee, sometimes we must check what he does right ?
What that command does is output the last 10 lines of /var/log/messages and follows (-f) the changes, so for example, whenever I insert a USB Pendrive I see in real time what is happening, because it affects /var/log/messages. Sometimes the following fails (doesn't update), but I still need to check why (I don't think it's a bug but rather the log cycling).
I think this is what you want, so check the application called "screen". It might come handy for you if you want to follow multiple applications/log files:
Whatever program you want to follow in real time, just use the tail command above on the log file that your program generates, and also make sure you have read permissions for the file and you're done.
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
there is the 'history' command, and you COULD install a keylogger or ttysnoop perhaps(bad idea)
the real key that nobody here has mentioned is, why go through such lengths to babysit your admin, you should either trust him/her to obey your rules, or don't give them the keys to the car so to speak, and find someone you CAN trust.
You could ask (make a script to run) that is filled in with a short description what the access was for and which files are edited. If you are gonna use it for yourself to you got your own change management log.
Sure I'm agree to trust admin, but still not good enough for business, money can talk this make the problem, for now i can trust, but later no one knows what will be, not easy for me to find a trusted admin.
I'm sorry, if i can not trust 100% for admin, because i have experience for that.
That's why, I just need to record all he is doing(like type command, installing files, delete files etc).
I hope, anybody can help me to solve my problem.
I'm very grateful for that.
Once again, Thank you