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.
Ok, so I need to have full access to view folders on my server without using sudo.
The backintime program that runs my backup to my backup server does not work for me when I run it as root. It just won't connect to the backup server. So, I decided to just run the backintime backup with my regular user.
Problem is that some folders are set to 700 (owner only) and I can't get in without sudo. So those folders don't get backed up.
I made my user a member of all the groups on the server but that does nothing for me.
How do I get my user to have full read access to all folders on the server without sudo
Problem is that some folders are set to 700 (owner only) and I can't get in without sudo. So those folders don't get backed up.
I made my user a member of all the groups on the server but that does nothing for me.
Then what happened to the group security of the folders? If it remains at 0, then you can't really expect having read access to folders owned by other members of your group.
When backintime runs as root (sudo), it won't connect to my backintime server at all. When I run it as my user it connects, but I don't have full access to all folders and files on my own server...just read access is all I need.
-u user, --user=user
Run the command as a user other than the default target user (usually root ). The user may be either a user name or a numeric
user ID (UID) prefixed with the ‘#’ character (e.g. #0 for UID 0). When running commands as a UID, many shells require that
the ‘#’ be escaped with a backslash (‘\’). Some security policies may restrict UIDs to those listed in the password data‐
base. The sudoers policy allows UIDs that are not in the password database as long as the targetpw option is not set. Other
security policies may not support this.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.