1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-discuss] Home directory permissions
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Home%20directory%20permissions&In-Reply-To=%3CCAHC-z7LjPgdEkOMxpNjU8sUOxRQP5ViU3mcHLO2M_saikX_3xQ%40mail.gmail.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="006062.html">
<LINK REL="Next" HREF="006065.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-discuss] Home directory permissions</H1>
<B>Jeff Robins</B>
<A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Home%20directory%20permissions&In-Reply-To=%3CCAHC-z7LjPgdEkOMxpNjU8sUOxRQP5ViU3mcHLO2M_saikX_3xQ%40mail.gmail.com%3E"
TITLE="[Mageia-discuss] Home directory permissions">jeffrobinssae at gmail.com
</A><BR>
<I>Mon Dec 12 04:35:03 CET 2011</I>
<P><UL>
<LI>Previous message: <A HREF="006062.html">[Mageia-discuss] Home directory permissions
</A></li>
<LI>Next message: <A HREF="006065.html">[Mageia-discuss] Home directory permissions
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6064">[ date ]</a>
<a href="thread.html#6064">[ thread ]</a>
<a href="subject.html#6064">[ subject ]</a>
<a href="author.html#6064">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Johnny,
Thank you. I was able to alter the file and run "msecpaerms -e".
I noticed that a Mandriva System had the same settings, except for an
account that I added a long time after install, versus during the install.
--Jeff
On Sun, Dec 11, 2011 at 6:44 PM, Johnny A. Solbu <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">cooker at solbu.net</A>> wrote:
><i> On Monday 12 December 2011 03:19, Jeff Robins wrote:
</I>><i> > Can I safely change the permissions to '700'?
</I>><i>
</I>><i> Sure, but in a minute or so msec may revert the changes.
</I>><i>
</I>><i> I would change it in /etc/security/msec/perms.conf (Perhaps
</I>><i> /etc/security/msec/perm.local can be used) and run msecperms afterwards.
</I>><i> ===
</I>><i> /home/* current.current
</I>><i> 700
</I>><i> ===
</I>><i> Then msec will from now on automatically enforce the permissions to what
</I>><i> you want.
</I>><i> (Note: The spaces between the tree fields are TABs in my file, and not
</I>><i> spaces. Also, "current.current" means that msec wont change the owner of
</I>><i> files and folders. In /home/ you really don't want msec to automatically
</I>><i> change ownership of files, or yourt users will be angry :-)= )
</I>><i>
</I>><i> To get a grasp of some of the currently forced entries and what you can
</I>><i> do, look in the various config files in /etc/security/msec/.
</I>><i> If you have the default security level, the *.standard are the files you
</I>><i> want to look into. (I think) "*.local" overrides the default values.
</I>><i>
</I>><i> I use this to enforce customized access restrictions on a couple of
</I>><i> programs, so the few users who have access to my gateway don't have access
</I>><i> to telnet and nmap unless they are members of a special group that I've
</I>><i> setup.
</I>><i>
</I>><i> --
</I>><i> Johnny A. Solbu
</I>><i> PGP key ID: 0xFA687324
</I>><i>
</I>-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-discuss/attachments/20111211/b42a4d0b/attachment.html>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="006062.html">[Mageia-discuss] Home directory permissions
</A></li>
<LI>Next message: <A HREF="006065.html">[Mageia-discuss] Home directory permissions
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6064">[ date ]</a>
<a href="thread.html#6064">[ thread ]</a>
<a href="subject.html#6064">[ subject ]</a>
<a href="author.html#6064">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-discuss">More information about the Mageia-discuss
mailing list</a><br>
</body></html>
|