login
Header Space

 
 

Re: Question around git-shell usage in Everyday Git

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Alan Chandler <alan@...>
Cc: <git@...>
Date: Thursday, February 2, 2006 - 1:44 am

Alan Chandler <alan@chandlerfamily.org.uk> writes:


This is the part I highly doubt is doable -- without having
separate unix level UID your whitelist mechanism would not work.
And I do not think you would get separate unix level UID without
having separate $HOME/.ssh directory, even if you have prepared
separate unix level UID in your /etc/passwd file.

Come to think of it, it is worse than that.  IIRC, sshd has
rather strict check to make sure that only one unix user can
write into $HOME/.ssh/ directory (obviously the owner of that
$HOME directory, which means the user who has the directory as
her home directory in /etc/passwd).  If more than one unix level
user shares a home directory, I do not think you can satisfy
that checking.

Maybe it does not matter, since they will be pushing the commits
with their name set to committer/author fields and if you trust
them, but then there is no point assigning one UID per user.

One UID per project is probably doable but I do not think that
is a useful arrangement either.


You still cannot distinguish your users in a project with each
other, which may or may not matter to you.  Also this is
inconvenient for your developer who works on more than one of
your projects -- I think he needs to use one project identity
for each.

So in short, I am mildly negative about this.  If I were doing
this kind of thing I'd have one unix UID and one directory per
one physical user.  What is the real reason (other than "I just
do not want to" feeling) you want to have smaller number of home
directories than you have users?


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Question around git-shell usage in Everyday Git, Alan Chandler, (Wed Feb 1, 7:01 pm)
Re: Question around git-shell usage in Everyday Git, Linus Torvalds, (Wed Feb 1, 7:30 pm)
Re: Question around git-shell usage in Everyday Git, Junio C Hamano, (Wed Feb 1, 7:21 pm)
Re: Question around git-shell usage in Everyday Git, Linus Torvalds, (Wed Feb 1, 7:37 pm)
Re: Question around git-shell usage in Everyday Git, Alan Chandler, (Thu Feb 2, 1:17 am)
Re: Question around git-shell usage in Everyday Git, Junio C Hamano, (Thu Feb 2, 1:44 am)
Re: Question around git-shell usage in Everyday Git, Alan Chandler, (Thu Feb 2, 5:23 pm)
Re: Question around git-shell usage in Everyday Git, Junio C Hamano, (Wed Feb 1, 8:04 pm)
Re: Question around git-shell usage in Everyday Git, Junio C Hamano, (Wed Feb 1, 7:30 pm)
speck-geostationary