Tiny Core Base > TCB Talk

sudoers file tinkering and now extra password prompt

(1/1)

remus:
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 ?

gerald_clark:
/home/tc/.profile calls sudo.

remus:
So do I need to provide the password to load /home/tc/.profile correctly ?

If I don't what are the consequences ?

Thanks.

gerald_clark:
Fix your sudoers file so it doesn't ask for passwords for everything.

Navigation

[0] Message Index

Go to full version