WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: sudoers file tinkering and now extra password prompt  (Read 2048 times)

Offline remus

  • Sr. Member
  • ****
  • Posts: 371
sudoers file tinkering and now extra password prompt
« on: April 10, 2014, 10: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 ?
Live long and prosper.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: sudoers file tinkering and now extra password prompt
« Reply #1 on: April 10, 2014, 11:26:59 PM »
/home/tc/.profile calls sudo.

Offline remus

  • Sr. Member
  • ****
  • Posts: 371
Re: sudoers file tinkering and now extra password prompt
« Reply #2 on: April 12, 2014, 12:22:10 AM »
So do I need to provide the password to load /home/tc/.profile correctly ?

If I don't what are the consequences ?

Thanks.
Live long and prosper.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: sudoers file tinkering and now extra password prompt
« Reply #3 on: April 12, 2014, 12:26:53 AM »
Fix your sudoers file so it doesn't ask for passwords for everything.