ivan rosa
asked on
Restricitons to users for CentOS ( RedHat)
Hello Folks,
I have a few users to create for centos, and I would like to set them with restrictions such "system tools, create shortcuts, folders...similar to a kiosk " is there any way to do that or is there a special profile that needs to be created?
thanks for looking
I have a few users to create for centos, and I would like to set them with restrictions such "system tools, create shortcuts, folders...similar to a kiosk " is there any way to do that or is there a special profile that needs to be created?
thanks for looking
Install and configure "lshell". I use this on many servers and it's excellent. Holler if you need assistance with the configuration and installation.
ASKER
Hi Jan,
Thanks for the reply, I did more research on this topic and went to their github, as they describe "lshell is a shell coded in Python, that lets you restrict a user's environment to limited sets of commands, choose to enable/disable any command over SSH" , so my question is, is this sort of a py script that stop profiles while they are using "SSH", or is this desktop wise environment(<-this is actually my goal)?
Thanks for the reply, I did more research on this topic and went to their github, as they describe "lshell is a shell coded in Python, that lets you restrict a user's environment to limited sets of commands, choose to enable/disable any command over SSH" , so my question is, is this sort of a py script that stop profiles while they are using "SSH", or is this desktop wise environment(<-this is actually my goal)?
I would use lshell in combination with a special profile for each of these users. Don't give them the default.
ASKER
If this person needs to do what you originally indicated, you either have a web portal or this person needs shell access.
Don't worry about the profile. Install lshell. Make a list detailing what they need to be able to do. Create the user and give them lshell.
If you can be really specific, I can help with the lshell configuration.
Don't worry about the profile. Install lshell. Make a list detailing what they need to be able to do. Create the user and give them lshell.
If you can be really specific, I can help with the lshell configuration.
ASKER
thanks for your comment jan, but the company where I work is very restricted installing 3rd party apps, however someone already did the script...
thanks for you help though!
thanks for you help though!
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.