Serial console: User snickerdoodle cannot sudo

63 views
Skip to first unread message

drbc...@gmail.com

unread,
Jul 22, 2017, 3:31:11 PM7/22/17
to snickerdoodle forum
Okay: Booted xenial an a Black. Connected on serial console and reset password. Went to add my standard user name and sudo crapped out with

  sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set

Okay, something is gummed up. Look at /usr/bin/sudo: no setuid.

Mount card in PC, chmod sudo to 4755 and reboot snickerdoodle.

Same problem.

So: I cannot configure the network to install the packages, nor can I set the setuid stuff on the snickerdoodle.

I did not see any obvious answers on Google but I am a serial console newbie. Happy to be taught the fix.

Bush

unread,
Jul 24, 2017, 11:11:18 PM7/24/17
to snickerdoodle forum
What is the process you're following for creating you're user and allowing permissions? Can you provide a console printout of what you're seeing?
Reply all
Reply to author
Forward
0 new messages