You are not logged in.
Hello,
When I login as root I have no problem but when I issue a command such as
sudo pacman -S firefox
It asks me for the root password, but refuses to accept my correct answer.
Is there somewhere else I need to let sudo know my root password?
Many thanks
Last edited by archP4 (2010-06-17 15:24:11)
Offline
Oh right. I though sudo was to allow you to login as root to issue a single command? Never for the life of me thought it would want my password!
Thanks for the quick response!
Last edited by archP4 (2010-06-17 15:23:35)
Offline
FWIW you can set sudo to prompt you for the root password instead of your password as well.
Offline
Offline
But that takes more characters and you have to quote the command you're calling.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
I'm happy to type my password. Thanks again chaps.
Offline
herrvideman wrote:FWIW you can set sudo to prompt you for the root password instead of your password as well.
Thereby defeating the purpose of sudo... At that point you may as well use 'su -c'
So the only purpose of sudo is to enable you to use your user password instead of your root password, which may or may not be shorter than the root password in the first place? hmmm
Offline
On larger systems you may want to have a few people that can carry out commands as root but you don't want them to share /root or passwords.
The human being created civilization not because of willingness but of a need to be assimilated into higher orders of structure and meaning.
Offline
And sudo is a lot more flexible than su, you can restrict which commands can be run by which users and groups..
Offline