Skip to main content

Questions tagged [account-restrictions]

0 votes
2 answers
68 views

Most of the users are from an OpenDAP server, and users log in via SSH. Some users use a key to log in, some use a password. I have set up a password policy for LDAP, so users may become locked in ...
U. Windl's user avatar
  • 1,777
0 votes
1 answer
310 views

So here is something I could not find any reference to, I have this user, user_A, I want to remove its access to this directory entirely /log/dirA As far as I understand, chmod is used to modify the ...
Navid Taghavi's user avatar
0 votes
1 answer
217 views

I am new to linux and interested in only allow in login via direct access to the machine (active user). I don't even want to be able to log in remotely myself. Can someone please point me in the right ...
pac_2023's user avatar
1 vote
0 answers
185 views

I want to whitelist some of the commands for users. I am getting solution using LShell Limited Shell but I want to restrict subcommands as well. I want user to access docker ps and docker logs only. ...
mhassaankhokhar's user avatar
0 votes
0 answers
210 views

I want to lock user account after 3 failed attempts, I am following this guide. I am using Ubuntu 14.04 (for jumphost purposes only). However, the automatic unlock is not happening after 10 minutes. ...
rahuls_'s user avatar
  • 11
1 vote
2 answers
554 views

When I work on Linux test server (Debian 11) I have root, and want block other users open new session to this server during my work. Is it possible?
tuytuy20's user avatar
  • 115
1 vote
1 answer
448 views

I'm setting up an Ubuntu server to receive ssh connections from clients so I will then be able to connect back to their machine (reverse SSH tunneling). I searched for a way to prohibit any action ...
Joel Rivest's user avatar
1 vote
0 answers
90 views

I know that root can modify any config file. As a best practice, I would like to disable the capacity for root to su on accounts which authenticates against NIS or Active Directory. As a best practice,...
Mat M's user avatar
  • 143
4 votes
1 answer
3k views

In Linux distributions like RedHat you can create a user with options --disabled-login and ---disabled-password (see man page for command adduser link). I wonder if it is possible to check for an ...
megloff's user avatar
  • 429
0 votes
2 answers
618 views

When you install software on linux often users and groups get automatically created. I am wondering if during this user creation a "default" or "random" password will be set and if ...
megloff's user avatar
  • 429
1 vote
2 answers
2k views

Background: We have a policy in the company to deactivate the login possibility as much as possible, which is understandable. I am just wondering if there are any other side effects if you specify /...
megloff's user avatar
  • 429
0 votes
2 answers
528 views

A small family setup... I have a color printer, and a Linux computer, with CUPS installed. I wan to allow the kids to print, but only in draft mode, and only in greyscale. With CUPS I prevented the ...
ChennyStar's user avatar
  • 2,019
0 votes
1 answer
286 views

I have searched on google for restrict a user to a specific directory but mostly appeared about ssh user, ftp user and etc that not local user. How do we do that for local user?
Zozzizzez's user avatar
  • 137
0 votes
0 answers
46 views

I would like to limit a user to only two commands: cat and exit. I've tried to edit visudo but it does not work. My OS version is CentOS 8.
kdm.J's user avatar
  • 11
0 votes
1 answer
778 views

I want to create group and want to allow the group to run all available commands except few commands. Can you please help me configure sudoers for the same. I checked but only found how to allow some ...
Navi's user avatar
  • 93

15 30 50 per page
1
2 3 4 5
8