Re: nfs-mounts as user

Jürgen Henge-Ernst <[email protected]> Thu, 4 Apr 2002 10:46:05 +0200
Newsgroups gmane.linux.suse.alice
Organization SuSE Linux Solutions AG
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
On Thursday 04 April 2002 10:45, [email protected] wrote:
> Thanks. I tried this before your answer and it worked. What I wanted to
> know is: is such a check is necessary and if so: is it that critical or
> would a warning be enough?
I've changed it to a waring and with the next release rhe script will 
continue. The exit is a litte bit to hard :-(

>
> Another thing is that I want to create the bootdisks as user. But I am not
> allowed to mount the nfs-share. It says that only root can do that. I am
> looking for a possibility without setting s-id-bit to mount.
>
> I know: it is not a real alice problem but maybe you have an idea?
The problem is that for creating the bootdisk there are at least 4 mounts to 
the intall-server and loop-backmounts are needed. As thoses mounts depend on 
the Version you want to install we can't use fixed mountpoints wwhich you can 
add to your fstab :-(

I beleive in /usr/lib/alice/utils there is a script 
called
httpd_wrapper_make_disk

use it as sudo httpd_wrapper_make_disk $ALICE_HOME fqhn > bootdisk

uses a line like the following in your /etc/sudoers
wwwrun  ALL=(ALL) NOPASSWD: /usr/lib/alice/utils/httpd_wrapper_make_disk

or maybe the line:
wwwrun  ALL=(ALL) NOPASSWD: /usr/lib/alice/utils/make_inst_disk

should be enough

There is no need to +s mount

Greetings JÃŒrgen

- -- 
JÃŒrgen Henge-Ernst                    Phone:  +49 (0)6196/50 95 1-32
SuSE Linux AG                         Fax:    +49 (0)6196/40 96 07
Mergenthaler Allee 45-47              Mobile: +49 (0)177 /26 74 748
65760 Eschborn, Germany               EMail:  [email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8rBLSwIwzBbM848kRAoI6AKCRyFsLPvC6lcwJPQNpFOaWU+ooyQCeIPcW
gZMjxmNGn2VtPB0RyOJDWVs=
=WfMX
-----END PGP SIGNATURE-----

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]