Hi ,
I am facing the problem booth on client and server side.Please look below for the errors I get.
>
I
have
to
start
right
away
working
on
CVS
>
so
I
am
stuck
becuase
it
shows
an
error
on
commiting
Seeing
the
exact
error
would
have
helped,
even
if
you
have
put
it
in
previous
emails.
That
is,
I
don't
know
how
to
help
with
that
error
because
I
don't
know
what
that
error
is.
I AM MENTIONE ERROR BELOW
>
>
Apart
from
that
I
wanted
to
ask
you
if
>
I
have
to
make
any
changes
in
/etc/passwd
file
on
server
>
and
client
side
as
the
users
which
can
only
be
created
on
main
server
side
>
and
are
created
like
this
>
sadia:x:508:100::/users/sadia:/bin/bash
If
you
are
using
NIS/LDAP
then
all
the
clients
have
the
same
user
names,
passwords
and
groups.
But
you
have
not
indicated
that
the
systems
are
using
NIS/LDAP
or
independent
user
authentication/authorization
configurations.
HERE USERS HAVE NIS AND EACH USER HAS AN INDEPENDANT USER AUTHENTICATION TO ACCESS THE SYSTEMS IN NETWORK
>
so
do
I
need
to
make
any
changes
to
it
so
that
they
>
can
access
the
cvsgroup
I
created
with
gid
800?
>
Assuming
gid
800
looks
like:
sadiascvsgroup:x:800:sadia,user1,user2,user3,userN,tahseen
and
sadia,user1,user2,user3,userN,tahseen
are
the
only
users
you
want
to
access
the
cvs,
then
you
are
done
configuring
the
group.
Then some appropriate commands {twisted from my last email}:
as root on the cvs_server:
edit /etc/group and add a group for your cvs work, i.e. add a line similar to
the one of the following:
users:x:100:sadia,user1,user2,user3
sadiascvsgroup:x:800:sadia,user1,user2,user3,userN
#if you choose to use users group,
# then substitute
# users where you see sadiascvsgroup below
chown sadia:sadiascvsgroup /appl/src/cvs/
Here sadia can be root on the server machine ?
and can sadia be root on client machines (for workstations)?
No!
then as sadia on cvs_server:
cd /appl/src/cvs/
mkdir JavaAppl
pwd #assumption it returns /appl/src/cvs/
export CVSROOT=/appl/src/cvs/JavaAppl
cvs init
mkdir JavaAppl/projectdir
chown :sadiascvsgroup JavaAppl/projectdir
chmod g+rws JavaAppl/projectdir
#you'll want to tighten up security on the following directory later.
chown :sadiascvsgroup JavaAppl/CVSROOT
chmod g+rws JavaAppl/CVSROOT
ERROR:
address@hidden chmod g+rws JavaAppl/CVSROOT
chmod: changing permissions of `JavaAppl/CVSROOT': Operation not permitted
then as sadia on a_workstation:
export CVSROOT=:ext:cvs_server:/appl/src/cvs/JavaAppl
export CVS_RSH=ssh
cvs checkout projectdir
date > projectdir/mydate
cvs add projectdir/mydate
cvs commit -m"a comment" projectdir/mydate
ERRORS:
address@hidden ~]$ cvs checkout projectdir
address@hidden's password:
? projectdir/mydate
cvs checkout: Updating projectdir
address@hidden ~]$ cvs add projectdir/mydate
address@hidden's password:
cvs add: in directory .:
cvs [add aborted]: there is no version here; do 'cvs checkout' first
address@hidden ~]$ cvs commit -m "a comment" projectdir/mydate
cvs commit: use `cvs add' to create an entry for projectdir/mydate
cvs [commit aborted]: correct above errors first!
I look forward for you help!
Thank you
Sadia
--
Todd
Denniston
Crane
Division,
Naval
Surface
Warfare
Center
(NSWC
Crane)
Harnessing
the
Power
of
Technology
for
the
Warfighter