1 |
diff -up smeserver-lazy_admin_tools-1.0/root/usr/man/man8/lat-shadow.8.gz.patch6 smeserver-lazy_admin_tools-1.0/root/usr/man/man8/lat-shadow.8.gz |
2 |
--- smeserver-lazy_admin_tools-1.0/root/usr/man/man8/lat-shadow.8.gz.patch6 2013-06-25 17:48:25.000000000 -0400 |
3 |
+++ smeserver-lazy_admin_tools-1.0/root/usr/man/man8/lat-shadow.8.gz 2013-06-25 17:52:24.000000000 -0400 |
4 |
@@ -0,0 +1,203 @@ |
5 |
+.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32 |
6 |
+.\" |
7 |
+.\" Standard preamble: |
8 |
+.\" ======================================================================== |
9 |
+.de Sh \" Subsection heading |
10 |
+.br |
11 |
+.if t .Sp |
12 |
+.ne 5 |
13 |
+.PP |
14 |
+\fB\\$1\fR |
15 |
+.PP |
16 |
+.. |
17 |
+.de Sp \" Vertical space (when we can't use .PP) |
18 |
+.if t .sp .5v |
19 |
+.if n .sp |
20 |
+.. |
21 |
+.de Vb \" Begin verbatim text |
22 |
+.ft CW |
23 |
+.nf |
24 |
+.ne \\$1 |
25 |
+.. |
26 |
+.de Ve \" End verbatim text |
27 |
+.ft R |
28 |
+.fi |
29 |
+.. |
30 |
+.\" Set up some character translations and predefined strings. \*(-- will |
31 |
+.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left |
32 |
+.\" double quote, and \*(R" will give a right double quote. | will give a |
33 |
+.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to |
34 |
+.\" do unbreakable dashes and therefore won't be available. \*(C` and \*(C' |
35 |
+.\" expand to `' in nroff, nothing in troff, for use with C<>. |
36 |
+.tr \(*W-|\(bv\*(Tr |
37 |
+.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' |
38 |
+.ie n \{\ |
39 |
+. ds -- \(*W- |
40 |
+. ds PI pi |
41 |
+. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch |
42 |
+. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch |
43 |
+. ds L" "" |
44 |
+. ds R" "" |
45 |
+. ds C` "" |
46 |
+. ds C' "" |
47 |
+'br\} |
48 |
+.el\{\ |
49 |
+. ds -- \|\(em\| |
50 |
+. ds PI \(*p |
51 |
+. ds L" `` |
52 |
+. ds R" '' |
53 |
+'br\} |
54 |
+.\" |
55 |
+.\" If the F register is turned on, we'll generate index entries on stderr for |
56 |
+.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index |
57 |
+.\" entries marked with X<> in POD. Of course, you'll have to process the |
58 |
+.\" output yourself in some meaningful fashion. |
59 |
+.if \nF \{\ |
60 |
+. de IX |
61 |
+. tm Index:\\$1\t\\n%\t"\\$2" |
62 |
+.. |
63 |
+. nr % 0 |
64 |
+. rr F |
65 |
+.\} |
66 |
+.\" |
67 |
+.\" For nroff, turn off justification. Always turn off hyphenation; it makes |
68 |
+.\" way too many mistakes in technical documents. |
69 |
+.hy 0 |
70 |
+.if n .na |
71 |
+.\" |
72 |
+.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). |
73 |
+.\" Fear. Run. Save yourself. No user-serviceable parts. |
74 |
+. \" fudge factors for nroff and troff |
75 |
+.if n \{\ |
76 |
+. ds #H 0 |
77 |
+. ds #V .8m |
78 |
+. ds #F .3m |
79 |
+. ds #[ \f1 |
80 |
+. ds #] \fP |
81 |
+.\} |
82 |
+.if t \{\ |
83 |
+. ds #H ((1u-(\\\\n(.fu%2u))*.13m) |
84 |
+. ds #V .6m |
85 |
+. ds #F 0 |
86 |
+. ds #[ \& |
87 |
+. ds #] \& |
88 |
+.\} |
89 |
+. \" simple accents for nroff and troff |
90 |
+.if n \{\ |
91 |
+. ds ' \& |
92 |
+. ds ` \& |
93 |
+. ds ^ \& |
94 |
+. ds , \& |
95 |
+. ds ~ ~ |
96 |
+. ds / |
97 |
+.\} |
98 |
+.if t \{\ |
99 |
+. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" |
100 |
+. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' |
101 |
+. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' |
102 |
+. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' |
103 |
+. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' |
104 |
+. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' |
105 |
+.\} |
106 |
+. \" troff and (daisy-wheel) nroff accents |
107 |
+.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' |
108 |
+.ds 8 \h'\*(#H'\(*b\h'-\*(#H' |
109 |
+.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] |
110 |
+.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' |
111 |
+.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' |
112 |
+.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] |
113 |
+.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] |
114 |
+.ds ae a\h'-(\w'a'u*4/10)'e |
115 |
+.ds Ae A\h'-(\w'A'u*4/10)'E |
116 |
+. \" corrections for vroff |
117 |
+.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' |
118 |
+.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' |
119 |
+. \" for low resolution devices (crt and lpr) |
120 |
+.if \n(.H>23 .if \n(.V>19 \ |
121 |
+\{\ |
122 |
+. ds : e |
123 |
+. ds 8 ss |
124 |
+. ds o a |
125 |
+. ds d- d\h'-1'\(ga |
126 |
+. ds D- D\h'-1'\(hy |
127 |
+. ds th \o'bp' |
128 |
+. ds Th \o'LP' |
129 |
+. ds ae ae |
130 |
+. ds Ae AE |
131 |
+.\} |
132 |
+.rm #[ #] #H #V #F C |
133 |
+.\" ======================================================================== |
134 |
+.\" |
135 |
+.IX Title "LAT-SHADOW 8" |
136 |
+.TH LAT-SHADOW 8 "2013-06-25" "perl v5.8.8" "User Contributed Perl Documentation" |
137 |
+.SH "NAME" |
138 |
+\&\fBlat\-shadow\fR \- The lazy administrator\(aqs tool to transfer crypted password from a box to another |
139 |
+.SH "DESCRIPTION" |
140 |
+.IX Header "DESCRIPTION" |
141 |
+Transfer an user encrypted password fom one \s-1SME\s0 box shadow file to another box shadow file on \s-1SME\s0 servers (7.x/8.x). |
142 |
+This tool is functionally equivalent some python script that allow this kind of manipulation. This could be used when the adminsitrator do not know the plain apssword of its users and want to migrate a \s-1SME\s0 box. |
143 |
+It can be run from the command line or called from an other script. |
144 |
+It allows you, for example, to tranfert all your users password after creating them with lat-users and dump files obtains from the older box. |
145 |
+.PP |
146 |
+See \fI/usr/doc/lazy\-admin\-tools/example.shadow\fR for the format of the input file. |
147 |
+.SH "SYNOPSIS" |
148 |
+.IX Header "SYNOPSIS" |
149 |
+\&\fBlat-shadow\fR \-a \-c \*(L"username | encryptedPassword\*(R" |
150 |
+.PP |
151 |
+\&\fBlat-shadow\fR \-a [\-f] \-i /path/to/password.list |
152 |
+.SH "OPTIONS" |
153 |
+.IX Header "OPTIONS" |
154 |
+The following options are supported: |
155 |
+.IP "\fB\-a\fR, \fB\-\-add\fR" 4 |
156 |
+.IX Item "-a, --add" |
157 |
+Add the encrypted passwords for user account to the server. |
158 |
+.ie n .IP "\fB\-c ""Arguments""\fR, \fB\-\-command\-line=""Arguments""\fR" 4 |
159 |
+.el .IP "\fB\-c ``Arguments''\fR, \fB\-\-command\-line=``Arguments''\fR" 4 |
160 |
+.IX Item "-c Arguments, --command-line=Arguments" |
161 |
+Take arguments from the command line. |
162 |
+See the 'Arguments' section below for the various arguments that are accepted. |
163 |
+.IP "\fB\-f\fR, \fB\-\-force\fR" 4 |
164 |
+.IX Item "-f, --force" |
165 |
+Force update if password is not empty in the shadow file on the \s-1SME\s0 box |
166 |
+.IP "\fB\-h\fR, \fB\-\-help\fR" 4 |
167 |
+.IX Item "-h, --help" |
168 |
+Extended help for this tool |
169 |
+.IP "\fB\-i=FILE\fR, \fB\-\-input\-file=FILE\fR" 4 |
170 |
+.IX Item "-i=FILE, --input-file=FILE" |
171 |
+Use the information from \s-1FILE\s0 to create or delete the user accounts. |
172 |
+See \fI/usr/doc/lazy\-admin\-tools\fR for an example of an input file. |
173 |
+.Sh "Arguments:" |
174 |
+.IX Subsection "Arguments:" |
175 |
+.Vb 5 |
176 |
+\& user* - Must contain only lower-case letters, numbers, |
177 |
+\& hyphens, periods and underscores, and should start |
178 |
+\& with a lower-case letter. Wildcards (* and ?) can |
179 |
+\& only be used to delete users. |
180 |
+\& password* - Encrypted Password for the user from the /etc/shadow file |
181 |
+.Ve |
182 |
+.PP |
183 |
+.Vb 1 |
184 |
+\& * mandatory field |
185 |
+.Ve |
186 |
+.SH "EXAMPLES" |
187 |
+.IX Header "EXAMPLES" |
188 |
+\&\fBlat-shadow \-a \-c \*(L"harry | fdasf57ertg73sdf\*(R"\fR |
189 |
+.PP |
190 |
+Update empty password field in /etc/shadow for user 'harry' from the command line, with password entered. |
191 |
+.PP |
192 |
+\&\fBlat-shadow \-a \-i /root/shadow.list\fR |
193 |
+.PP |
194 |
+Uses the arguments specified in \fI/root/shadow.list\fR to update user shadow encrypted password. |
195 |
+Please refer to \fI/usr/doc/lazy\-admin\-tools/example.shadow\fR for an example of an input file. |
196 |
+.SH "SEE ALSO" |
197 |
+.IX Header "SEE ALSO" |
198 |
+\&\fIlat\-group\fR\|(8), \fIlat\-pseudonyms\fR\|(8), \fIlat\-ibays\fR\|(8), \fIlat\-quota\fR\|(8), \fIlat\-domains\fR\|(8), \fIlat\-hosts\fR\|(8), \fIlat\-procmail\fR\|(8), \fIlat\-pptp\fR\|(8), \fIlat\-dump\fR\|(8) |
199 |
+.SH "VERSION" |
200 |
+.IX Header "VERSION" |
201 |
+Version 0.9.0 (2004\-09\-08). The latest version is hosted at \fBhttp://www.contribs.org/contribs/mblotwijk/\fR |
202 |
+.SH "COPYRIGHT" |
203 |
+.IX Header "COPYRIGHT" |
204 |
+(c)2003\-2004, Altiplano bvba (\fBhttp://www.altiplano.be\fR). Released under the terms of the \s-1GNU\s0 license. |
205 |
+.SH "BUGS" |
206 |
+.IX Header "BUGS" |
207 |
+Please report bugs to <Bugs@Altiplano.Be> |
208 |
diff -up smeserver-lazy_admin_tools-1.0/root/usr/man/man8/lat-users.8.gz.patch6 smeserver-lazy_admin_tools-1.0/root/usr/man/man8/lat-users.8.gz |
209 |
Les fichiers binaires smeserver-lazy_admin_tools-1.0/root/usr/man/man8/lat-users.8.gz.patch6 et smeserver-lazy_admin_tools-1.0/root/usr/man/man8/lat-users.8.gz sont différents. |
210 |
diff -up smeserver-lazy_admin_tools-1.0/root/usr/sbin/lat-procmail.patch6 smeserver-lazy_admin_tools-1.0/root/usr/sbin/lat-procmail |
211 |
--- smeserver-lazy_admin_tools-1.0/root/usr/sbin/lat-procmail.patch6 2013-06-25 17:44:02.000000000 -0400 |
212 |
+++ smeserver-lazy_admin_tools-1.0/root/usr/sbin/lat-procmail 2013-06-25 17:46:08.000000000 -0400 |
213 |
@@ -30,7 +30,8 @@ if ( $Hlp ) { &PrintPod(9); exit; } |
214 |
|
215 |
# Check for e-smith-user-panel |
216 |
my $UPanel=`rpm -qa | grep -c "smeserver-userpanel"`; |
217 |
-if ( $UPanel < 1 ) { |
218 |
+my $MSorting=`rpm -qa | grep -c "smeserver-mailsorting"`; |
219 |
+if ( $UPanel < 1 || $MSorting < 1) { |
220 |
print "\nThis tool requires the smeserver-userpanel and smeserver-mailsorting contribution.\n"; |
221 |
print "Please download them with yum from smecontribs repo and configure them first.\n\n\a"; |
222 |
exit; |