Commit 3d1b3942 authored by Anastasia Karachaliou's avatar Anastasia Karachaliou
Browse files

Changed the command useradd to luseradd in the cta.scpec.in file.

parent a8a26f43
......@@ -106,12 +106,12 @@ Summary: CERN Tape Archive: tape daemon
Group: Application/CTA
Requires: logrotate
Requires: cta-lib = %{version}-%{release}
Requires(pre): /usr/bin/getent, /usr/sbin/groupadd, /usr/sbin/useradd
Requires(pre): /usr/bin/getent, /usr/sbin/groupadd, /usr/sbin/luseradd
%description -n cta-taped
CERN Tape Archive:
The tape server daemon
%pre -n cta-taped
/usr/bin/getent passwd cta || /usr/sbin/useradd -s /bin/nologin -c "CTA system account" -g tape cta
/usr/bin/getent passwd cta || /usr/sbin/luseradd -s /bin/nologin -c "CTA system account" -g tape cta
%files -n cta-taped
%defattr(-,root,root)
%attr(0755,cta,tape) %dir /var/log/cta
......@@ -140,12 +140,12 @@ Group: Application/CTA
Requires: logrotate
Requires: cta-lib = %{version}-%{release}
Requires: xrootd-server
Requires(pre): /usr/bin/getent, /usr/sbin/groupadd, /usr/sbin/useradd
Requires(pre): /usr/bin/getent, /usr/sbin/groupadd, /usr/sbin/luseradd
%description -n cta-frontend
CERN Tape Archive:
The xroot plugin
%pre -n cta-frontend
/usr/bin/getent passwd cta || /usr/sbin/useradd -s /bin/nologin -c "CTA system account" -g tape cta
/usr/bin/getent passwd cta || /usr/sbin/luseradd -s /bin/nologin -c "CTA system account" -g tape cta
%files -n cta-frontend
%defattr(0755,root,root)
%{_libdir}/libXrdSsiCta.so*
......@@ -300,12 +300,12 @@ Summary: Tools to faciliate working with acsd in cta
Group: Application/CTA
Requires: logrotate
#Requires: cta-lib = %{version}-%{release}
Requires(pre): /usr/bin/getent, /usr/sbin/groupadd, /usr/sbin/useradd
Requires(pre): /usr/bin/getent, /usr/sbin/groupadd, /usr/sbin/luseradd
%description -n cta-acsd
CERN Tape Archive:
Tools to faciliate working with acsd in cta
%pre -n cta-acsd
/usr/bin/getent passwd cta || /usr/sbin/useradd -s /bin/nologin -c "CTA system account" -g tape cta
/usr/bin/getent passwd cta || /usr/sbin/luseradd -s /bin/nologin -c "CTA system account" -g tape cta
%files -n cta-acsd
%defattr(-,root,root)
%attr(0755,cta,tape) %dir /var/log/cta
......@@ -332,12 +332,12 @@ Summary: Tools to faciliate working with rmcd and smc in cta
Group: Application/CTA
Requires: logrotate
#Requires: cta-lib = %{version}-%{release}
Requires(pre): /usr/bin/getent, /usr/sbin/groupadd, /usr/sbin/useradd
Requires(pre): /usr/bin/getent, /usr/sbin/groupadd, /usr/sbin/luseradd
%description -n cta-rmcd
CERN Tape Archive:
Tools to faciliate working with rmcd and smc in cta
%pre -n cta-rmcd
/usr/bin/getent passwd cta || /usr/sbin/useradd -s /bin/nologin -c "CTA system account" -g tape cta
/usr/bin/getent passwd cta || /usr/sbin/luseradd -s /bin/nologin -c "CTA system account" -g tape cta
%files -n cta-rmcd
%defattr(-,root,root)
%attr(0755,cta,tape) %dir /var/log/cta
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment