Questions tagged [privileges]

The tag has no usage guidance.

27 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
6answers
1k views

Detecting cron tasks run by another user

I am currently working through the Nebula challenges on exploit-exercises.com, and one of the challenges relies on a script being run by cron. This is run by another user (flag03) and the user I am ...
4
votes
1answer
1k views

Run command with sudo by default

I need a linux user (lets call him "bob") who is allowed to run a list of commands which require root privileges. So let him be required to run /sbin/firstcommand and /sbin/secondcommand (which are ...
4
votes
2answers
259 views

How to run script with the privileges expected of the script's general “intended user”?

During the development of a script, some bugs remain "latent" until the script is run by a different user. (For example, the script may access a file that only the person developing the script has ...
2
votes
1answer
26 views

How to create foolproof user that is only allowed to video chat with one person

I have to give a laptop to my 4 yr old who lives very far away from me, so that we can have regular video chats. I want to restrict any other use for that laptop, including video chats with other ...
2
votes
0answers
3k views

CUPS denies access to printer

I've got a printer hooked up to my workstation (running PCLINUXOS2012) by USB. All was well until the last time I tried to apply updates to the packages - it went rather pear shaped - lots of upgrade ...
2
votes
0answers
439 views

How does Linux Mint 13 GUI (Cinnamon) know which users have administrator privileges?

Recently Cinnamon crashed. And I can no longer: Change settings of network manager Mount any external disks (except by sudo mount ... on command line) Shutdown (only can log out) Click "unlock" on ...
1
vote
0answers
32 views

Debian 9: Users and Groups

I'm trying to run users-admin from Debian 9 LXDE but I'm having the following issues: 1. Logged as root root@debian:~# users-admin Gtk-Message: GtkDialog mapped without a transient parent. This is ...
1
vote
1answer
105 views

ssh ethernet tunneling as normal user

I would like to connect 2 tap-devices. The tap-device on the remote server is owned by "user". This is my test-command: # ssh -oTunnel=ethernet -w0:0 user@server But it does not work, I get this ...
1
vote
1answer
253 views

Red Hat disk utility only works for root, no sudoer?

I need to format a hard drive in Red Hat 6.4. When I use the graphical "Disk Utility" provided by Red Hat, it asks to authenticate using the root password. On this machine I am a sudoer and do not ...
1
vote
1answer
30 views

How to apply usergroup changes without having to end session / logging out / closing programs?

I'd like to remove myself from usergroups via deluser username group-to-get-removed-from without having to log out and back in as most programs get closed when doing so. Is there a way to apply ...
1
vote
1answer
91 views

Restrict applications from accessing certain resources

Mobile operating systems like Android or iOS define sets of permissions (e.g. read contacts/send sms/access camera, ...) a user needs to specifically grant to an application in order for the latter to ...
1
vote
1answer
492 views

Start python http server which can be stopped by anyone else

I would like to start a python SimpleHTTPServer instance but I would like to give the ability to everyone to stop it (execute kill -1). It wouldn't be a big deal to solve but I don't have the access ...
1
vote
0answers
29 views

Debian not saving user's preferences of any program

Since I did a fresh installation of Debian, my computer is not saving user's preferences. The preferences only are saved for the session, but if I close the program and reopen it, it ask me again the ...
1
vote
1answer
802 views

Find out what capabilities a process needs

I want to allow run zfs zpool commands without root and sudo. I suppose that I need to give some capabilities to user, but how to get list of capabilities needed by some particular command? The OS is ...
1
vote
1answer
26 views

How can I reset user home folder privileges from gui

I saved my home folder when I moved from 32bit Mint to 64bit Mint. Next, I installed Mint 18 from scratch, and copied home folder from backup as root user. Now I can't get home to startup as it ...
1
vote
0answers
27 views

Must auths for privilege and such still be explicitly listed, or are they now included in solaris.*?

In OpenSolaris and the Solaris-version around that time, the solaris.grant auth wasn't included in solaris.* and had to be explicitly added. For example, from the definition of the Primary ...
1
vote
0answers
62 views

Allow move but not put in internal-sftp

is it possible with the internal-sftp to allow mv command from dir A to B but not allow put to A?
1
vote
2answers
599 views

Bash launch certain commands like being a root user without being root user

I've the following problem. When I launch df command being a usual user of machine it outputs what I need: But when I try to launch it from another user (www-data in this case) I have problems with ...
1
vote
0answers
79 views

Type 1 Hypervisor hardware privileges, make use of host drivers.

I guess a "type 1" hypervisor is one that is running directly on the host's hardware to control the hardware and manage the guest operating systems, so, does that imply that it would be able to make ...
0
votes
0answers
14 views

Why does groupmems command ask for a password even when executed as root

The groupmems command that allows us to edit group membership has a peculiar trait: When executed as root, it again asks for root password when trying to edit any group membership for any system user. ...
0
votes
0answers
12 views

backup privileged data on remote servers without root ssh

I'm sufficiently new to Linux that I don't understand how to do what I think I want. If you think you know what I actually want, please tell me. I would like to use Duplicity to backup privileged ...
0
votes
0answers
14 views

vsftp on linux ec2

I have installed vsftp on Linux on an EC2 instance. I need to revoke the list privilege from one of the users. How can it be done? What I need is for the user to be able to upload files but not ...
0
votes
1answer
26 views

Set up additional swap space as non-privileged user

I want to run a program that requires more memory than what is available on the target machine. Unfortunately, I do not have root access to the machine where the program runs, so I cannot set up a ...
0
votes
1answer
38 views

Software available only to root user?

I am trying to install HP Fortify on RHEL 6.4. I installed it as the root user and can see on the PATH but when I login with a different user I can't see the software in the path. I have updated the ...
0
votes
1answer
52 views

What are the differences between sudo and the use of groups?

I know these are tools used for improving security. But what I would like to know is what they are and how they work?
0
votes
1answer
103 views

How to configure a user in sudoers such that the user can install app and can't access a specified directory

I want to add a user to sudoers, such that the user can do anything in root permission but: The user can't use mount command; The user can't access(read or write) to directory /home/protecteddir; ...
-1
votes
1answer
275 views

Cant Delete folders Permission Denied

I have freshly installed Ubuntu 16.04.3 LTS I installed Anaconda from the shell file provided by the official links I also installed vscode from the shell file (.sh) only provided by anaconda my ...