Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.
How to disable some shell commands foe a specific user?
moshbat wrote: @slpctrl; There are different shells. I have several that I used to use at school.
Yeah. Well in my experience, there's a shell that runs through the operating system. Then you can use a shell emulator to pass commands through it. Were you using a shell emulator? (Coded 3rd party)?
slpctrl wrote: [quote]shadowls wrote: he did not give enough info for any of us to help him.
I know. We really need an OS to definitively tell him, most OS' have different command terminals, and ways to prevent/block access to them.[/quote]
I believe he is using Fedora Core 8
Can't you do something like:
- make the users that you want to access the command to be part of the file's group.
- Then you find where the file is stored and chmod it.
- eg: chmod -c 010 /usr/bin/reboot