On Thu, 2006-06-01 at 00:53, Vasiliy wrote:
> What about this scenario - just as an item to discuss.
> 
> We make certain packages available to install by non root users.
> 
> There is no reason for regular customer to install things like SUNcsr
> or something of this nature, 

Why not? I confess that it's unlikely that the
average end-user is unlikely to need, but I've
had to do this sort of thing. (Usually to extract
files from the package because the system ones
have a problem of some sort.)

> From the other hand why nonadmin can not install compiler into Solaris?
> So this way we have natural separation between root and non root packages. 

I don't think it's necessary to make a distinction between packages
that can sensibly be installed by root and those that can't. I would
expect an attempt to install (as a user) a package that makes no sense
for that user to be installing to generate errors, but that's no reason
to stop the user trying - they may have good reason to.

As for the example of compilers, note that the recommended compiler
download for ON is a tarball. Trivial to install.

> pkginfo file may just have record - NON_ROOT_ALLOWED or something. 

There are already a set of "dangerous" attributes. I'm not sure
that being warned about those has ever made much sense - you either
want the software or not. I don't see that users who want to do
something we might consider silly should be prevented from doing
so - there may be good reasons.

-- 
-Peter Tribble
L.I.S., University of Hertfordshire - http://www.herts.ac.uk/
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/



Reply via email to