Accepting request 776277 from home:kstreitova:branches:Base:System

- change login shell for at user from /bin/bash to /bin/false as it
  shouldn't need a valid login shell

OBS-URL: https://build.opensuse.org/request/show/776277
OBS-URL: https://build.opensuse.org/package/show/Base:System/at?expand=0&rev=112
This commit is contained in:
Kristyna Streitova 2020-02-20 12:13:13 +00:00 committed by Git OBS Bridge
parent 7366ac5935
commit e78c5af7cf
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Feb 19 10:54:34 UTC 2020 - Kristyna Streitova <kstreitova@suse.com>
- change login shell for at user from /bin/bash to /bin/false as it
shouldn't need a valid login shell
-------------------------------------------------------------------
Thu Oct 17 13:48:04 UTC 2019 - Richard Brown <rbrown@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package at
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -26,7 +26,7 @@ Version: 3.1.23
Release: 0
Summary: A Job Manager
License: GPL-2.0-or-later
Url: http://ftp.debian.org/debian/pool/main/a/at
URL: http://ftp.debian.org/debian/pool/main/a/at
Source: http://ftp.debian.org/debian/pool/main/a/at/%{name}_%{version}.orig.tar.gz
Source2: atd.pamd
Source3: sysconfig.atd
@ -131,7 +131,7 @@ install -m644 %{SOURCE3} %{buildroot}%{_fillupdir}
%pre
%{_sbindir}/groupadd -g 25 -o -r at 2> /dev/null || :
%{_sbindir}/useradd -r -o -g at -u 25 -s /bin/bash -c "Batch jobs daemon" -d %{_localstatedir}/spool/atjobs at 2> /dev/null || :
%{_sbindir}/useradd -r -o -g at -u 25 -s /bin/false -c "Batch jobs daemon" -d %{_localstatedir}/spool/atjobs at 2> /dev/null || :
%service_add_pre atd.service
%preun