Hi<div><br></div><div>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.</div><div>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...</div>
<div><br></div><div>When I try to use su I always get su: Authentication failure .</div><div>When I try sudo I get: sudo:must be setuid root.</div><div><br></div><div>I tried to add to hook commands:</div><div><div>chmod +s /target/bin/su</div>
<div>chmod +s /target/usr/bin/sudo</div><div>chmod 4755 /target/usr/bin/sudo</div><div>chmod 0440 /target/etc/sudoers</div><div>chmod u+s /target/usr/bin/sudo</div><div>chmod +s /target/bin/su</div></div><div><br></div><div>
But they didn't help...</div><div><br></div><div>Any suggestions...? </div><div><br clear="all">Regards,</div><div>Olivia<br><br>
</div>