Breaking Systems for Fun and Profit

Failure is always an option.

  • HOME
  • About
  • Troubleshooting Tips
  • Submissions

Posts Tagged ‘ chsh ’

We don’t play favourites.

  • January 12th, 2010
  • Posted in Bash Bonanza
  • By Mule

Include this somewhere in cron, or just run it yourself from time to time to give your users the diversity they so rightly deserve: for I in $(getent passwd | cut -d: -f1 ) do chsh -s $(sort -R /etc/shells | head -n1) ${I} done [ READ MORE ]

Disclaimer

It's a shame that we actually have to write a disclaimer, but experience tells us that most of you out there are idiots. Well not you of course, because you are actually reading the disclaimer. Here goes:

Neither breakingsystemsforfunandprofit.com nor any of its admins/editors/contributors can be held liable for any damages resulting from the use or lack of use of any information or advice presented here in any way.

Failure to realize that any information presented here for the purpose of breaking systems should not be used on any production or otherwise important systems will result in us making fun of you and your unfortunate offspring should you have any.

RSS FEED

Important Information

  • About
  • Troubleshooting Tips
  • Submissions

Housekeeping

  • Register
  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Past Perversions

Distributions

  • CentOS
  • Fedora
  • Red Hat

Nice External Breakage

  • SysFunBoost

License

Blog under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
Creative Commons License
  • Copyright © 2010 Breaking Systems for Fun and Profit
  • Theme designed by mono-lab
  • Powerd by WordPress