chmod ug-s /System/Library/CoreServices/RemoteManagement/ARDAgent.app/.... NOT PERMITTED


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers chmod ug-s /System/Library/CoreServices/RemoteManagement/ARDAgent.app/.... NOT PERMITTED
# 1  
Old 04-04-2012
chmod ug-s /System/Library/CoreServices/RemoteManagement/ARDAgent.app/.... NOT PERMITTED

After much reflecting I decided that I don't want to have a remote managemente in my computer and I digited in Terminal from the Administrator Account:
chmod ug-s /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAgent
But the answer is: NOT PERMITTED Why? Is it not strange?! terminal should allow the administrator to disable setuid or setgid, or not?...

Last edited by methyl; 04-04-2012 at 06:11 PM.. Reason: refomat post for readability
# 2  
Old 04-04-2012
Please post:
Code:
# Which user am I?
id
# Permissions of the file (or non-file?)
ls -lad  /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAgent
# Permissions of the parent directory
ls -lad  /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS

To my mind if you don't want to run a service, don't start it on your computer.

In earlier posts we learnt that the O/P has been reading about "hardening" on an unspecified computer running MACOS X from a US Government website.

Last edited by methyl; 04-04-2012 at 05:28 PM..
# 3  
Old 04-04-2012
I was that one!

I was that one! My mouse moves by itself, I have to do something. Then Corona told me I have to be careful and understand what I am doing. So I found the right file. I didn't put that service in my computer, it is a Mac Book Pro you buy it so. thank you for your answer!

---------- Post updated at 10:53 PM ---------- Previous update was at 10:33 PM ----------

How can I tell thank you? Is it enough to say 'thank you' or do you need a procedure?
This User Gave Thanks to Vera For This Post:
# 4  
Old 04-04-2012
Just click the "Thanks" icon at the bottom of the post if wish to thank a poster for a post. It is not necessary to write an additional post.
You can also use the "Thanks" icon to acknowledge that you have read a post because this lets the poster know that you saw the post.
# 5  
Old 04-04-2012
I believe that you are the first poster on this site to attend to security on the Mac Book Pro. Imho It is an excellent computer with a stable unix O/S but a tendency to overheat and burn your data due to styling giving way to cooling.
Don't forget to buy a backup device (or the online service from Apple) and make sure that you have a rock solid backup.

Hmm If you are messing with system permissions a decent backup is so important.
This User Gave Thanks to methyl For This Post:
# 6  
Old 04-04-2012
@Vera
We are enjoying your posts and their analytical content. Imho You have a great future in unix Systems Administration.
This User Gave Thanks to methyl For This Post:
# 7  
Old 04-05-2012
Back ups

You are definitely right! I will back up my files. I just found out what a wonderful world is hiding behind the daily, normal use of a computer. I love these commands on Terminal. I have not jet begun with the security program, at first I will buy a hard drive and make the back up. I will tell you about the progress, how my Mac will react to all these changes and so on. After I disabled Bonjour through sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist I noticed an unusual overheating and some strange movement in the 'console'. Therefore I am planing to re-enable it and instead to disable Disable Setuid and Setgid.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Wuhan Coronavirus Status App for China - Rapid Prototype using MQTT and the IoT OnOff IOS App

With a little bit of work, was able to build a nice "Wuhan Coronavirus Status" app using MQTT and the IoT-OnOff app. More on this technique here: ESP32 (ESP-WROOM-32) as an MQTT Client Subscribed to Linux Server Load Average Messages The result turned out nice, I think. I like the look and... (10 Replies)
Discussion started by: Neo
10 Replies

2. Programming

How to make use others' C library installed not for the system-wide (Ubuntu/Linux)?

I have downloaded and installed a library called htslib for specific bioinformatic use but not for the system (I'm using Ubuntu 18.04). Only parts of the library is needed for my exercise to parse data in a type called VCF format (basically tab-delimited file but contains many information in... (14 Replies)
Discussion started by: yifangt
14 Replies

3. UNIX for Beginners Questions & Answers

Mysql installation - Operation not permitted

Hello, Since over one week, I have been consistently searching for a solution to my mysql installation errors. I surfed many sites on google to get rid of the issue. Now google gives me all the same results, I tested many of those solutions provided by... Now I am pulling hair I am under... (12 Replies)
Discussion started by: baris35
12 Replies

4. Solaris

Global zone has an older version of package: pkg://Solaris/system/library

I try to install php-56 in a zone, but I have the following problem: pkg install php-56 Creating Plan (Running solver): \ pkg install: No solution was found to satisfy constraints maintained incorporations: None Creation Plan: dependency error (s) in proposed packages: Not... (0 Replies)
Discussion started by: ymk369
0 Replies

5. UNIX for Dummies Questions & Answers

What Makes an App the System Default?

Hi! I'm not sure how, (or if), Apple updates stuff in the standard unix installation of OS X, but whenever I have occasion to check a version number of something in my standard install, it is outdated. Normally, I will then install the newer version via ports, which usually becomes the default.... (3 Replies)
Discussion started by: sudon't
3 Replies

6. UNIX for Dummies Questions & Answers

chown: Operation not permitted as root

Hi Expert, I am trying to change ownership of one file to another user that is exist in the system but getting operation not permitted error what could be the correct way? # ls -lh .Xauthority_ori -rw------- 1 maxim atlas 2.8K Jul 27 17:18 .Xauthority_ori # id -a uid=0(root)... (8 Replies)
Discussion started by: regmaster
8 Replies

7. UNIX and Linux Applications

What is the difference between chmod in solaris and chmod in Linux?

i think it is the same in both... Iam i right? (1 Reply)
Discussion started by: sumaiya
1 Replies

8. AIX

AIX5.3--vmount: Operation not permitted

Hi all, iam unable to mount exported directory hari on AIX 5.3, which was in RedHat Linux As4. Linux-server AIX -client I am facing errors of bash-3.00# mount -n linuxas4 /hari /hari mount: 1831-008 giving up on: linuxas4:/hari vmount: Operation not permitted. Pl any body... (1 Reply)
Discussion started by: haribabu
1 Replies

9. Shell Programming and Scripting

Cannot utime: Operation not permitted

Hi - I have a script (.ksh) which has been transferred from one Linux box to another. Basically it untars a file a deploys the code to the relevent directories. It is failing with ' Cannot utime: Operation not permitted' When I run the command by hand it *is* doing the untar to the directories... (1 Reply)
Discussion started by: ajcannon
1 Replies

10. UNIX for Dummies Questions & Answers

Loading App as the System starts

Hi Folks! I am a Mac OS X user, and have written an Applescript application that I would like it to be run before the user logs in. I have tryed leaving the Mac on the "Login Screen", that screen just before you log in typing name and password, and logging using ssh from another Mac on the... (0 Replies)
Discussion started by: fundidor
0 Replies
Login or Register to Ask a Question