Questions tagged [user-permissions]

419 questions
0
votes
1 answer

ssh connects okay from command line but from cron using publickey

To rsync (incremental) from remote server (Centos 6.x) to local client (Ubuntu 18.04) I copied the public key I created from client to server to execute rsync without password. PasswordAuthentication yes at sshd_config At local Ubuntu I have…
dstonek
  • 233
  • 3
  • 10
0
votes
1 answer

Sharing folders revokes user permission

I am currently trying to move files from server A to server B. Server A is currently hosting a website, and server is suppose to host it in the future. Server A has a severe firewall, connection through port 445 has been opened, but that still…
nano
  • 53
  • 2
  • 7
0
votes
0 answers

Gunicorn Permission denied: '/dev/ttyUSB0'

This is my gunicorn config file, with username specification: $ cat /etc/gunicorn.d/wsgi.work CONFIG = { 'working_dir': '/home/ubuntu/workdir', 'user' : 'ubuntu', 'group' : 'ubuntu', 'args': ( '--debug', '--bind=0.0.0.0:5000', …
themadmax
  • 113
  • 6
0
votes
1 answer

Domain Users Unable to Access Home Directory Without Sharing Folder

So I run a windows 2012 r2 for a client with 20-30 employees. I have created a home directory for each person as a means to save data onto the server. However, recently new users that are added are unable to access their personal folder without the…
0
votes
1 answer

Docker specifying user and group as exec command options

I need to execute some commands from inside a php/php-7.1 container as a special (standard) user and group aka «www-data:www-data» used by php-fpm daemon. www-data exists as both a user and a group on the host machine and entries exist in : …
Stphane
  • 111
  • 7
0
votes
1 answer

How to grant full access to a windows drive for a domain user when it became lost

I have a UserAccount: UserAccount123, it is part of the admin group of the local computer. The computer has Windows 7 Enterprise Installed (64bit) and it is part of a domain. The user is a user on that domain and all users of the domain are in the…
TomEaton
  • 3
  • 2
0
votes
1 answer

What privileges are needed to restart jenkins successfully from the web interface?

I'm having an issue when I try to restart Jenkins using the web interface (either through http(s)://theserver/restart or http(s)://theserver/saferestart) because Jenkins gets stuck on the screen "Please wait while Jenkins is restarting Your browser…
Milena
  • 1
  • 3
0
votes
1 answer

Which user should run my PHP cron job?

I have a bunch of PHP scripts are run by cron (/etc/crontab) at specific times. The scripts are owned by www-data. However, www-data does not have shell access. In fact, it has "nologin" set as its shell. I am unsure which user to run the script as.…
minitauros
  • 103
  • 4
0
votes
1 answer

Configure group permissions on OpenVPN Access Server

I have a OpenVPN Access Server working for N users. Everyone has access to different networks like 172.16.10.0/24, 172.16.11.0/24 and so on. Now, I'm trying to restrict the access. Only a couple of users will have access to the network…
JonDoe297
  • 563
  • 2
  • 8
  • 21
0
votes
1 answer

Prevent a domain user logging in domain computers locally

So I am managing this domain where the users are mostly our company staff who are allowed to login to the company computers within our domain. This is actually out-of-the-box supported as all users are by default Domain Users. But I also have these…
0
votes
2 answers

Linux permissions and status code 1

i have problem with linux (ubuntu 16.04) permissions and command execution. /etc/sudoers file: Defaults env_reset Defaults mail_badpass Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" root …
0
votes
1 answer

AD Account must be able to create/reset/enable accounts without having rights to log in to the Domain controller

Regarding AD accounts, I believe(correct me if im wrong) it is possible to create an account which has permission to create, modify and disable/enable acconts and reset passwords without that specific account being able to logon to the domain…
0
votes
2 answers

How to manage FTP and CHMOD / CHOWN when working with a freelancer?

Nowdays, when working with a freelancer, I add a new user to Debian, create a ftp access to this user and give that to the freelancer Problem is that freelancer can access some data I want to keep confidential such as: config.php or…
yarek
  • 827
  • 5
  • 13
  • 22
0
votes
1 answer

Different Linux permissions for two users

I have a small problem I can't seem to get it right. I have user1 and user2 and a folder, but I'd like user1 to have full access and user2 to have read only access.. Checking online and looking at the current permissions I can see you can have a…
0
votes
1 answer

change /etc/group folder location

I'm using docker with ubuntu and I need to mount /etc/group /etc/shadow /etc/gshadow /etc/passwd inside an external volume, in order to avoid the password loosing each time I've to rebuild the docker container. From the point of view of…