On Fri, Jan 21, 2011 at 05:10:24PM +0100, H.Merijn Brand wrote:
> 
> Program 'vgscan' is present in package 'lvm2', which is installed on your 
> system.
> 
> Absolute path to 'vgscan' is '/sbin/vgscan', so running it may require 
> superuser privileges (eg. root).

Did you become root by either "su" or "su -"?  If the former, then
you'll have assumed root's UID without inheriting root's login
environment and so not necessarily having /sbin on your path.  In this
scenario, OpenSUSE's version of Bash would have to be looking in /sbin
and /usr/sbin for commands it can't find on your path and then not
letting you run them anyway, which seems quite stupid.  If the latter,
where you do acquire root's login environment, then it might be
detecting your RUID and enforcing a policy of "Users MUST use sudo for
executing privileged commands because that is more accountable and
secure than su".  Which would be annoying but slightly more justifiable
and (presumably) something you can disable, if you can only find the
switch.

Worthy of a hate in either case.

-- 
Bruce

Hierophant: someone who remembers, when you are on the way down,
everything you did to them on the way up.

Reply via email to