Network administration problem

Assuming there are 6 machines A,B,C,D,E, and F.
I need to create user Lanson on machine A, Joanna on machine B, Jhonson on machine C, Levette on machine D, Jhon on machine E, and Emerson on machine F.

a) Lanson, and Joanna must be in the same group.
b) Levette must have all his the files created by him to have a default mask of 744.
c) Jhon on machine E to be able to login to machine F without a password.

I have created the group frist
$ ipa group-add Example -desc="for ted and L and J only" [-nonposix]
$ ipa group-add-member Example -users=Lanson,Joanna

and that's about as far as I was able to figure it out... I tried also to create users by going to each machine and adding the user itself... but I figured I'll lose grades over that.

Anyway, can you please help me?

Uni: Queen Marry University of London, UK, London.
Course: ECS716 - Advanced Database Systems and Technology
Prof. Tony Stockman

This is missing:
Use and complete the template provided. If you don't, your post may be deleted!

1. The problem statement, all variables and given/known data:



2. Relevant commands, code, scripts, algorithms:



3. The attempts at a solution (include all code and scripts):



4. Complete Name of School (University), City (State), Country, Name of Professor, and Course Number (Link to Course)

We need it also to understand what you are asked with what you are permitted ( Our own limits to helping you... )

What OS are you running on?

It depends what /how the server are configured, by the look of the class you are following, could it be you are using NIS+ or an LDAP?

Basically, I wrote the exact question. "CopyPaste" the question I needed an answer to. (It's a stand alone question and not related to the rest of questions)

This is the one question and everything based on it, and so far I can't solve it.

It's using a RedHat, but at the same time not the UI. I need it to be in cmd lines.

Yes, correct I'm using NIS+

$ ipa group-add Example -desc="for ted and L and J only" [-nonposix]
$ ipa group-add-member Example -users=Lanson,Joanna

What I see here is that you are using commands specific to your OS, OS I dont use but what I see here is You did not give a GID, and I see no reason why thisOS would act differently to other UNIX, so not giving a GID the system will choose the next free value for you.
Now this can be a problem because you are to put 2 person in the same group but on 2 separate servers, meaning both servers should have in /etc/group a line with that group name and SAME GID, the logical way of creating such groups would be to connect on all concerned servers to see what is in /etc/group in order to choose a GID unused...

about b)
I dont get

What should I understand? Here is the problem:
Either you set the mask to 744:

 umask 744 

and fins yourself with something silly because 744 means owner has no rights group and other have write only...
Or it is what the files perms should look like in which case I have never managed to get a created file executable like that...

umask 022

is the closest you can get, I suggest you look at the umask man pages

Since you created the group it will not have any sense if users dont exist.. So I cant help you with your fancy commands but sure you will have to create them...

c) We might have to discuss on this one ( how would the users connect - telnet login ssh? important to know what to do after...)

IPA look more like an LDAP business: IPA � Luc de Louw's Blog

Ok, let me explain in a better way. There isn't a certain OS that I was asked to use, I just use RedHat because I enjoy it. It's not different than any Linux, of course.

I have thought of another way which is, can I create the group, then create the two users, while giving them the group's name as I'm creating them as such:

 useradd -G Example Lanson

# passwd Lanson1

# id Lanson


Would that be any better?

I believe what mask 744 does, is not of concern. Because, the question did not say it needed it to do x,y, and z. It just asked me to make his default mask 744.

I will be looking at the umask man pages. Thanks.

Yes, thank you. I thought about making an SSH but then I couldn't manage to do the setup, or write the codes. I've been trying to do it for a week now.

commands:

 vipw, vigr, useradd, usermod, groupadd, groupmod 

b) and so possibly Levett will not be able to look what the user created?

ssh: There is no code to write but its a question of generating public keys you exchange...
telnet/rlogin/ you have to have the servers declared in /etc/hosts AND create a .rhosts file in the users home directory...