Sponsored Content
Homework and Emergencies Homework & Coursework Questions Network administration problem Post 302888463 by Auser on Friday 14th of February 2014 10:48:02 AM
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 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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
GROUPMOD(8)						    System Management Commands						       GROUPMOD(8)

NAME
groupmod - modify a group definition on the system SYNOPSIS
groupmod [options] GROUP DESCRIPTION
The groupmod command modifies the definition of the specified GROUP by modifying the appropriate entry in the group database. OPTIONS
The options which apply to the groupmod command are: -g, --gid GID The group ID of the given GROUP will be changed to GID. The value of GID must be a non-negative decimal integer. This value must be unique, unless the -o option is used. Values between 0 and 999 are typically reserved for system groups. Any files that have the old group ID and must continue to belong to GROUP, must have their group ID changed manually. -h, --help Display help message and exit. -n, --new-name NEW_GROUP The name of the group will be changed from GROUP to NEW_GROUP name. -o, --non-unique When used with the -g option, allow to change the group GID to a non-unique value. -p, --password PASSWORD The encrypted password, as returned by crypt(3). Note: This option is not recommended because the password (or encrypted password) will be visible by users listing the processes. You should make sure the password respects the system's password policy. CONFIGURATION
The following configuration variables in /etc/login.defs change the behavior of this tool: MAX_MEMBERS_PER_GROUP (number) Maximum members per group entry. When the maximum is reached, a new group entry (line) is started in /etc/group (with the same name, same password, and same GID). The default value is 0, meaning that there are no limits in the number of members in a group. This feature (split group) permits to limit the length of lines in the group file. This is useful to make sure that lines for NIS groups are not larger than 1024 characters. If you need to enforce such limit, you can use 25. Note: split groups may not be supported by all tools (even in the Shadow toolsuite). You should not use this variable unless you really need it. FILES
/etc/group Group account information. /etc/gshadow Secure group account information. EXIT VALUES
The groupmod command exits with the following values: 0 success 2 invalid command syntax 3 invalid argument to option 4 specified group doesn't exist 6 specified group doesn't exist 9 group name already in use 10 can't update group file SEE ALSO
chfn(1), chsh(1), passwd(1), gpasswd(8), groupadd(8), groupdel(8), useradd(8), userdel(8), usermod(8). System Management Commands 06/24/2011 GROUPMOD(8)
All times are GMT -4. The time now is 04:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy