jhalfs issue with permissions

Wolfgang Messingschlager w.mess at freenet.de
Mon Jan 5 13:54:53 PST 2009


Ralph Porter wrote:
> On Sun, Jan 4, 2009 at 10:02 PM, DJ Lucas <dj at 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




More information about the lfs-support mailing list