Re: change sudoers remotely

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



On Mon, Jul 08, 2013 at 05:02:58PM -0400, m.roth@xxxxxxxxx wrote:
> 
> Since doing what you did just told the world a username that they can try
> to break in with.

Assuming it's internet facing.

> Second, sudoers should ALWAYS be edited with visudo, and you might do a
> here script....

Hardly.  If you're using any type of provisioning system with a tested
template this type of thing is trivial to do right.

Tim, if you're using C6 look into dropping a properly configured sudo
config into /etc/sudoers.d instead of mucking with /etc/sudoers.conf.





							John
-- 
TURKEY, n. A large bird whose flesh when eaten on certain religious
anniversaries has the peculiar property of attesting piety and gratitude.
Incidentally, it is pretty good eating.

-- Ambrose Bierce, The Devil's Dictionary

Attachment: pgpqX5KjqBfF1.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux