On Fri, Jun 14, 2013 at 12:21:44PM -0700, Joe Zeff wrote:
> >   sudo cp /bin/bash /bin/mylocalshell
> >   sudo mylocalshell
> >I know this is preventable, but it's something to think about. No one
> >should have sudo who you would not trust with root itself. sudo just
> >adds a layer of accountability.
> AIUI, use of sudo is logged.  if you want to limit the number of
> suspicious entries, use this as the second command:
> sudo chmod a+s /bin/mylocalshell

Oh no. Start with 'sudo bash' or 'sudo su'. People do this all the time.
Then `unset HISTFILE`. Then do the above not with sudo.

But this is very off-topic.

-- 
Matthew Miller  ☁☁☁  Fedora Cloud Architect  ☁☁☁  <mat...@fedoraproject.org>
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to