Results 1 to 9 of 9
I have read a lot of questions from people wanting to take Debian (or some other distribution) and make its sudo command act more like the way Ubuntu's sudo does. ...
- 07-02-2011 #1Just Joined!
- Join Date
- Mar 2011
- Posts
- 52
How do I make sudo act more like the debian sudo?
I have read a lot of questions from people wanting to take Debian (or some other distribution) and make its sudo command act more like the way Ubuntu's sudo does. I want to do the exact opposite, I want to make Ubuntu's sudo command act more like the sudo command from another distribution. ie I want there to be one root password
- 07-02-2011 #2
To enable root logins on Ubuntu, you just need to provide a root password, which you can do using sudo passwd root. This page tells you more about how to do it - and how to reverse it.
You'd better not tell them over at Ubuntu Forums what you've done! They get very sniffy about unlocking the root account over there."I'm just a little old lady; don't try to dazzle me with jargon!"
- 07-02-2011 #3Just Joined!
- Join Date
- Mar 2011
- Posts
- 52
It didn't work
- 07-02-2011 #4
Which part didn't work?
Did you get an error when trying to change the root password?
Did it not accept your new password?Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.
- 07-03-2011 #5Just Joined!
- Join Date
- Mar 2011
- Posts
- 52
it accepted the new password, but when I used sudo, the new password didn't work. it would only accept the old password
- 07-03-2011 #6
Gotcha.
That's because you still have sudo permissions.
The link that hazel posted shows how to unlock the root account. You can now login to root to do admin work.
If you want to change that behavior, you'll need to edit the /etc/sudoers file.Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.
- 07-03-2011 #7Just Joined!
- Join Date
- Mar 2011
- Posts
- 52
ok, so how do I do that?
- 07-03-2011 #8forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,099
Some quick googling will give you lots of online tutorials for setting up and configuring sudo, but my personal favorite is the one found here:
http://www.wlug.org.nz/SudoHowtooz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 07-03-2011 #9Just Joined!
- Join Date
- Mar 2011
- Posts
- 52
Oh I think I understand now, so apparently the sudo command doesn't just act like the su command. Apparently on most distros it requires the administrators password, and not the root password.


Reply With Quote
