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

Re: Prevent users from running certain commands.



the file is in /$USER/.bash_history

Walid

2010/3/19 walid jarboui <walid jarboui gmail com>

> Hey guys,
> you can edit bash_history for each user if you are root
>
> 2010/3/19 cliff here <c4ifford gmail com>
>
> 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 shsu edu> 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 rice edu> 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 redhat com?subject=unsubscribe
>> > > https://www.redhat.com/mailman/listinfo/redhat-list
>> >
>> > --
>> > redhat-list mailing list
>> > unsubscribe mailto:redhat-list-request redhat com?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 redhat com?subject=unsubscribe
>> https://www.redhat.com/mailman/listinfo/redhat-list
>>
>
>


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