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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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?
usermod -G group_name user_name , what are the default permissions the user gets?
ASKER
im giving you the answer now since you answered very well. When you get a chance, can you answer my second question?
Thanks!
Thanks!
first have a look hare:
http://owen.sj.ca.us/rkowen/howto/newuser.html
this is what you looikng for...
http://owen.sj.ca.us/rkowen/howto/newuser.html
this is what you looikng for...
ASKER
thx
give me a second I got to do something now...I'll come back .. Read it and if something not clear post here...
ASKER
thanks, can you assist here too? :-D
https://www.experts-exchange.com/questions/21385593/umask.html
https://www.experts-exchange.com/questions/21385593/umask.html
sorry for delay...so how about your question . Did you find what you need to know in that link what I posted?
ASKER
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
# man usermod
http://www.rt.com/man/usermod.8.html