Sudo to su?
So... I got a really easy password on my non root user account, becouse i can't be bothered to type in a long password each time. My question now is, what if i completely removed my user from sudoers and change sudo to su?
About this post
- Posted
- Archived
- Score
- 8 · 100% up
- Kind
- Text
- ID
- agul13
5 comments
you can still use sudo, and turn on the option in sudoers, so it will prompt you for the root password instead of the users.
There are a few different reasons to keep sudo, none of them are super important on a home box. Yeah, I see no reason not to use su edit: in your case.
That being said are you sure you are putting your security where you need it? Personally, the root command I worry about is
cd /home/buckyball60.Check out the
targetpwoption in sudoers.I'm curious what the perfect level of su password security is that balances how often the user needs to type it because of their use and the security needed. It must just be best to make your su password weaker and easier to type for sudos rather than living in su.
There are a number of reasons to use sudo of su? Why would you want to switch, because of the bad security on your main user?