I just installed 11.3 32b, added myself to the sudoers files, but when I sudo it asks me for root password and not my password, what am I doing wrong?
I remember when setting my password during installation I unselected something like “use this password for system administration”.
shalom@shalom-laptop:~> sudo zypper up
root’s password:
hcvv, I’ve used opensuse 11.2 for the past four month, but yes, I’m more used to ubuntu.
anyway , I commented those two lines in the sudoers file and now I’m good: #Defaults targetpw # ask for the password of the target user i.e. root #ALL ALL=(ALL) ALL # WARNING! Only use this together with ‘Defaults targetpw’!
When it does what you want, then this is the right solution for you.
When you think it is “right” not to ask for the root paassword in the moment you are going to do something as root, I am not with you. I have seen to much instances of system managers cutting their fingers off (inclusdng myself in more then 20 years of Unix system management) even when a password is asked for.
I agree with you , but as this is my desktop and not a machine used by others I really think there is not much difference as long as both those passwords are known only to me and are safe.
I think you got me wrong. Of course one should protect against “other” users then the uer who happens also to be the system manager. But thinking that when there are none of those others (and also being pretty sure there never will be, no guests, no friend will ever ask if (s)he may use the system) you do not need such a protection is wrong. I though I made it rather clear, that you should proptect againt YOURSELF! (see the above about 20 years of experience).
And you are not connected to the Internet? The scenario that somebody might lay hand on your userid/password will be less worse if that person can still not become root. The root password being something that you not not use that often and thus is less likely to be seen.
But it is all up to you, you can even organise for a complete passwordless/firewallless system.
I get you , and agree I should protect against muself,
I use sudo a lot, and I don’t see a difference in typing the root’s password or my password while making a mistake , I wil make the mistake anyway. but then, I don’t have 20 years experience with linux, I use linux only for the past year or two.
When you sudo a lot, either something is wrong with your system or you are doing sort of operating system testing.
Most people use their system for mail, music, office work, movie editing, games, all sorts of hobbys and thus want a stable system and thus want to do the least possible amount of system managent. Only security updates and backups come to my mind as regular tasks then.
I’m a Java programmer, many time I install my artifacts under tomcat, jetty etc. I have to change network settings sometimes and other things, so I use sudo a lot.
>
>When you sudo a lot, either something is wrong with your system or you
>are doing sort of operating system testing.
>Most people use their system for mail, music, office work, movie
>editing, games, all sorts of hobbys and thus want a stable system and
>thus want to do the least possible amount of system managent. Only
>security updates and backups come to my mind as regular tasks then.
Spot on. I only do system management when i have to, i am too busy
using it.