archives
sudo: must be setuid root
Submitted by Kevin Kleinfelter on Sat, 2009-09-19 15:57.I bought a TonidoPlug, which is a wall-wart with an embedded Linux server (running Ubuntu 9.04 Jaunty). Out of the box, sudo gave the error:
sudo: must be setuid root
This message means exactly what it says -- the sudo command is not setuid and it must be setuid (and owned by root).
chown root:root /usr/bin/sudo chmod u+s /usr/bin/sudo
will correct the 'problem.' (I put quotes around 'problem' because there are some who will say that this is a security feature.)
sudo: gem: command not found
Submitted by Kevin Kleinfelter on Fri, 2009-09-11 22:21.There are hundreds of reports on the net about "sudo: gem: command not found". Out of the dozen or so I looked at, the suggested resolution amounted to "ensure that 'gem' is in your PATH."
Yep. It is in my path. That is to say, the following works:
gem --help
but the following fails:
sudo gem --help
Further confusing matters, gem is in the path shown by:
Bort and Suspenders
Submitted by Kevin Kleinfelter on Fri, 2009-09-11 00:09.Here is a side-by-side of Bort and Suspenders. Both are Rails starter applications.
September 10, 2009
Anonymous modules have no name to be referenced by
Submitted by Kevin Kleinfelter on Mon, 2009-08-31 14:01.If you get
Anonymous modules have no name to be referenced by
when you're using a Rails template, it can be caused by referencing an undefined variable. You can pretend that message means that the [nothing.] in [nothing.]VARIABLE_NAME is an anonymous module.
