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

Annotation of /rpms/smeserver-lazy_admin_tools/contribs10/smeserver-lazy_admin_tools-1.1-patch1.patch

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


Revision 1.1 - (hide annotations) (download)
Tue Oct 13 09:42:04 2020 UTC (3 years, 7 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-lazy_admin_tools-1_1-5_el7_sme, smeserver-lazy_admin_tools-1_1-6_el7_sme, HEAD
Initial import

1 brianr 1.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