Link to home
Start Free TrialLog in
Avatar of dissolved
dissolved

asked on

Creating groups

Hi, I would like to do some basic group and user creation in unix so I can practice.

1. When you create a new group, where is it placed?  /etc ?

2. I want to make a new group called dissolved, and have executables in there (say, an executable called car.exe). So only members of the group can access the executable. I'll make the user "test_user1."    What is the best way to do this?

root# groupadd dissolved
root# useradd test_user1
...then what?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Luxana
Luxana
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
here is man page sam as you get with command
 # man usermod

http://www.rt.com/man/usermod.8.html
Avatar of dissolved
dissolved

ASKER

Ok sweet, didnt know it was that easy. I thought I had to edit a config file of some sort.  When I do
usermod -G group_name user_name , what are the default permissions the user gets?
im giving you the answer now since you answered very well. When you get a chance, can you answer my second question?

Thanks!
first have a look hare:

http://owen.sj.ca.us/rkowen/howto/newuser.html

this is what you looikng for...

thx
give me a second I got to do something now...I'll come back .. Read it and if something not clear post here...
sorry for delay...so how about your question . Did you find what you need to know in that link what I posted?
yes, thanks a lot. I'm currently try to comprehend the importance of the gpasswd command https://www.experts-exchange.com/questions/21387694/gpasswd-command-and-one-question.html