Other *NIXThis forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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
Asking people for FREE help then bitching about what they write is NOT the way to get help.
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.
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.
Actually the OP posted in Other *NIX forum and since there is a UNIX base I think the Q was proper.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.