05-06-2008
Quote:
Originally Posted by
Vicky Narayan
Buddy,
In Unix, the users have been characterised into three groups:
Owner (you)
Group (a group of other users that you set up)
World (anyone else browsing around on the file system)
So you can put the users according to your conditions. Once this is done then u can provide permissions to those groups as a whole which will equally be applied on the users inside it.
This is the only way. We can't give permissions to users individually.
This is incorrect. You can give permissions to users or groups with ACLs if your UNIX system supports it.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
OS: FreeBSD 4.9-RELEASE
I have ssh up and running. However, I need to restrict users to their home directory and to links withing those directories (i.e. htdocs/mysite and mysql/var). Is this possible? Any Suggestions? Thanks In advance. (2 Replies)
Discussion started by: ezekiel61
2 Replies
2. Linux
Hi,
I want to create a user and allow its to be able to have telnet session like what you have in the ftp allow and deny. Is this possible
Thanx. (3 Replies)
Discussion started by: kayode
3 Replies
3. UNIX for Dummies Questions & Answers
I'm in the process of setting up two new HP-UX 11.23 i64 servers.
On my existing server (HP-UX B.11.0) we have several users defined to have restricted sam access.
I'm having trouble finding those definitions and copying them over to the new servers. Is this possible - to just copy over the... (1 Reply)
Discussion started by: LisaS
1 Replies
4. UNIX for Dummies Questions & Answers
I am in charge of a project to teach 20 or so inmates basic computer skills. These people cannot have outside access to the web, but I need to show them how to do a basic Google search and search for articles on Wikipedia. (also needs to be Arabic and English)
I was thinking of using a squid... (0 Replies)
Discussion started by: brazen1445
0 Replies
5. Shell Programming and Scripting
Hi,
I need to provide execute access to certain users and not to all users
For ex: if ther is a file /home/august/aug.sh.
and there are user's like jan,feb,mar,april,May and jan is the owner of that box. I need to provide execute access to feb and mar only. I also know the root pwd for... (3 Replies)
Discussion started by: Ashok_oct22
3 Replies
6. HP-UX
Hello everybody,
i need to check which users have resticted sam access..can anybody please let me know how to check this..?
Thanks in advance.. (4 Replies)
Discussion started by: laxmikant
4 Replies
7. UNIX for Dummies Questions & Answers
Hi Expert,
I have 2 questions.
Scenario: Users login via ssh from other location, using putty. or any other equivalent ssh tunnel. All users has been assigned as sudoers due to testing environment.
1. How to disable sudoers from editing /etc/sudoers
e.g
$ sudo vi /etc/sudoers
2.... (3 Replies)
Discussion started by: regmaster
3 Replies
8. AIX
Hi,
We have Oracle Database on AIX 5.3 server.We want to give ftp access to a user to a specific folder.He should be able to put and get files from that specific folder only.Moreover he should not be able to cd to any other filesystems also along with root directory.
Please note that as per... (1 Reply)
Discussion started by: dwiravi
1 Replies
9. Ubuntu
Hi,
I have given a laptop from company with Ubuntu 10.04 on it.
I have restricted access over it, means I have been given sudo login on it.
SO I am unable to so many major activities over it,
Can you all people tell me the Terminal tricks that I can use to get my hands on it. (1 Reply)
Discussion started by: nixhead
1 Replies
10. Programming
Hello.
I need to write a command line interface that can be invoked either directly from the shell (command sub-command arguments), or as a shell that can process sub-commands.
i want to use bash auto completion for both scenarios.
example: lets say my CLI module is called 'mycli' and there... (5 Replies)
Discussion started by: noamr
5 Replies
group(4) Kernel Interfaces Manual group(4)
NAME
group - Group file
DESCRIPTION
The /etc/group database contains the following information for each group: Group name Encrypted password Numerical group ID A comma-sepa-
rated list of all users allowed in the group
Note: Do not put any spaces between a comma and a username; otherwise, the username following the comma will not be made a part of the
desired group.
The /etc/group file is an ASCII file, with the fields separated by colons. Each group is separated from the next by a new line. If the
password field is null, no password is demanded.
Because of the encrypted passwords, it can and does have general read permission and can be used, for example, to map numerical group IDs
to names.
Note that commands or scripts used for adding users to groups are subject to the 225 character limit on line lengths. However, you can
split lines as appropriate.
RESTRICTIONS
Increasing the number of groups that a user is in beyond 16 can affect services that use ONC RPC. Tru64 UNIX ONC RPC supports up to 32
groups for compatibility with ULTRIX Version 4.2 and higher. Other vendors may support only 16 groups. ULTRIX versions before 4.2 support
up to 8 groups. Users who increase their group membership beyond 8 or 16 groups will not be able to NFS mount file systems from servers
that only support 8 or 16 groups over NFS. In addition, if root group membership is increased beyond 8 or 16, the NIS service will not work
in a mixed NIS server environment where the servers support only 8 or 16 groups. The addgroup command limits the length of a group name to
eight characters or less.
FILES
/etc/group
RELATED INFORMATION
Commands: addgroup(8), groupadd(8), adduser(8), groups(1), passwd(1)
Functions: setgroups(2)
Routines: initgroups(3)
Files: passwd(4)
delim off
group(4)