Solved

creating a group and adding users

Posted on 2002-05-29
3
141 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
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AWS EC2 Linux 1 55
Linux Scripting 3 103
AWS vpc peering connection 1 43
Steps to follow for Maintenance of Servers 4 54
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

863 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now