Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Feb 2016 14:52:53 +0000
From:      Arthur Chance <>
To:        Polytropon <>, Yudi V <>
Subject:   Re: minimize use of root account
Message-ID:  <>
In-Reply-To: <>
References:  <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 19/02/2016 11:05, Polytropon wrote:
> On Fri, 19 Feb 2016 16:29:43 +1100, Yudi V wrote:
>> Hi all,
>> currently I use the below script to load geli devices and import zpool. It
>> needs to be run as root.
>> how to run this script as normal user, is there a group that the user needs
>> to be part of?
> No, not for this task.
> There are different ways to do it.
> 1. You can set the script itself to "run as root" (chmod +s) when
>     the script is owned by root:root. Regular users may then execute it.

I thought suid scripts were disabled years ago because they were a major 
security loophole?

Moore's Law of Mad Science: Every eighteen months, the minimum IQ
necessary to destroy the world drops by one point.

Want to link to this message? Use this URL: <>