|
Re: Shot my foot off with chmod (the smoking gun): msg#00353os.netbsd.help
On Tue, 29 Oct 2002, Video Mike wrote: > In the name of Internet security, I used chmod to keep etc, home, and other > directories and files from being seen from the web. I soon realized that I How did you do this? (Recursively a-r?) > login: mike > passwd: ********* > No home directory /home/cdt! So what is the following? ls -ld / ls -ld /home ls -ld /home/cdt > # su mike > su: /bin/csh: Permission denied ls -ld /bin ls -ld /bin/csh You may be able to fix some of your problems with mtree(8). Look at the -u option. Look at /etc/mtree/NetBSD.dist and /etc/mtree/special. This should help you get started with the cleanup. Good luck, Jeremy C. Reed http://www.reedmedia.net/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Shot my foot off with chmod (the smoking gun): 00353, Video Mike |
|---|---|
| Next by Date: | Re: Shot my foot off with chmod (the smoking gun): 00353, Keith Mastin |
| Previous by Thread: | Shot my foot off with chmod (the smoking gun)i: 00353, Video Mike |
| Next by Thread: | Re: Shot my foot off with chmod (the smoking gun): 00353, Keith Mastin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |