Questions tagged [user-permissions]

419 questions
1
vote
1 answer

Sudo required to run Kubernetes on Ubuntu Server, but not on Ubuntu Desktop

I am wondering why I need sudo to run Kubernetes on Ubuntu Server, but not on Ubuntu Desktop. Installed kubectl:kubectl, minikube and docker.io on both an Ubuntu Server 18.04 and on an Ubuntu Budgie 18.04 box. The installation procedure and versions…
ElToro1966
  • 177
  • 2
  • 8
1
vote
1 answer

User Group permission for apache website

Apache is running with www-data:www-data I added a user sudo useradd -s /bin/false -d /var/www/dev -m dev and added to www-data group sudo usermod -G www-data --append dev uid=1001(dev) gid=1001(dev) groups=1001(dev),33(www-data) Now when a…
1
vote
1 answer

List all users with ALL PRIVILEGES in MySQL

I need to find a way to list all database users that have ALL PRIVILILEGES on *.* (all databases and tables). Additionally, it would be great if it could also list only those with GRANT OPTION. My initial thought was to select User from mysql.user…
manifestor
  • 6,079
  • 7
  • 27
  • 39
1
vote
0 answers

remote access - restrict accessible user accounts depending on client

I find endless resources on the web explaining well how to restrict access to a computer depending who is trying to log-in. That doesn't allow to control what account will be used to log-in onto the local machine and what is done on that machine.…
Stefan
  • 131
  • 5
1
vote
1 answer

How to set up secure permissions: Multiple Users & Websites / Apache / www-data

I had my own private VPS that my hosting service managed and now I am switching to a cloud server where I have to manage everything myself. I am trying to mimic their secure setup that they had. On my old & new server, I have my users/websites set…
1
vote
2 answers

'/var/lib/mysql/mysql.sock' (13 "Permission denied") when accessing the socket as non mysql user

I am trying to connect to local mysql server I use for development The server starts fine, but I can not connect to it as a non-root user. [root@somepc ]# mysql -u [someuser] -p[somepass] ERROR 2002 (HY000): Can't connect to local MySQL server…
nelaaro
  • 644
  • 4
  • 10
  • 27
1
vote
1 answer

Windows Server 2008 r2 security permissions

I hope I've selected the correct StackExchange for this question. I have searched google and StackExchange but haven't been able to find an answer to my question with the search queries used. I setup a home server as a little project to learn the…
1
vote
2 answers

Shared drive, copy permissions to new accounts to view files in old domain server

Ok this is a bit of a hard scenario. We are in the middle of a domain migration, we aren't doing it all at once which means gradually we will move users over at a time. This means that we need to be able to have the users permissions for the company…
1
vote
0 answers

How to access a directory under document root with new user

I created a new user clientespc under the new group sftpclientes. I want that user to have only access (read/write) to var/pages/example.com/web/uploads. However I can't do that. I guess that's because my var/pages directory is owned by the www-data…
1
vote
2 answers

Can a line in a file in the /etc/sudoers.d directory have multiple users?

I've got the following file setting permissions on my machine: /etc/sudoers.d/myuser This has the following contents: myuser ALL=(myuser) NOPASSWD: ALL I'd like to add a second user to this list, something like: myuser ALL=(myuser, myuser2)…
Hawkeye
  • 2,699
  • 9
  • 30
  • 35
1
vote
1 answer

Weird redirection issue on nginx server while directing to index.html

I am trying to deploy a single page application using nginx and here is the configuration below. server { listen 24670 default_server; listen [::]:24670 default_server; server_name *******; root /home/gerry/client/dist; …
1
vote
1 answer

Permission to connect to network folder

Small company with 5 users running a domain on SBS 2008R2. PCs are all running Windows 10. We have had folder redirection enabled for several years and recently one of my users (Sandra) was unable to access her desktop when logging in for the day.…
1
vote
2 answers

Nginx 403 forbiden with the good rights set on files

I'm trying to use a subfolder for containing web app on my server. For example : example.com/netdata ===> Netdata monitoring example.com/passbolt ====> Password manager etc .. For making things work i've used this config : #Passbolt server { …
P0pR0cK5
  • 330
  • 1
  • 6
1
vote
0 answers

How to limit access for a user within Windows

I want to allow people to build their Electron apps on a Windows environment. For me to do this, I accept jobs in via SQS and have a listener that runs the build process within a "workspace" folder. I do not want to leave myself open to a malicious…
tomhallam
  • 119
  • 1
  • 5
1
vote
1 answer

Debian - Allow only one user to login from any IP via ssh

I want to configure server so only one user (git) is able to login from any IP address (using key), the other users just from specified IPs. Currenly my configuration allows to login any user from just one specified IP. Here's what I have…
Sfisioza
  • 592
  • 2
  • 8
  • 18