Problem with su and sudo after installation
Katarzyna Myrek
katarzyna at myrek.pl
Thu Jul 5 11:17:43 CEST 2012
Hi
I installed Debian Squeeze using fai. I created a special class for this
host to install some packages (sudo etc.) and a hook which adds a user to
newly installed system.
After installation system boots without a problem. I can log as root to
both text terminal and graphic environment. When I log as a normal user I
can't use su or sudo...
When I try to use su I always get su: Authentication failure .
When I try sudo I get: sudo:must be setuid root.
I tried to add to hook commands:
chmod +s /target/bin/su
chmod +s /target/usr/bin/sudo
chmod 4755 /target/usr/bin/sudo
chmod 0440 /target/etc/sudoers
chmod u+s /target/usr/bin/sudo
chmod +s /target/bin/su
But they didn't help...
Any suggestions...?
Regards,
Olivia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20120705/f595df5b/attachment.html>
More information about the linux-fai
mailing list