Op Thu, 23 Jun 2011 00:18:45 +0200 schreef William Immendorf  
<will.immend...@gmail.com>:

> On Wed, Jun 22, 2011 at 3:14 PM, jpkaper <spaky...@xs4all.nl> wrote:
>> After installing Shadow from chapter 6.55, switching as root to a new  
>> user
>> with su gave the error:"Setgid: Operation not permitted".
>> I was able to work around this problem by replacing Shadows's su with
>> su(-tools) from the tools-directory, but I like to know where the  
>> problem
>> comes from. Has it to do with the "Package Users" system?
> Experience tells me that you need to make su setuid in order for it to
> work. To do this, run
>
> chown root /bin/su &&
> chmod 4755 /bin/su
>
>


William,

That works. Thanks a lot.


Hans.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to