Search found 6 matches

by some_dude_
2020/08/24 13:00:23
Forum: CentOS 7 - Security Support
Topic: Disabling/Removing shells
Replies: 10
Views: 439

Re: Disabling/Removing shells

This gave a better insight and understanding on the problem and yes I am very enlightened by the last two.
Thanks mate
by some_dude_
2020/08/17 05:04:03
Forum: CentOS 7 - Security Support
Topic: Disabling/Removing shells
Replies: 10
Views: 439

Re: Disabling/Removing shells

In case I scale up and down very frequently creating a new user is an overhead I don't believe that. When you "start a new machine", you have to install packages and useradd is nothing compared to that. For example, both kickstart and openstack's cloud config let you define users as part of the ins...
by some_dude_
2020/08/13 04:19:23
Forum: CentOS 7 - Security Support
Topic: Disabling/Removing shells
Replies: 10
Views: 439

Re: Disabling/Removing shells

create a user without shell and run the process as this user/group this is the default behavior of most services like apache, postfix... if you dont want to create a new one run it as nobody:nogroup I will try this one, can anyone tell me if there is a way to completely stop the shells from startin...
by some_dude_
2020/08/13 04:13:42
Forum: CentOS 7 - Security Support
Topic: Disabling/Removing shells
Replies: 10
Views: 439

Re: Disabling/Removing shells

TrevorH wrote:
2020/08/12 15:19:32
Also, if you remove all shells then how will you ever connect to the machine to debug/fix problems?
The idea is, in case of an update we would start a new machine with the updated version and shutdown the current machine
by some_dude_
2020/08/13 04:11:28
Forum: CentOS 7 - Security Support
Topic: Disabling/Removing shells
Replies: 10
Views: 439

Re: Disabling/Removing shells

BShT wrote:
2020/08/12 14:54:07
viewtopic.php?f=54&t=75307
Yes this is the idea
by some_dude_
2020/08/12 05:46:30
Forum: CentOS 7 - Security Support
Topic: Disabling/Removing shells
Replies: 10
Views: 439

Disabling/Removing shells

Is it possible to remove all shells and execute a certain process in a way that this is the only running as long as the system is running ?
I am thinking of starting this process through systemd

Go to advanced search