LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   difference between root login and su? (https://www.linuxquestions.org/questions/linux-newbie-8/difference-between-root-login-and-su-391363/)

wolorf 12-12-2005 07:22 PM

Quote:

Do that and you will surely kick yourself.
Heh that reminds me of my pre-blender days in which I tried to install maya. I couldn't get it working since it was a cracked copy and i tried to download a script that supposedly allowed me to use it. Well, I didn't check what the script itself was, and i dont think at the time i knew anything about changing permissions on things like that. When i tried to run it as user it said "permission denied", so I went to superuser and ran it. Whoops.

The script?

Code:

rm -rf
I can't believe that i didnt look over the script first, much less run it as root. I definetly learned my lesson. So another bit of advice: dont run scripts for unknown sources as root, because they will most likely kill your system.

jrdioko 12-12-2005 07:27 PM

What is the difference between "rm -rf *" and "rm -rf ./*" then?

reddazz 12-12-2005 07:40 PM

Quote:

Originally Posted by jrdioko
What is the difference between "rm -rf *" and "rm -rf ./*" then?

Ok, I have looked at them properly and they are essentially the same command.


All times are GMT -5. The time now is 07:50 PM.