Ralph Porter wrote:
> On Sun, Jan 4, 2009 at 10:02 PM, DJ Lucas <d...@linuxfromscratch.org> wrote:
>> Ralph Porter wrote:
>>
>>> mk_LUSER
>>> You are going to log into the user account lfs
>>> sudo requires a password
>>> Password:
>>> Sorry, try again.
>> Since you didn't explicitly say it, we'll go for the obvious first.  Did
>> you add rporter to /etc/sudoers and give him all commands?  RedHat AS/EL
>> used to have good comments in the /etc/sudoers file.  I don't know about
>> Fedora, but the needed change is available on the BLFS sudo page:
>>
> 
> Yes I did update sudoers
> 
> ## Allow root to run any commands anywhere
> root    ALL=(ALL)       ALL
> rporter ALL=(ALL)       ALL


I prefer to define

root    ALL=(ALL)       ALL
rporter ALL=NOPASSWD:   ALL

in /etc/sudoers or better to use visudo. Then iti not necessary to enter 
a password as OS user rporter.


Good luck
Wolfgang

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to