Re: Shadow's su using Package Users will not switch

2011-06-23 Thread Hans Kaper
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


Re: Shadow's su using Package Users will not switch

2011-06-22 Thread William Immendorf
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 Immendorf
The ultimate in free computing.
Messages in plain text, please, no HTML.
GPG key ID: 1697BE98
If it's not signed, it's not from me.

--

Every nonfree program has a lord, a master --
and if you use the program, he is your master.  Richard Stallman

--
Are you a Gmail user? Please read this important notice:
http://www.fsf.org/campaigns/jstrap/gmail?31450.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page