Network administration problem

 
Thread Tools Search this Thread
Homework and Emergencies Homework & Coursework Questions Network administration problem
# 1  
Old 02-14-2014
RedHat 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
# 2  
Old 02-14-2014
This is missing:
Use and complete the template provided. If you don't, your post may be deleted!
Code:
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?
Quote:
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.
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?
# 3  
Old 02-14-2014
Quote:
Originally Posted by vbe
This is missing:
Use and complete the template provided. If you don't, your post may be deleted!
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.

Quote:
What OS are you running on?
It's using a RedHat, but at the same time not the UI. I need it to be in cmd lines.

Quote:
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?
Yes, correct I'm using NIS+
# 4  
Old 02-14-2014
Code:
$ 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
Quote:
all his the files created by him to have a default mask of 744
What should I understand? Here is the problem:
Either you set the mask to 744:
Code:
 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...
Code:
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
http://docs.mongodb.org/ecosystem/tu...ty-management/

Last edited by vbe; 02-14-2014 at 11:47 AM.. Reason: added link on the bottom...
# 5  
Old 02-14-2014
Quote:
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...
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:

Code:
 useradd -G Example Lanson

# passwd Lanson1

# id Lanson

Would that be any better?

Quote:
All files created by Levette to have a default mask of 744
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.


Quote:
c) We might have to discuss on this one ( how would the users connect - telnet login ssh? important to know what to do after...)
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.
# 6  
Old 02-14-2014
commands:
Code:
 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...
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

System/Network Administration Tools

Sorry for making this post so generic. I'm trying to see if there are tools that exist that look at local network/system configurations and find problems... for example: - NTP server configured that cannot be reached (can cause the system to drift because nobody is alerted to the fact that the... (0 Replies)
Discussion started by: jjinno
0 Replies

2. UNIX for Dummies Questions & Answers

How does unix system administration, unix programming, unix network programming differ?

How does unix system administration, unix programming, unix network programming differ? Please help. (0 Replies)
Discussion started by: thulasidharan2k
0 Replies

3. Solaris

Sun blade 1500 installation and administration problem

Hi I'm completely new in solaris,and don't know many about it. I was installed solaris 10 on sun blade 1500,and also I need to install oracle on it. Now I stuck on some thing and i'm sure that you help me. When i started Oracle installation system told me that I don't have enogh swap space.... (1 Reply)
Discussion started by: dirtyjack
1 Replies

4. AIX

AIX OS problem? network problem?

Dear ALL. I installed AIX OS on customer sites. but Only one site is too slow when I connected telnet, ftp.. Ping is too fast. but telnet and FTP is not connected.. of course i check the configuration file on aix but it's normal. Do any Idea?? thanks in advance. - Jun - (3 Replies)
Discussion started by: Jeon Jun Seok
3 Replies

5. UNIX for Dummies Questions & Answers

HP-UX system & Network Administration II.PDF

Dear all, I plan to take HP-UX cert. EXAM. But, I cannot find hp-ux system & network administration II.pdf file Do you know where can I download?? Do you have? can you send to me? Thank you! (2 Replies)
Discussion started by: hkpcman
2 Replies

6. UNIX for Dummies Questions & Answers

Network Administration Software

Hi guys, I'm not very familiar with UNIX.. still have a lot to learn. I also interested in Networking... Can anyone tell me what are the tool or software for network administration which we can monitor our network activities such as network traffic analysis,can capture and decode network... (2 Replies)
Discussion started by: Nucleus
2 Replies
Login or Register to Ask a Question