Timeline for Default configuration I need to change?
Current License: CC BY-SA 2.5
16 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 7, 2011 at 16:11 | history | edited | Michael Mrozek | CC BY-SA 2.5 |
added 16 characters in body; edited title
|
| Mar 7, 2011 at 15:51 | answer | added | simon | timeline score: 0 | |
| Mar 3, 2011 at 17:48 | comment | added | tshepang |
@Arr I normally use netinst, and I was never able to even view inside of /root with ls.
|
|
| Mar 3, 2011 at 15:43 | comment | added | Arrowmaster | @Tshepang: There seems to be a difference depending on how you install Debian. When I used the Debian Squeeze NetInst while it was in Beta my /root is 755 but my pbuilder chroots have their /root as 700. | |
| Mar 1, 2011 at 7:32 | comment | added | tshepang | @acid Oh, so one can go inside /root directory even though they don't have permissions to read the directory? | |
| Mar 1, 2011 at 6:23 | comment | added | user4069 | @Tshepang: Step 1: Download debian or ubuntu Step 2: Install it (perhaps on a VM) Step 3: look at the permissions for /root. Step 4: Wonder why you went through all this trouble when it has nothing to do with the question Step 5: Realize you dont have anything else to the thread ;) | |
| Mar 1, 2011 at 5:17 | comment | added | tshepang |
@Gilles Maybe I'm lost regarding these permissions thing, but stat -c'%a %A' /root/ gives me 700 drwx------. I don't remember ever being able to go into "/root" directory as non-root.
|
|
| Feb 28, 2011 at 22:44 | comment | added | user4069 | Guys, whatever if it does or not, the question is still the same. Its just an example. What else should i change? I change www-data cause sites need mysql which require useraccounts which can modify their site data. Which is why i limit what can read the www folders. What else can i do? Maybe theres a folder containing mail information i like to limit? maybe there are other things? | |
| Feb 28, 2011 at 22:38 | comment | added | Gilles 'SO- stop being evil' |
@Tshepang: /root has always been 755 on Debian and Ubuntu, as far as I remember. My unreliable memory goes back to potato, and I can verify this for machines where the first install was etch, lenny, warty, hardy or lucid.
|
|
| Feb 28, 2011 at 21:58 | comment | added | BillThor | Always set the permission on files with passwords to 600 or 400. The loosest permission I would allow is 640 or 440 if users in a specific group need access. I have an ssl-certs group where this would apply. | |
| Feb 28, 2011 at 14:40 | comment | added | tshepang | @acid You sure? AFAIR Debian has never done anything like that (from an oft-unreliable memory), or at least as far as I started using it ~decade ago. Are you sure something didn't get screwed during daily usage? Was this a normal install? What exact OS are you using? | |
| Feb 28, 2011 at 10:02 | comment | added | Keith | Well, I don't use those. ;-) | |
| Feb 28, 2011 at 8:38 | comment | added | user4069 | @Keith: Really? Ubuntu 8.04 and Debian 6 both have root as readable to others. | |
| Feb 28, 2011 at 8:23 | history | tweeted | twitter.com/#!/StackUnix/status/42137810261643264 | ||
| Feb 28, 2011 at 5:58 | comment | added | Keith | Please specify the distro you installed. None of the ones I've used set /root to world readable. | |
| Feb 28, 2011 at 5:11 | history | asked | user4069 | CC BY-SA 2.5 |