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!
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.
hello there,
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..
shashi
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.
hi again,
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 08:39 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.