user access on Debian
Hi again, having a few problems with user access on Debian. I created two accounts - one for myself and one for my girlfriend. The strange thing is - when she logs in - she can access my folder. I haven't encountered this before.
On Fedora 7 the folders are automatically locked to other users. Why can't I create the same conditions on Debian Etch? Maybe I am missing something really simple? bookie |
some distros create a new user AND a new group for each user.
Trad Unix defaulted to the same group eg 'user' for any non-priv user, unless otherwise specified. Try ls -l on the home dirs, and check the group ids in /etc/passwd |
Hi chrism01
Thanks for the prompt reply. I am in the middle of formating the partitions on the windows os on the same computer, so I will test your info as soon as the formating is finished - and get back to you with the result.
bookie |
Hi
In debian, with the default setup, home directories will have a 755 permission - meaning owner can do anything and any other user can read. If you don't like this, edit "/etc/adduser.conf" and look for where it says: DIR_MODE=0755 Change it to: DIR_MODE=0700 That doesn't change the home direcories of users already created. To do that, just use a chmod, like chmod 700 /home/username |
Hej till Guttorm
Tack så mycket för informationen.
MVH bookie PS Sorry, nearly forgot that this is an English forum. |
All times are GMT -5. The time now is 11:36 AM. |