LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 03-21-2006, 01:56 AM   #1
proRandom
LQ Newbie
 
Registered: Feb 2006
Posts: 4

Rep: Reputation: 0
"setgid:Operation not permitted" after shadow install


Problem: After installing Shadow(v-4.0.9) /bin/su returns error "setgid:Operation not permitted". The /tools/bin/su still works

Environment:
  1. Building LFS 6.1.1
  2. Hint #1:More Control and Package Management using Package Users (v1.2)
  3. Hint #2: How to build a LFS 6.1 system using the LFS live CD as your host OS.
  4. PATH = /bin:/usr/bin:/sbin:/usr/sbin:/tools/bin
  5. Have not configured Shadow yet

File permissions:
/bin: -rwsr-xr-x Shadow Shadow su
/tools/bin: -r-sr-xr-x root root su

I searched through the forum found one thread pertaining to this issue, thought I had the solution, but post only recommended adding /usr/sbin to the PATH. Problem is, I already have that. Any help would be greatly appreciated.
 
Old 03-21-2006, 11:08 PM   #2
proRandom
LQ Newbie
 
Registered: Feb 2006
Posts: 4

Original Poster
Rep: Reputation: 0
chown of the /bin/su file to root shadow and it works. Anybody have anything else?
 
Old 04-06-2008, 05:23 PM   #3
paulslittlebit
LQ Newbie
 
Registered: Apr 2008
Location: Texas
Distribution: LFS 6.4
Posts: 11

Rep: Reputation: 1
Thumbs up That Works

Quote:
Originally Posted by proRandom View Post
chown of the /bin/su file to root shadow and it works. Anybody have anything else?
That worked for me. Thank you.
 
Old 10-21-2010, 10:48 PM   #4
BobTheSlackUser
Member
 
Registered: Feb 2007
Distribution: Slackware, Linux From Scratch
Posts: 41

Rep: Reputation: 0
Saved me too! Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"creating symbolic link" "operation not permitted" wheni Linux - Newbie 3 05-08-2011 01:36 AM
setgid: operation not permitted Johnburrell Linux From Scratch 10 03-07-2010 05:03 AM
hdparm -d1 /dev/hda gives me "HDIO_SET_DMA failed: Operation not permitted" elluva Linux - Hardware 7 07-21-2007 03:49 AM
"Preserving time: operation not permitted" on fat32 on debian ac1980 Debian 10 01-15-2007 08:12 PM
"ioctl: Operation not permitted" (beep media playe) unholy Linux - Software 1 12-18-2004 06:14 PM


All times are GMT -5. The time now is 01:50 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration