Questions tagged [user-permissions]

419 questions
0
votes
1 answer

How do I set permissions to restart a program via cron?

I'm trying to get a couple of programs to restart via cron every x hours (like for example syslog-ng using "/etc/init.d/syslog-ng restart"). However, the following always gets returned: Stopping syslog-ng: [FAILED] rm: cannot remove…
timetofly
  • 205
  • 3
  • 8
0
votes
1 answer

How to get the name of the windows default user group

We want to change file permissions for the windows default user group. The problem is, depending on windows version (xp,win 7) and language, the name of this default user group differs. Sometimes the name of the group is "Benutzer", sometimes it is…
0
votes
1 answer

Local user on PC1 as an admin on PC2

This is the scenario: PC1, joined to a domain, has a local user (localuser1) PC2, joined to the same domain Is there a way to make localuser1 be an admin on PC2?
Butcher
0
votes
2 answers

Incorrect Permissions and Ownership in /etc/nginx/sites-available Folder for Containers

I seem to have encountered an issue with the default permissions and ownership of the containers within my /etc/nginx/sites-available directory. The current permissions and ownership structure appears to be off, and I'm concerned that it might not…
0
votes
0 answers

How to trace process that has already terminated? And even trace back its parent process?

I am able to jail specific commands execution by a proxy script to a user whose sudo privilege is only this script sodo check here for how to. Also the sodo script logs whatever critical commands they ordered: sodo: #!/bin/bash # pass command by…
George Y
  • 528
  • 6
  • 16
0
votes
0 answers

Access to SMB folder from LocalService account

this is the situation: I have a Synology server with file folder normally accessible from the windows domain computers; I also have onto the primary domain server an application built onto Apache Tomcat 8.5 which runs with "local service"…
0
votes
0 answers

How can I enable BUILTIN\Administrators for my user

I am working in an Windows active directory environment. I am connected to a windows workstation with a domain user. Here is what I see when I type: whoami /groups BUILTIN\Administrators Alias S-XXXXX Group used for deny only …
Bob5421
  • 319
  • 3
  • 8
  • 16
0
votes
1 answer

NT Security Descriptor

In active directory an object have several permissions on many objects. how to view permissions of particular object? i am asking like for eg user Kavin have read permissions on some folder, full control on some other folders and Kavin have edit…
0
votes
0 answers

Error writing lock file: Permission denied

(On Ubuntu 22.04 LTS) After connecting my NAS drive with the mount command in the nashome directory, the following error occurs, when trying to edit or create any file in the mounted directory tree: [ Error writing lock file ./.index.html.swp:…
0
votes
0 answers

How to enable sudo and disbale sudo su on ubuntu 20.04

We need to capture user commands, on logs now the user has Sudo access. we have planned to disable sudo and they need to use sudo before the command. How to enable sudo and disable sudo su on ubuntu 20.04.
Ali
  • 1
  • 1
0
votes
0 answers

Unable to Write, Permission denied

As an apache user, I was trying edit some files owned by a different user, lets call it docroot drwxrwxrwx 2 docroot docroot 327 Feb 15 20:34 . drwxr-xr-- 53 docroot docroot 8192 Jan 31 17:49 .. -rwxrwxrwx 1 docroot docroot …
asim
  • 101
  • 1
0
votes
1 answer

stat Permission denied for user that belongs to the group

I installed nginx in a machine, and the site is not working because the user that nginx uses (www-data) doesn't have access to the folder with the site contents. I decided to add the user www-data to the root group, which is the owner of this…
0
votes
0 answers

Opening Access database through ASP results in Error 80004005

I managed to solve the issue myself but still feel that the answer can be useful to others, therefore I am posting it here. The problem was twofold. First, the Authentication was set to Anonymous authentication instead of Windows authentication.…
0
votes
1 answer

set the permissions on all the files and folders within a directory (CentOS 7.0 )

I kind of new to Linux/Centos world, is there any way to set the permissions on all the files and folders within a directory. I know chmod 777 will set permissions on the directory, but if it already has contents, I need to know how to set that too.…
0
votes
0 answers

Giving execute permission on folder with ACL makes files executable, too

I have a folder, owned by the "website user" foo, that will host a site: $ sudo mkdir foo $ sudo chown -R foo:foo $ sudo chmod -R u=rwX,g=rX,o= foo $ sudo chmod -R g+s foo $ ls -la drwxr-s--- ... foo foo ... foo I add Nginx (my server) to the foo…