Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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

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.

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

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.

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

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

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.

![]() |
![]() |
![]() |

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