If a directory's file mode has the sticky bit set, the standards say:
To set the sticky bit on a directory, you want something like:
the 1000 bit in that mode is the sticky bit. This chmod command must be run by the owner of the directory (or by a process with appropriate privileges [on many systems, this means running as root]).
These 2 Users Gave Thanks to Don Cragun For This Post:
I'm using SAM to add users on an HP and they're adding fine. But in /etc/group it only lists the group names. It's not adding the users in there. Is there a way to have them put in there without going into SAM and modifying the group and adding them? I guess what I want to happen is when I add... (1 Reply)
Hi All,
Does anyone know if there is a maximum limit to the number of users that can be assigned to a group. I currently have on a production server 900+ users in 1 group. I know some of these users are no longer valid as we only have 500 employees and not all employees use this application.
... (4 Replies)
Hi,
Can any one tell me is it possible to setup private key public key pairing(SSH ) for a group of users , instead of setting it up for individual users ?
Eg:
Say i have 3 users A,B and C and i want the users to connect to SERVER1. instead of generating public private keys for each user , is... (3 Replies)
Im trying to put all the groups in into a variable called $GROUP, however in /etc/group there are also lotsa users. And the GID of group can differ as it can be set, this there is no specific range, how can i put all the names of the groups into that variable? (3 Replies)
Hello
They have ordered to me that makes several small utilities in C/C++ for the servants, among them a small program in C/C++ to generate a file HTML with the groups of that servant and in addition that is the corresponding users of that group.
For example of a group:
Group: Sys Members:... (2 Replies)
hi guys
I am trying to display a list of groups and the respective users:
Group1 : user1 user2 user3 ....
the closest thing I get is
echo " "; echo "Group Users "; echo " "; cat /etc/group |grep | grep -v nfswhich I really don't since I want to remove the other stuff like x : and... (4 Replies)
Hi,
please let me know the commands to create new group/delete existing group in unix and assigning users to newly created group.
Thank you in advance. (2 Replies)
Discussion started by: kancherla.sree
2 Replies
LEARN ABOUT DEBIAN
ldapgid
ldapgid(1) General Commands Manual ldapgid(1)NAME
ldapgid - displays a group's list of IDs the way ldapid(1) does.
SYNOPSIS
ldapgid [-P]<groupname|gid>
DESCRIPTION
The following is displayed : gid=gidNumber(cn) users(primary)=uidNumber(uid)[,uidNumber(uid)...] users(secondary)=uidNumber(uid)[,uidNum-
ber(uid)...].
users(primary) lists users having the group declared as their primary group. users(secondary) lists users using the group as a secondary
one.
OPTIONS
<groupname | gid>
Group name or GID of a group to show information about.
[-P] Display group information as a /etc/group file entry.
SEE ALSO ldapid(1), lsldap(1), ldapfinger(1), ldapscripts(5).
AVAILABILITY
The ldapscripts are provided under the GNU General Public License v2 (see COPYING for more details). The latest version of the ldapscripts
is available on : http://contribs.martymac.org
BUGS
No bug known.
January 23, 2009 ldapgid(1)