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.
Please help me with this problem. It concerns using Secure Shell SCP and user permissions.
I have 2 servers say 192.168.1.1 and 192.168.1.5, each installed with RedHat Linux 7.3
These are the users and group created in each server.
Of course, for every user I created, there is a group created with the same name. The only group explicitly created is group5_1, which has one member, user5_admin.
Each user has its own home directory.
A directory, say invoices, is created in each home directory.
In 192.168.1.1, user1_admin runs scripts automatically, creates unique files and sends it through SCP to each of 3 users in 192.168.1.5: user5_1, user5_2, user5_3's invoice directories.
Each of these users cannot read each other's directories. But user5_admin can.
So it may be a good idea to go to these users' invoice directories and make a chgrp group5_1 <directory>, so that user5_admin and the owners can see the files.
The question is when user1_admin copies the files, which user does he use to perform the scp? How do I change the permissions from 192.168.1.1 using a remote command in SSH? I cannot run any scripts inside 192.168.1.5 as it is solely used as a repository.
group5_1 (Group) : user5_admin is a member
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.