Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Reset setuid flag if NetInfo Manager updates fail Apps
Over in this thread in the forums, 'gowrann' was having a problem with NetInfo Manager. Any time they tried to save a change in NetInfo Manager, the program replied: "NetInfo write failed! (Operation succeeded)", and the changes were not saved.

'CharlesS' correctly deduced that the problem was the setuid flag on the NetInfo Manager application itself. To correct the problem, open a terminal and type:
 % cd /Applications/Utilities
% sudo chmod 4775 NetInfo\ Manager.app/Contents/MacOS/NetInfo\ Manager
If you're interested in reading more, the thread has details (courtesy of 'MervTormel') on exactly what the setuid bit is and why it's important to have it correctly set for NetInfo Manager.

Note: Edited to fix the backslash problem noted in the comments. Also note the article on StepWise referenced in the comments regarding security concerns.
    •    
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[3,723 views]  

Reset setuid flag if NetInfo Manager updates fail | 6 comments | Create New Account
Click here to return to the 'Reset setuid flag if NetInfo Manager updates fail' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
space[s] suck[s]
Authored by: shemp9999 on Mar 23, '02 04:10:35AM

as far as the hint goes, i don't know, but the line

sudo chmod 4775 NetInfo Manager.app/Contents/MacOS/NetInfo Manager

won't work as written. try:

sudo chmod 4775 NetInfo<backslash*> Manager.app/Contents/MacOS/NetInfo<backslash*> Manager

or

sudo chmod 4775 "NetInfo Manager.app/Contents/MacOS/NetInfo Manager"

*arghh! this site won't allow a backslash character in its comments...maybe that's what happened to the OG post AA.



[ Reply to This | # ]
Identify as root in NetInfo manager
Authored by: ctopfel on Mar 23, '02 04:47:44AM

there is another solution: in NetInfo mmanager, under menu DOMAIN, identify yourself as root (you must have root account enabled), with the root password. then you won't have this problem.

by the way: has anyone found a way to acces a scsi tape device via /dev/rst0 ?? this file does not exists under OSX, but i'd like to backup my stuff using a tape drive and the UNIX command tar.

thanks.



[ Reply to This | # ]
Identify as root in NetInfo manager
Authored by: Anonymous on Mar 24, '02 11:09:17AM

Errrrr, did I not post a hint saying more or less the same thing x months ago!? I thought we were trying to avoid duplication on here. :-)



[ Reply to This | # ]
Beware of this!
Authored by: oeyvind on Mar 23, '02 06:01:01AM
Please, kindly make sure you know why the setuid bid is off now, before doing this. More info, read this Stepwise article

[ Reply to This | # ]
Beware of this!
Authored by: bhines on Mar 23, '02 02:36:01PM

Just checked and my NetInfo is setuid even with the security patch. I don't think it's related.



[ Reply to This | # ]
Beware of this!
Authored by: Diggory on Mar 23, '02 02:52:55PM

Since the security update the exploit is no-longer possible - regardless of the state of SetUID



[ Reply to This | # ]