Re: Prevent users from running certain commands.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey guys,
you can edit bash_history for each user if you are root

2010/3/19 cliff here <c4ifford@xxxxxxxxx>

> Good way to do this is combine selinux users and sudo users, this should
> give you a start
>
> On Fri, Mar 19, 2010 at 3:47 PM, Marti, Robert <RJM002@xxxxxxxx> wrote:
>
> > I'd rethink the end goal here - why do you want to hide ps from
> > certain users?  Iirc you can find the same information in ways other
> > than ps.
> >
> > Sent from my iPhone
> >
> > On Mar 19, 2010, at 14:40, "Kaydo" <kaydo@xxxxxxxx> wrote:
> >
> > > Hey guys,
> > >
> > >
> > >
> > > I am looking for a way to prevent users from running certain
> > > programs.  For
> > > instance, I only want members of a certain group to be able to run
> > > "ps" or
> > > any transmutation of it.  What might be a good way to accomplish this?
> > >
> > >
> > >
> > > Thanks guys,
> > >
> > >
> > >
> > > - Kaydo
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > redhat-list mailing list
> > > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> > > https://www.redhat.com/mailman/listinfo/redhat-list
> >
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
>
>
>
> --
>
> -------------------------------------------------------------------------------------------------------------------------------------
> NOTICE: This message, including all attachments, is intended for the use of
> the individual or entity to which it is addressed and may contain
> information that is privileged, confidential and exempt from disclosure
> under applicable law. If the reader of this message is not the intended
> recipient, or the employee or agent responsible for delivering this message
> to its intended recipient, you are hereby notified that any dissemination,
> distribution or copying of this communication is strictly prohibited. If
> you
> have received this communication in error, please notify the sender
> immediately by replying "Received in error" and immediately delete this
> message and all its attachments.
>
> -------------------------------------------------------------------------------------------------------------------------------------
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux