Computing.Net > Forums > Linux > Group Permissions

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Group Permissions

Reply to Message Icon

Name: Acoc
Date: April 24, 2004 at 12:00:00 Pacific
OS: Minix 2.0.0
CPU/Ram: 8086
Comment:

Hello,
I have just installed minix 2.0.0 on my Epson Equity Lt and have created a new group named users (GUI 100) and a new user. Unfortunately the users group recieved all of the permissions of the root (dont know how). I tested it by editing /etc/passwd in the new group. Can anyone tell me the file or way to change the permissions of groups.

Thanks



Sponsored Link
Ads by Google

Response Number 1
Name: taurus
Date: April 24, 2004 at 14:22:19 Pacific
Reply:

chgrp -R users <username>

taurus


0

Response Number 2
Name: Acoc
Date: April 24, 2004 at 14:49:44 Pacific
Reply:

Taurus,
Thanks for your response, but unfortunately the result of this command is No such File or Directory. I did a web search of chgrp and found on http://www.mkssoftware.com/docs/man1/chgrp.1.asp that the command is chgrp [-fR] group pathname ... .
I think maybe the pathname might be / but I just wanted to check what you though before I tried it.


0

Response Number 3
Name: taurus
Date: April 24, 2004 at 15:06:23 Pacific
Reply:

Maybe I didn't explain it clearly on my previous post. Let's assuming that user john whose home directory is /home/john has a primary group of root but you woulk like john's group to be users, log in as root and type

chgrp -R users /home/john

I hope the example above would give you a better understanding of chgrp...

taurus


0

Response Number 4
Name: Acoc
Date: April 24, 2004 at 15:27:04 Pacific
Reply:

Taurus,
Thanks, when I had tested writing using vi of /etc/passwd to see if the user didn't have all of the permissions of the root it let me write to it. I had misakenly thought that this meant I had too much permission, but I just realized it prevents you from saving, not writing to it in this version of elvis. This was after I used your suggested command, but in creating the /home directory I had used chown -R and chmod -R, so I'm not sure if it actually did change all permissions or just in that folder. I'm by no means an expert, just trying to learn some of these commands so I really appriate all your help.

I just have one more question. Using my users user (john in above example) I was able to enter the /root folder. How would I prevent john from accessing this folder.


0

Response Number 5
Name: taurus
Date: April 24, 2004 at 15:50:42 Pacific
Reply:

Hmm... A regular user can't even view stuff in /root as a default! You must have changed the permission of your /root or something. To disallow everything to "ls -la" /root, do

chmod 700 /root

Now, too bad for user john because he can't see anything in /root :)

taurus


0

Related Posts

See More



Response Number 6
Name: Acoc
Date: April 24, 2004 at 17:25:53 Pacific
Reply:

That worked well, except it come up with a Directory Not Found when using john. Well I guess this is an ash shell problem. Would prefer a Permission Denied or something, but it works with root but not john and that's the main thing. Thanks for your help!

John


0

Response Number 7
Name: Acoc
Date: April 25, 2004 at 18:36:49 Pacific
Reply:

I just realized a major drawback of minix in the filesystem it uses. Since floppies have to be in the minix filesystem for minix to read it, is there a way for windows to read this minix filesystem.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Group Permissions

Group Permissions www.computing.net/answers/linux/group-permissions/29498.html

Multi group permissions www.computing.net/answers/linux/multi-group-permissions/28552.html

user & group permissions www.computing.net/answers/linux/user-amp-group-permissions/23824.html