extremely stupid question, but i need help please!!

graffxguy

2001-10-19 20:11:00

"Be sure you are already in /etc/sudoers via visudo"

sorry, i have no idea how to do that. i went into /etc/ and found sudoers. then i tried "visudo sudoers -s" and it just gives me usage: visudo [-s] [-v]

i just want to make sure i don't screw up my computer. i ran the package removal command up to the point of me entering my password, but i wanted to make sure i was doing it right cuz i didn't understand the visudo thing.
/Applications/Pkg-Remove-0.3/pkg-remove.command; exit
[localhost:~] jake% /Applications/Pkg-Remove-0.3/pkg-remove.command; exit

what exactly does this pkg-remove do? what files does it remove?

i also tried the rm -rf and it still give me a permission denied.
sorry! i do appreciate your patience!!

apex

2001-10-20 01:10:00

Originally posted by graffxguy:
"Be sure you are already in /etc/sudoers via visudo"

sorry, i have no idea how to do that. i went into /etc/ and found sudoers. then i tried "visudo sudoers -s" and it just gives me usage: visudo [-s] [-v]


You just type: visudo
(I don't believe this is necessary anyhow)

i just want to make sure i don't screw up my computer. i ran the package removal command up to the point of me entering my password, but i wanted to make sure i was doing it right cuz i didn't understand the visudo thing.
/Applications/Pkg-Remove-0.3/pkg-remove.command; exit
[localhost:~] jake% /Applications/Pkg-Remove-0.3/pkg-remove.command; exit

what exactly does this pkg-remove do? what files does it remove?


If you run pkg-remove in verbose and test mode it will show you all the files it *would* remove if you werent in test mode.

i also tried the rm -rf and it still give me a permission denied.
sorry! i do appreciate your patience!![/b]


You must be root when you use the rm command as the fiels are owned by root. ls -l <files> will tell you who owns the file and what the permissions are.
macosx.org has a good unix tutorial for beginners <A HREF="http://www.macosx.org/clitutorial.html" TARGET=_blank>http://www.macosx.org/clitutorial.html</A> .
Good luck [img]images/icons/wink.gif"%20border="0[/img]

[ October 19, 2001: Message edited by: apex ]

graffxguy

2001-10-20 07:23:00

ok, i installed mpg123 on my computer, but now i want to take it off, and it won't let me even though i'm logged in as a root user. i'm really new to unix, and when i type in rm mpg123, i get "override rw-r--r-- root/admin for mpg123?" and i type in yes. and then it says permission denied. how do i get rid of this file and also get rid of the resources dir that it put in my localhost dir with two lousy readme files in it! thanks so much for your help! i really appreciate it, and sorry for bugging you with amateur questions.
-jake

apex

2001-10-20 07:45:00

Use <A HREF="http://macosx.forked.net/ports/pkg-remove-0.3.pkg.tgz" TARGET=_blank>http://macosx.forked.net/ports/pkg-remove-0.3.pkg.tgz</A> . Or try rm -rf <file or directory>.