Skip to content

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?

8 points5 comments
Open on Reddit
About this post
Posted
Archived
Score
8 · 100% up
Kind
Text
ID
agul13

Author

18
posts
20
comments
0
media
View profile

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.

Defaults rootpw

​

25 points

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.

7 points

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.

2 points

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?

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.