[OpenAFS] AFS Users
Jack Britton
jack.britton@britton-consulting.com
14 Jul 2002 15:02:41 -0500
--=-SpBrDqnYsXd1fD3jEtB5
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Thanks, I actually had gotten it figured out. It is all in the
documentation just not in as linear a fashion as a simpleton like me
requires. I need to do some more tweaking so that I don;t have to log
in twice but so far so good.
On Sun, 2002-07-14 at 15:04, Charles Clancy wrote:
> I have installed AFS from the latest RH 7.3 binaries on a server and a
> laptop client. I need user help. I am having difficulty getting users
> set up so that I can access the filesystem. My laptop is mount
> /afs/cellname. I can list it but nothing else. I am trying to follow
> the documentation but it is not very straight forward. I need to
> create a regular user with rw access to some volumes on the server. I
> have tried to follow the documentation but beyond the quickstart guides
> it gets a bit confusing.
Is your 'admin' user is working properly?
If so, creating an AFS user isn't too difficult:
$ kas create <username> -admin admin
(substitute username, enter appropriate passwords)
$ pts createu <username> <uid>
(substitute username and uid; uid should match the /etc/passwd uid for
that username)
Then, to grant full RW access to a directory, do something like:
$ fs sa /afs/cellname/directory <username> rlidwk
[ t charles clancy ]-[ tclancy@uiuc.edu ]-[ uiuc.edu/~tclancy ]
--=-SpBrDqnYsXd1fD3jEtB5
Content-Type: text/html; charset=utf-8
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/1.0.4.99">
</HEAD>
<BODY>
Thanks, I actually had gotten it figured out. It is all in the documentation just not in as linear a fashion as a simpleton like me requires. I need to do some more tweaking so that I don;t have to log in twice but so far so good.
<BR>
<BR>
<BR>
<BR>
On Sun, 2002-07-14 at 15:04, Charles Clancy wrote:
<BLOCKQUOTE>
<PRE><FONT COLOR="#1a39e0"><FONT SIZE="3"><I>> I have installed AFS from the latest RH 7.3 binaries on a server and a</FONT></FONT></I>
<FONT COLOR="#1a39e0"><FONT SIZE="3"><I>> laptop client. I need user help. I am having difficulty getting users</FONT></FONT></I>
<FONT COLOR="#1a39e0"><FONT SIZE="3"><I>> set up so that I can access the filesystem. My laptop is mount</FONT></FONT></I>
<FONT COLOR="#1a39e0"><FONT SIZE="3"><I>> /afs/cellname. I can list it but nothing else. I am trying to follow</FONT></FONT></I>
<FONT COLOR="#1a39e0"><FONT SIZE="3"><I>> the documentation but it is not very straight forward. I need to</FONT></FONT></I>
<FONT COLOR="#1a39e0"><FONT SIZE="3"><I>> create a regular user with rw access to some volumes on the server. I</FONT></FONT></I>
<FONT COLOR="#1a39e0"><FONT SIZE="3"><I>> have tried to follow the documentation but beyond the quickstart guides</FONT></FONT></I>
<FONT COLOR="#1a39e0"><FONT SIZE="3"><I>> it gets a bit confusing.</FONT></FONT></I>
<FONT COLOR="#1a39e0"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#1a39e0"><FONT SIZE="3"><I>Is your 'admin' user is working properly?</FONT></FONT></I>
<FONT COLOR="#1a39e0"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#1a39e0"><FONT SIZE="3"><I>If so, creating an AFS user isn't too difficult:</FONT></FONT></I>
<FONT COLOR="#1a39e0"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#1a39e0"><FONT SIZE="3"><I>$ kas create <username> -admin admin</FONT></FONT></I>
<FONT COLOR="#1a39e0"><FONT SIZE="3"><I>(substitute username, enter appropriate passwords)</FONT></FONT></I>
<FONT COLOR="#1a39e0"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#1a39e0"><FONT SIZE="3"><I>$ pts createu <username> <uid></FONT></FONT></I>
<FONT COLOR="#1a39e0"><FONT SIZE="3"><I>(substitute username and uid; uid should match the /etc/passwd uid for</FONT></FONT></I>
<FONT COLOR="#1a39e0"><FONT SIZE="3"><I>that username)</FONT></FONT></I>
<FONT COLOR="#1a39e0"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#1a39e0"><FONT SIZE="3"><I>Then, to grant full RW access to a directory, do something like:</FONT></FONT></I>
<FONT COLOR="#1a39e0"><FONT SIZE="3"><I>$ fs sa /afs/cellname/directory <username> rlidwk</FONT></FONT></I>
<FONT COLOR="#1a39e0"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#1a39e0"><FONT SIZE="3"><I>[ t charles clancy ]-[ tclancy@uiuc.edu ]-[ uiuc.edu/~tclancy ]</FONT></FONT></I>
<FONT COLOR="#1a39e0"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#1a39e0"><FONT SIZE="3"><I></FONT></FONT></I>
<FONT COLOR="#1a39e0"><FONT SIZE="3"><I></FONT></FONT></I>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>
--=-SpBrDqnYsXd1fD3jEtB5--