group assignment
hi everyone,
I would like to add 'user1' to the group 'users'. When i give command 'useradd -G users user1' it says the user already exists. But apparently it doesnt showup when i give the command 'id user1' |
Quote:
|
I would like to give 'test1' access to group 'testgroup'. The permissions of the 'testgroup' are 750 and the owner is root:users. I also added 'test1' to the group 'users' . But when I set permissions to 755 everything is fine. Probably it detects other rather than group.
|
Quote:
http://www.linux.com/learn/tutorials...le-permissions A directory with permissions of 750, and owned by root:users will not be writable to anyone except root, but readable by members of the users group. Since you haven't added user test1 to the users group, it can't read it. Again, you need to read the man pages on usermod and useradd first. |
All times are GMT -5. The time now is 10:57 AM. |