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 wanted to enquire if it is possible to overide a client PC from a server PC in a standalone LAN like say through a remote login procedure.
I am developing a software on a linux platform wherein disabling USB enabled mass storage devices is a part of the software. The disabling part is possible but it is only disabled on the PC i am working on. So, if my PC was to be connected in a stand alone LAN with all the PCs running on Linux, how do remote login into each of these PCs and override the respective administrators of these target machines.These target machines have to permit me to overide their administrator so that i can perform the commands of disabling USB periherals from my PC(server). Is such a process possible? If so, please help..
If you are giving them root access then anything you set-up they can undo, the only way is if they don't have full root access, or really any form of true root access. The users have to have restricted rights for this to work. It's possible to enable some root access via the sudoers but just block of anything that'd grant access to undo anything you need to be able to control over them.
i'll try clarify as to what my requirement is in form of an illustration.
Let say there are 3 PCs in a standalone LAN, all of which work on LINUX OS. I as the server am working on PC 1 and PCs 2&3 are my clients. Now i want to disable the use of mass storage devices which are plugged through USB on my PC i.e PC 1. For this i execute commands on Linux OS installed on my PC and it is successful. My question now is, can i be able to execute same commands of disabling the USB port for storage devices on PCs 2&3 while sitting at PC 1.
For this will PCs 2&3 allow me to do so??
i hope this will clarify as to what my reqmt is..
SSH is your friend, simply SSH into the client machine and disable the USB via SSH. That's quite simple, assuming each PC has a static IP in the enviroment, it's even easier to perform as you don't have to try and figure out what IP you need to SSH to get into their PC. In a DHCP enviroment, you need some networking knowledge to be able to prod around for the IP they are using.
If you do use SSH, remember to enable SSHD on the client machines and configure the SSH ports on their firewalls if they are running them.
Last edited by r3sistance; 02-02-2009 at 09:39 AM.