This tag discusses protection of data using system configuration or file-based permissions.

learn more… | top users | synonyms

21
votes
3answers
75k views

How to give nopasswd access to multiple commands via sudoers?

Below is what I know: I have to add this below line in sudoers file to give rights to the user for particular task. user_name ALL=NOPASSWD: /usr/bin/apt-get install In this case I want to give ...
8
votes
1answer
707 views

How to restrict a user from accessing a particular application?

I want to restrict an application being opened under ordinary privileges. Only root shall run the application, so that contents wont be seen by others and they wont change anything.
6
votes
2answers
5k views

How to give a normal user access only to the /var/log directory?

I have a non-admin user in Ubuntu 12.04 LTS desktop 32-bit OS to whom I need to give permissions only to access /var/log as he needs to monitor logs and create reports related to it. I do not want to ...
4
votes
2answers
1k views

How to restrict access to a NTFS partition to a standard (non-admin) user?

I am using Ubuntu 12.04. I have 4 NTFS partitions. I have made 2 users: One for myself (Admin) and one for family (standard/non-admin). I successfully restricted the access to my home folder from ...
3
votes
1answer
193 views

How to hide a code from myself until a specified time [closed]

Essentially, what I need is some way to generate and store a random string (20 characters long, say) for some period of time, such that there is no way for me to recover the string until the end of ...
3
votes
1answer
465 views

Need to write a script that will jailkit a user and give them access to a particular website directory

I have a ubuntu 12.04 app server hosting a few websites. We need to give access to the developer to only be able upload files to one of the websites. I have installed Jailkit but can't seem to find ...
2
votes
1answer
460 views

How to block cd/dvd drive in Ubuntu?

I have created 3 standard users in my system and I want to disable CD/DVD drive for them. How to do it?
2
votes
2answers
3k views

Why can't I change some file permissions?

I use Ubuntu 12.10 and whenever I click on .tex file it says it is an executable file. I wanted to remove this and tried gksu nautilus, but I can't tick off the permission. When I try to remove the ...
2
votes
1answer
2k views

Can I allow a standard user to execute only certain sets of command in terminal? [duplicate]

Can I create a whitelist of commands that a standard user can execute in the terminal in Ubuntu 12.04 desktop? I don't want to block the terminal for the standard user.
2
votes
3answers
243 views

How to lock user to one directory

I have built a few Virtual Hosts using nginx but now I want to have some users to modify them without them being able to edit anything else outside the host directory. I have tried so many things ...
2
votes
0answers
454 views

restrict access to Internet in guest session in 14.04 LTS

Ciao! I am using ubuntu 14:04 LTS and would like to restrict access to the Internet in guest session at particular times, for example, in use from 10 am to 12 pm and from 5 pm to 7 pm. For all the ...
1
vote
1answer
615 views

How do I set up user level restrictions on a gateway?

I am aware that Ubuntu Server can be used as a gateway to allow Internet connection to a LAN. Then we use IP tables or other firewall settings to restrict (for example), certain websites from being ...
1
vote
1answer
72 views

Wine slow to start when blocked access to network through iptables

I've got a separate user for running untrusted applications in wine and it was relieved from accessing network at all by using # iptables -A OUTPUT -p all -m owner --uid-owner username -j DROP Now, ...
1
vote
3answers
2k views

Prevent the guest account from accessing a particular flash usb pen drive key?

My pen drive is very important to me. I have a 32GB one, with Ubuntu 12.04 on it. On then pen drive, I created two partitions; one ext4 for Ubuntu (5GB) and the other partition is fat32, so that ...
1
vote
0answers
12 views

Folder access restriction during specific hours

I want to manage my time better and I'm looking for way to make my entertainment folder accessible only after 8 pm. Is there any way to do it with some bash command?
1
vote
0answers
22 views

websites doesnt load & restricted from accessing?

my company as installed ubuntu 14.04 14.04 LTS ON NEW COMPUTER DEVICE NAME: CTEL-DESKTOP MEMORY 1.9 GIB PROCESSOR INTEL CELERON(R) CPUJ1900@1.99GHz *4 GRAPHICS INTEL BAY TRAIL X86/MMX/SSE2 OS TYPE 32-...
1
vote
1answer
2k views

How to create a very limited user on Ubuntu 14.04

I'm trying to make a safe workstation PC for sensitive data using Ubuntu 14.04. No user should have the right to: print, connect a USB flash drive to transfer files, send files via email or install ...
1
vote
0answers
91 views

Assigned access or guided access equivalent

Is there a way to restrict user to use only one app in ubuntu? In Windows it is assigned access feature and in iOS it is guided access feature.
0
votes
3answers
128 views

how to restrict time used for using computer in Ubuntu

I want to restrict the access to user accounts for employees to the working hour daily. Monday to Friday (8:00-17:00) Saturday (8:00-13:00) How to do this?! Command line and GUI apps are well ...
0
votes
1answer
970 views

How can i prevent standard user from accessing terminal?

How can i prevent/restrict standard users from accessing terminal in ubuntu-12.04.2-desktop-i386 ? I need to prevent standard users and administrators(not root account) in Ubuntu user accounts from ...
0
votes
1answer
801 views

Restrict user access to /proc and /sys

I have one big problem: setfacl does not seem to work for /proc and /sys, but I would like to restrict one specific users rights and I do not find it acceptable for that user to read stuff like /proc/...
0
votes
1answer
84 views

How to restrict write/read access to HDD for certain apps

I have an old secondary internal HDD installed in my desktop PC on which I primarily do backups. I noticed that while the drive is mounted it seems that the whole system's performance seems to drop ...
0
votes
1answer
1k views

Can I prevent/restrict standard users from installing/uninstalling software?

Can i prevent/restrict standard user from installing/uninstalling software in Ubuntu 12.04 desktop?
0
votes
2answers
2k views

How to prevent standard users from accessing other file directory in ubuntu -12-04 desktop? [duplicate]

I need to prevent/restrict standard users from accessing directory like bin,boot,dev,etc,lib,media?
0
votes
2answers
162 views

How to limit users that can use root command

On an Ubuntu workstation with multiple profiles, how do you limit root access to specific profiles.
0
votes
1answer
94 views

Prevent Linux from accessing some partitions in a Dual Boot system

How can I prevent Ubuntu 15.10 from accessing some of the partitions on my dual boot (with Windows 10) to prevent possible data corruption or loss when I'm out experimenting with dangerous commands.
0
votes
1answer
841 views

How to edit /boot/efi

I have installed rEFInd, and it works well enough, but I am trying to add a theme. To do so, I need access to the /boot/efi/ folder. When I try to access it, I get the following error: rufio1337@...
0
votes
2answers
45 views

Pre-scheduled daily lock-out periods [duplicate]

I'm looking for an automatic way to lock out our home computer during certain pre-scheduled times of the day. Rather than rolling my own script for doing this, is there some off-the-shelf software ...
0
votes
2answers
6k views

How do I set permissions on a network-shared folder?

I used system-config-samba to expose a folder on the network with no user authentication. But I got permission failures, so I used chmod 666 shared_folder. When I go to \\computername from a ...
0
votes
0answers
21 views

Sensor mounted in /dev for root root

I have a picoflexx that I want to use on my computer. When I run the camera visualizer, I get an error that camera could not be found/accessed. When running the visualizer with sudo, it works. I ...
0
votes
1answer
30 views

xhost command in script fails when executed by initctl

For some reason, I have to execute xhost +SI:localuser:root to allow GUI for root user. I have put this command in a shell script, which will be executed at startup by upstart. When I execute this ...
0
votes
1answer
57 views

How to change index.html file in apache from normal user when apache is installed in root?

I work in Ubuntu 14.04. Well, I always had the misconception that installing a software from the root user makes the software available to all users. So, I wanted to install apache and add my html ...
0
votes
2answers
26 views

How to disallow access to folder even for admins?

I'd like to create a new user account and allow them to do maintenance on the server, i.e. install and configure new software, restart the server, manage other users etc... However, I'd like to ...
0
votes
1answer
125 views

Why can't I use anything I download/Why can't I download Unbuntu restricted?

I'm a new user to Linux in general and I'm trying to download Ubuntu restricted add-ons package and I'm having trouble downloading anything. My computer said to download adobe installer and I did, but ...
0
votes
1answer
531 views

How to restrict standard users from accessing system setting in ubuntu-12.04 desktop?

I need to restrict/prevent standard users from accessing "system settings" in UI ?
0
votes
0answers
30 views

Restricting usb usage [duplicate]

I'm using Ubuntu as a server with windows XP clients. I need to block USB ports for clients (xp) through ubuntu from accessing storage media without affecting the USB I/O devices. Is there any ...
-1
votes
2answers
133 views

Where is dconf in ubuntu-12.04 desktop-32 bit [duplicate]

I am not able to find dconf in ubuntu-12.04 desktop-32 bit?
-1
votes
1answer
418 views

How do i restrict user to make changes to NTFS partition ? (in easy steps)? [duplicate]

Possible Duplicate: How to restrict access to a NTFS partition to a standard (non-admin) user? I have 5 NTFS partition on single hard disk where ubuntu is also installed. I want to restrict ...
-2
votes
1answer
42 views

Ask user privilage access

I create one 'pradeep' user, that 'pradeep' user access only 'pradeep' home directory , and pradeep user cannot view remaining home directory and he go that remainng home directory its shows access ...