Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Standard user can delete invisible files?



Title: RE: Standard user can delete invisible files?

While I don't have any constructive hints on why those dirs (/usr and /etc) are nonexistent, I do know that execcing that command shouldn't have resulted in much other that an error.

What's ARD say?  Did it report that the command ran successfully?

Either way, though, /usr is a LONG way from anything containing the string "Desktop."

--jim


-----Original Message-----
From: remote-desktop-bounces+jimmy=email@hidden on behalf of Kim Russell
Sent: Mon 5/15/2006 6:24 PM
To: email@hidden
Subject: Standard user can delete invisible files?

I ran a UNIX command on a couple of test machines to delete a folder 
from the user's desktop. The command went a little something like this:

rmdir Desktop/name_of_folder

and it was run as the current logged in user. The "current logged in 
user" as stated is a standard user and does not have admin rights of 
any kind. I ran the script and the result from ARD was that it failed 
to perform the command. When I next tried to connect to the two 
computers, I find that not only is access denied, but the usr and etc 
folders (to name a few) are gone. After writing this, I'm thinking 
that the command should have said:

rmdir ~/Desktop/name_of_folder

But what still puzzles me is even if the command was wrong or the 
folder not found, how does running a rmdir as a non-admin user able 
to freely delete folders such as usr? Lucky for me, these were test 
machines. I just wanted to see if I could run a UNIX command on more 
than one computer with user specific qualities.

Thanks,

Kim
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Remote-desktop mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/remote-desktop/email@hidden

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Remote-desktop mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/remote-desktop/email@hidden

This email sent to email@hidden

References: 
 >Standard user can delete invisible files? (From: Kim Russell <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.