2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-30 22:05:46 +00:00

Don't use run_as_superuser=false on HP-UX

This commit is contained in:
Todd C. Miller
2010-10-11 16:15:01 -04:00
parent 3ff8d5e781
commit 798fc86a9c

4
pp
View File

@@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# (c) 2010 Quest Software, Inc. All rights reserved # (c) 2010 Quest Software, Inc. All rights reserved
pp_revision="293" pp_revision="294"
# Copyright 2010 Quest Software, Inc. All rights reserved. # Copyright 2010 Quest Software, Inc. All rights reserved.
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@@ -2639,7 +2639,7 @@ pp_backend_sd () {
swp_flags="-x target_type=tape" swp_flags="-x target_type=tape"
;; ;;
*) *)
swp_flags="-x media_type=tape -x run_as_superuser=false" swp_flags="-x media_type=tape"
;; ;;
esac esac
if pp_verbose ${pp_sd_sudo} /usr/sbin/swpackage -s $psf $swp_flags \ if pp_verbose ${pp_sd_sudo} /usr/sbin/swpackage -s $psf $swp_flags \