[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] to many users in a group
****** message to minivend-users from Victor Nolton <venom@inna.net> ******
Thank you mike. I'm gonna do this as we speak :)
Ven
Ven's News (Bookmark It) : http://www.vensnews.com
Ven (ven@lordsofacid.com) _________________ http://ven.lordsofacid.com __
AOL: WebmstrVen Praga Khan's Official Website ICQ: 8321393
http://www.pragakhan.com
Lords of Acid Official Website
http://www.lordsofacid.com
On Fri, 26 May 2000, Mike Heins wrote:
> ****** message to minivend-users from Mike Heins <mikeh@minivend.com> ******
>
> Quoting Victor Nolton (venom@inna.net):
> >
> > I dont know if this is a configuration problem. right now IT ain't broke
> > but I have to mess with it.
> >
> > i get a report that "mvend is in too many groups, using first 16"
> > i have to su/sudo into the user mvend in order to do things cause i dont
> > have the password. but I have seen no mention of this in the archives.
> >
> > the problem is. I added a 16th and 17th catalog tonight. NOW minivend
> > can't read the files in the 17th catalog. I dont want to chmod to many
> > files to make it so they can be read.
> >
> > but minivend is reporting it can't read the .asc files and the special
> > cached files. this is to be expected if the mvend is not allowed to read
> > the other users files.
> >
> > anyone else have this problem? or is it recommended I just change
> > minivend's password and just login and try it.
> >
>
> I run multiple Minivend servers in this instance, with user IDs that
> are the same, but with different names:
>
> mvd1:x:400:400:Minivend daemon 1:/usr/local/minivend/m1:/bin/tcsh
> mvd2:x:400:400:Minivend daemon 2:/usr/local/minivend/m2:/bin/tcsh
> mvd3:x:400:400:Minivend daemon 3:/usr/local/minivend/m3:/bin/tcsh
> mvd4:x:400:400:Minivend daemon 4:/usr/local/minivend/m4:/bin/tcsh
> mvd5:x:400:400:Minivend daemon 5:/usr/local/minivend/m5:/bin/tcsh
> mvd6:x:400:400:Minivend daemon 6:/usr/local/minivend/m6:/bin/tcsh
> mvd7:x:400:400:Minivend daemon 7:/usr/local/minivend/m7:/bin/tcsh
> mvd8:x:400:400:Minivend daemon 8:/usr/local/minivend/m8:/bin/tcsh
> mvd9:x:400:400:Minivend daemon 9:/usr/local/minivend/m9:/bin/tcsh
>
> Then I place the different daemons in different user groups, and
> start them as that user ID with a script. This script uses INET
> mode only, but could easily be modified.
>
> #!/bin/sh
>
> BASEDIR=/usr/local/minivend
>
> SERVERS="1 2 3 4 5 6 7 8 9"
>
> if test -n "$1"
> then
> SERVERS="$1"
> fi
>
> for i in $SERVERS
> do
>
> MINIVEND_ROOT=$BASEDIR/m$i
> echo MINIVEND_ROOT=$MINIVEND_ROOT
> MINIVEND_STORABLE=0
> if test -f $MINIVEND_ROOT/.storable
> then
> MINIVEND_STORABLE=1
> export MINIVEND_STORABLE
> fi
> if test -f $MINIVEND_ROOT/_uid
> then
> MINIVEND_UID=`cat $MINIVEND_ROOT/_uid`
> elif test -f $MINIVEND_ROOT/.uid
> then
> MINIVEND_UID=`cat $MINIVEND_ROOT/_uid`
> else
> echo Cannot determine UID.
> exit 2
> fi
> echo "Using user -$MINIVEND_UID-"
> export MINIVEND_ROOT
> if test -f $MINIVEND_ROOT/bin/restart_inet
> then
> CMD=$MINIVEND_ROOT/bin/restart_inet
> else
> CMD="$MINIVEND_ROOT/bin/minivend -restart"
> fi
> if test `whoami` = root
> then
> echo I am root
> su -c "$CMD" $MINIVEND_UID
> else
> $CMD
> fi
>
> done
>
> --
> Internet Robotics, 131 Willow Lane, Floor 2, Oxford, OH 45056
> phone +1.513.523.7621 fax 7501 <mikeh@minivend.com>
>
> Unix version of an Outlook-style virus:
> It works on the honor system. Please forward this message to everyone
> you know, and delete a bunch of your files at random.
> -
> To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
> email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
> Archive of past messages: http://www.minivend.com/minivend/minivend-list
>
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list