Solved

creating a group and adding users

Posted on 2002-05-29
3
148 Views
Last Modified: 2013-12-16
I'm trying to follow a CVS tutorial on my
Linux(red hat 7.2) machine
which is connected to a network. I created a group in /usr/local directory and want to add my self to the group I just created. I tried to do this as root via:
adduser sean -g cvs-user
and it gives me a message user already exists. I've verified the group cvs-user has been created, but I can't add myself to it. I don't know if this is some kind of conflict with the network file system or what?
when I type "group" as me it just gives one group which is
the group all users of the network are in.

0
Comment
Question by:mitchguy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7042491
simply edit /etc/group and add the user to the group you like.

To check in which groups you are, use
  groups
or
  id -a
0
 
LVL 4

Accepted Solution

by:
MFCRich earned 50 total points
ID: 7044285
>> usermod -G cvs-user sean

If sean should be included in other supplemental groups those groups should appear in a comma seperated list with cvs-user
0
 
LVL 2

Expert Comment

by:pheur
ID: 7045231
Alternatively, add yourself to the corresponding group in /etc/groups:
cvs-users::gid:sean
And remember to logou out and log in again, since changes in group membership does not take any effect in currentlly open sessions.

--
Radu-Adrian Feurdean
Brainbench Linux MVP
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Recover Lacie Edmini data. 11 77
how to include conditional log rotate in liunx. 17 106
CentOS Backup Options 3 68
VPN, Squid-  unable to log https requests 5 121
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question