SHA256
1
0
forked from pool/system-users

- Change home directory of user man to /var/lib/empty. Home

directories below /var/cache are by definition insecure and a
  bad idea.

OBS-URL: https://build.opensuse.org/package/show/Base:System/system-users?expand=0&rev=31
This commit is contained in:
Thorsten Kukuk 2017-11-29 10:25:58 +00:00 committed by Git OBS Bridge
parent e1d5b824b9
commit 87b693b40b
3 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,3 @@
# Type Name ID GECOS [HOME]
g man 62
u man 13 "Manual pages viewer" /var/cache/man
u man 13 "Manual pages viewer" /var/lib/empty

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Nov 29 10:31:32 CET 2017 - kukuk@suse.de
- Change home directory of user man to /var/lib/empty. Home
directories below /var/cache are by definition insecure and a
bad idea.
-------------------------------------------------------------------
Thu Sep 14 14:40:04 CEST 2017 - kukuk@suse.de

View File

@ -214,7 +214,6 @@ mkdir -p %{buildroot}%{_sysusersdir}
mkdir -p %{buildroot}%{_sysconfdir}/uucp
mkdir -p %{buildroot}%{_sysconfdir}/news
mkdir -p %{buildroot}%{_localstatedir}/games
mkdir -p %{buildroot}%{_localstatedir}/cache/man
mkdir -p %{buildroot}%{_localstatedir}/lib/wwwrun
mkdir -p %{buildroot}%{_localstatedir}/spool/clientmqueue
mkdir -p %{buildroot}%{_localstatedir}/spool/lpd
@ -278,7 +277,6 @@ install -m 644 %{SOURCE17} %{buildroot}%{_sysusersdir}/system-user-uuidd.conf
%files -n system-user-man
%defattr(-,root,root)
%dir %attr(0755,man,root) %{_localstatedir}/cache/man
%{_sysusersdir}/system-user-man.conf
%files -n system-user-news