Linked Questions

1
vote
1answer
351 views

Remove ALL PRIVILEGES from an user group and Allow it to open only one program and read one directory [duplicate]

Hi, I need an user group to only be allowed to use gthumb and read from only one folder/partition which I will decide. Please can you let me know how to do this?
1
vote
0answers
59 views

Is there a good ssh jail solution for Ubuntu 12…? [duplicate]

Is there a good how-to/tutorial on setting up a chrooted ssh environment on Ubuntu 12.04LTS. I'm NOT interested in chrooted sftp which is easy to implement. It's jailing users in their home ...
1
vote
0answers
43 views

Can anyone recommend a good chroot ssh tutorial/ how to for Ubuntu 12.04 LTS [duplicate]

Possible Duplicate: Simplest & Easy Way To Jail Users I'm looking for a good how-to/tutorial on setting up a chrooted ssh environment on Ubuntu 12.04LTS. I'm NOT interested in chrooted sftp ...
23
votes
3answers
64k views

How can I prevent users accessing anything but their own home directory?

How can I prevent users accessing anything but their own home directory? For example, I have a NTFS partition mounted under /media/ntfs, so if the user logs in through ssh he can reach this partition....
13
votes
3answers
39k views

Sharing files in LAN through Samba or SSH

I am able to share files between two Ubuntu machine and Windows machine but I have these problems which I can't solve. When I share files between two Ubuntu machines via LAN Computer1 to Computer2. ...
5
votes
2answers
5k 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 ...
5
votes
1answer
2k views

What can a user do without sudo?

I'm setting up a server and want a user to only have access to his own files. I do a regular adduser command: sudo adduser username And give the user a password. Then I log in to it via ssh and see ...
0
votes
1answer
2k views

Give access to only specific directory for a sudo user

How to create a sudo user such that when logged in to server will be redirected to a specific directory. For example if I want to give access only to /var/www/html/my-site directory for that user. As ...
0
votes
1answer
889 views

Require a password to open a terminal [closed]

How can I make access to command line more secure? Is there any way to make it secure when using the system as a guest user? Once a user session is open then anyone can open terminal without any ...
0
votes
2answers
1k 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.
2
votes
2answers
537 views

Allow user to connect to mysql via ssh to create database dump, but don't allow anything else

I need to let a user create mysql dumps, but I want to restrict anything else. I have to do this via ssh into the server, since the mysql server is only listening on internal ip addresses, preventing ...
0
votes
2answers
970 views

SSH and SFTP Permission Setup

I'm trying to setup SFTP on my ubuntu server and I'm encountering a problem. When I set up a group in sshd_config file to chroot people to their home directories the user in the group cannot access ...
1
vote
2answers
120 views

Is it safe to revoke group other access to every directory in a file system?

I'm trying to secure an account on our server called ssh_user that is used purely for connecting via SSH to our server. Everyone on our team logs into this account via a PSK secured ssh connection ...
-1
votes
1answer
326 views

Jailkit freezing

I'm trying to jail ssh users on my Ubuntu 14.04 server. So after installing Jailkit version 2.17 (with the help of this tutorial) I'm now trying to follow this AskUbuntu answer to use Jailkit. After ...
1
vote
0answers
141 views

How to jail users under Ubuntu 17.10

Following link gives a solution about Simple & easy way to jail users. Multiple comments mention that it does not work on Ubuntu 13.10, but there is no verification about that. I have tried that ...

15 30 50 per page