Bug 135475 - When adding user. It use same default group users, and create user's directory as 755
Summary: When adding user. It use same default group users, and create user's directo...
Status: RESOLVED WONTFIX
: 135500 (view as bug list)
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: unspecified
Hardware: PC SuSE Linux 10.0
: P5 - None : Critical
Target Milestone: ---
Assignee: Marcus Meissner
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-24 13:33 UTC by John Hansen
Modified: 2005-11-25 11:42 UTC (History)
1 user (show)

See Also:
Found By: System Test
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Hansen 2005-11-24 13:33:29 UTC
It's first time I use suse 10.0. before I used Mandrake and fedora.

I noticed in suse 10.0 when you create a user with Yast2. It does not create a unique group ID for each user automaticaly; which is done in Mandrake and fedora for security reason.

Instead it use a default group.

Also in suse 10.0, when a user is created the permission of the user directory (/home/user) is rwxr-xr-x and the umask is set to 022 for the user. By this policy every user got access right to each other home directory. 

This give a bad reputation of LINUX security.

In Mandrake and fedora; when you create a user. It create a unique user ID and group ID. And users directory (/home/usr ) permission is rwx------  and user umask is 077
Comment 1 John Hansen 2005-11-24 13:45:40 UTC
Using the default /etc/passwd scheme
Comment 2 Martin Lasarsch 2005-11-24 13:56:46 UTC
marcus: could you comment on that?
Comment 3 Marcus Meissner 2005-11-24 14:35:11 UTC
Linux is an Opensource operating system and so welcomes sharing of information.

Thats why by default everyone can *READ* others directories and files (except EMails).

If you need stricter permissions, you can adjust the default in /etc/login.defs (UMASK entry)

Point 2, putting users into seperate groups does not specifically help system security. While there is no easy way to change this default, you can of course 
override it manually when creating new users.
Comment 4 Thorsten Kukuk 2005-11-25 11:42:31 UTC
*** Bug 135500 has been marked as a duplicate of this bug. ***