Sudo
Actually my question regards UNIX: sudo in MACOSX Terminal.
I want to deactivate the remote desktop management chmod ug-s /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAgent but Terminal answers: Operation not permitted Is there anybody who can help me?... Thanks Melensa |
You ask about sudo but aren't using sudo that I see.
What happens if you type: sudo chmod ug-s /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAgent |
Why do you ask me what happens if I add sudo... do YOU know what happens or do you mean that I should try even it could be a terrible mistake? :-)
I know NOTHING in this field but I need to use some commands to eliminate my vulnerability to intruders. I need to tell the computer to eliminate the desktop management function. You write: Humility is the refuge of the incompetent. ~Nero Wolfe (Rex Stout character) I don't need any refuge, not even humility could save me from my ignorance: I am REALLY an incompetent in this field but I need to use these commands. Thank you for your answer Melensa |
I am sorry but this is linuxquestions and not macosxquestions. You should ask people, who work on you system, not people working on Linux, which is very very different.
P.S. Mac OS X have just UNIX base, most of software do not come neither from GNU nor UNIX. I have iMac G5 and it is pain in ass, cause it is different. |
Quote:
The humility line is a quote in my signature and not something directed at you personally. If you'd bothered to look at it you'd have known that given that I attribute it to Nero Wolfe. I ask about what happens when you type the sudo line because I don't have a system like yours to test it on. I do not knowingly try to sabotage people asking for assistance. The sudo command itself only executes other commands as root. The chmod command itself changes permissions on files. Since you asked about doing the chmod and mentioned sudo I asked you to try doing the chmod with sudo. You really didn't give enough information for anyone to help you but I made the mistake of trying anyway. I won't bother to try any further. :mad: |
Quote:
The OP's response however was another matter. It often amazes me how people looking for free help somehow think they have the right to demand things. Apparently the phrase "beggars can't be choosers" is lost on the OP. :rolleyes: |
If you want to change permissions to file you do not won, you need to do it from account, which do own this file or from root account. Easiest and fastest way is obviously using sudo. That is why, you were asked 'what happens if you use sudo'. Just add sudo in front and it will change permissions. sudo do not anything to be honest - it just call your command as root, nothing more.
|
Hi Melensa,
To fix the "Operation not permitted" problem, sudo is the solution, i.e. run: sudo chmod ug-s /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAgent This should not be necessary, though. You can simply disable this in System Preferences => Sharing => Remote Management. One possible problem with changing the permissions, is that a future update may change these again without you knowing. Good luck! |
All times are GMT -5. The time now is 03:11 AM. |