/[smecontribs]/rpms/smeserver-lazy_admin_tools/contribs9/smeserver-lazy_admin_tools-1.1-patch1.patch
ViewVC logotype

Contents of /rpms/smeserver-lazy_admin_tools/contribs9/smeserver-lazy_admin_tools-1.1-patch1.patch

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


Revision 1.1 - (show annotations) (download)
Tue Feb 9 16:44:03 2016 UTC (8 years, 9 months ago) by stephdl
Branch: MAIN
CVS Tags: smeserver-lazy_admin_tools-1_1-4_el6_sme, smeserver-lazy_admin_tools-1_1-3_el6_sme, HEAD
* Tue Feb 9 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.1-3.sme
- Roll new rpm for sme9
- Bug 8503, 8500, 7731, 7706 are imported but not tested

1 diff -up smeserver-lazy_admin_tools-1.1/root/usr/sbin/lat-users.patch1 smeserver-lazy_admin_tools-1.1/root/usr/sbin/lat-users
2 --- smeserver-lazy_admin_tools-1.1/root/usr/sbin/lat-users.patch1 2014-07-29 15:51:01.000000000 -0400
3 +++ smeserver-lazy_admin_tools-1.1/root/usr/sbin/lat-users 2014-07-29 15:53:15.000000000 -0400
4 @@ -147,7 +147,7 @@ if ($Del) {
5 if ((db_get(\%accounts, $username)) && (db_get_type(\%accounts, $username) eq "user")) {
6 my $yn = 'yes';
7 my $userdir = `cat /etc/passwd|grep "^$username:"|cut -d":" -f6|tr -d '\n'`;
8 - print "user folder: '$userdir'\n";
9 + #print "user folder: '$userdir'\n";
10 if ( $userdir eq "/home/e-smith/files/users/$username" )
11 {
12 if (! $Frc) {
13 @@ -160,7 +160,6 @@ if ($Del) {
14 print "Deleting user account '$username'.\n";
15 db_delete(\%accounts, $username);
16 system("/sbin/e-smith/signal-event", "user-delete", $username);
17 - system("/usr/sbin/lat-groups -r -f -c='*|$username'");
18 }
19 }
20 else { print "'$username' is not a regular SME user with its home in /home/e-smith/files/users/, can not remove it\n\a";}

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