commands under privileged users' path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well, currently I am reviewing several reviewing requests
and I asked a submitter to change user/group registration
scriptlets according to 
http://fedoraproject.org/wiki/Packaging/UsersAndGroups
and he/she changed as such.

Then I noticed :
%pre servers
# Following the Wiki instructions ...
getent group iceuser > /dev/null || groupadd -r iceuser
<snip>

Here "groupadd" (which is in Fedora under /usr/sbin)
is used by only basename, not by full path. IMO this will cause
a problem when "yum update" or "rpm -ivh" is done by normal
users using "su -c" or "sudo" because normal users usually
don't have /usr/sbin in their path.

So I think that the following should be added to the wiki
that commands which are under privileged users' path and
not under normal users' path must be written with full path.

Do you have any suggestions?

Regards,
Mamoru

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux