Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: remus on April 10, 2014, 07:31:03 PM

Title: sudoers file tinkering and now extra password prompt
Post by: remus on April 10, 2014, 07:31:03 PM
Hi all,

Running Microcore 5.2 in virutal box.

I've setup my /etc/sudoers file so that the tc user has to give a password whenever the sudo command is used. Heres the tc entry in my /etc/sudoers file now.

tc      ALL=(ALL) ALL

Since I've done this, I've noticed that when I boot up the system, instead of being presented with a standard prompt ready for input, I see a password prompt, I can hit enter three times, and will then be presented with the standard prompt.

This also happens when accessing the system from windows via putty.

Its not really a problem, I'm just wondering why this is happening ?
Title: Re: sudoers file tinkering and now extra password prompt
Post by: gerald_clark on April 10, 2014, 08:26:59 PM
/home/tc/.profile calls sudo.
Title: Re: sudoers file tinkering and now extra password prompt
Post by: remus on April 11, 2014, 09:22:10 PM
So do I need to provide the password to load /home/tc/.profile correctly ?

If I don't what are the consequences ?

Thanks.
Title: Re: sudoers file tinkering and now extra password prompt
Post by: gerald_clark on April 11, 2014, 09:26:53 PM
Fix your sudoers file so it doesn't ask for passwords for everything.