/[smecontribs]/rpms/smeserver-lazy_admin_tools/contribs8/smeserver-lazy_admin_tools-1.0-patch2.patch
ViewVC logotype

Contents of /rpms/smeserver-lazy_admin_tools/contribs8/smeserver-lazy_admin_tools-1.0-patch2.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Mon Jul 28 19:19:20 2014 UTC (9 years, 10 months ago) by unnilennium
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
* Mon Jul 28 2014 JP PIALASSE tests@pialasse.com  1.1.-2.sme
- fix user not being deleted [SME: 8500]
- fix shadow activating user with blank password [SME: 7731]
- NFR added pseudonyms with @ [SME: 7706]
- note: lat-restore now do lat-pseudonyms later after lat-domains for pseudonyms with @ verification.

1 diff -up smeserver-lazy_admin_tools-1.0/root/usr/doc/lazy-admin-tools/example.shadow.patch2 smeserver-lazy_admin_tools-1.0/root/usr/doc/lazy-admin-tools/example.shadow
2 --- smeserver-lazy_admin_tools-1.0/root/usr/doc/lazy-admin-tools/example.shadow.patch2 2013-02-02 20:22:24.000000000 -0500
3 +++ smeserver-lazy_admin_tools-1.0/root/usr/doc/lazy-admin-tools/example.shadow 2013-02-02 20:26:03.000000000 -0500
4 @@ -8,5 +8,3 @@
5 # User@ |EncPasswd@ |
6 #-------------------,
7 nathalie|gsdt42r5tdsf
8 -delete_me*
9 -delet?_me2
10 diff -up smeserver-lazy_admin_tools-1.0/root/usr/sbin/lat-shadow.patch2 smeserver-lazy_admin_tools-1.0/root/usr/sbin/lat-shadow
11 --- smeserver-lazy_admin_tools-1.0/root/usr/sbin/lat-shadow.patch2 2013-02-02 20:22:24.000000000 -0500
12 +++ smeserver-lazy_admin_tools-1.0/root/usr/sbin/lat-shadow 2013-02-02 20:31:21.000000000 -0500
13 @@ -210,49 +210,20 @@ See F</usr/doc/lazy-admin-tools> for an
14 hyphens, periods and underscores, and should start
15 with a lower-case letter. Wildcards (* and ?) can
16 only be used to delete users.
17 - first* - First name
18 - last* - Last name
19 - password - Password for the user (in clear-text!)
20 - department - Department
21 - company - Company
22 - street - Street name and number
23 - city - Zip & City
24 - tel - Telephone number
25 - forward - E-mail delivery: 'local', 'forward' or 'both'
26 - email - Forwarding e-mail adres
27 - uid - User ID. If omitted, a suitable uid will be generated.
28 - group(s) - Group name(s) to which the user should be added. If the
29 - group doesn't exist, it will be created.
30 + password* - Encrypted Password for the user from the /etc/shadow file
31
32 * mandatory field
33
34 =head1 EXAMPLES
35
36 -B<lat-users -a -c "harry | Harry | Potter | Quidditch">
37 +B<lat-shadow -a -c "harry | fdasf57ertg73sdf">
38
39 -Creates user 'harry' from the command line, with password 'Quidditch'.
40 +Update empty password field in /etc/shadow for user 'harry' from the command line, with password entered.
41
42 -B<lat-users -a -i /root/users.list>
43 +B<lat-shadow -a -i /root/shadow.list>
44
45 -Uses the arguments specified in F</root/users.list> to create user accounts.
46 -Please refer to F</usr/doc/lazy-admin-tools/example.users> for an example of an input file.
47 -
48 -B<lat-users -d -f -c "user*">
49 -
50 -Deletes all user accounts that start with 'user'. All users and their files will be deleted without prompting (-f).
51 -
52 -B<lat-users -a -p -i /root/users.list>
53 -
54 -Creates user accounts as defined in F</root/users.list> and generates a random password for each user.
55 -The names and passwords are written to F<./passwords.new>.
56 -
57 -B<lat-users -a -c "ron | Ron | Weasley ||||||||| 6005">
58 -
59 -Creates user 'ron' with user ID 6005. All other fields (company, departments, etc.) are left empty.
60 -
61 -B<lat-users -a -c "ron | Ron | Weasley |||||||||| quiddich | dada ">
62 -
63 -Creates user 'ron' and assigns him to groups quiddich and dada. If any of these groups doesn't exist, it will be created.
64 +Uses the arguments specified in F</root/shadow.list> to update user shadow encrypted password.
65 +Please refer to F</usr/doc/lazy-admin-tools/example.shadow> for an example of an input file.
66
67 =head1 SEE ALSO
68

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed