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,
I already gone through with old post regarding listing the group members and tried the command
getenv group other
the result is
other::1:root
i listed my part of the /etc/passwd file below
test1:x:100:1::/home/test1:/bin/sh
test2:x:101:1::/home/test2:/bin/ksh... (7 Replies)
Is there a command or better combination of cmds that will give me the list of Unix users in a particular Unix group whether their primary group is that group in question (information stored in /etc/passwd) or they are in a secondary group (information stored in /etc/group).
So far all I got... (5 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)
Dear All
I am facing a problem with my script.
I have to found the primary group of users .
So first I selected all the groups and users register from a specific user : ONE
Then I am making a file with all groups attached to the user : ONE
Then I am making a file with all... (8 Replies)
Discussion started by: Aswex
8 Replies
LEARN ABOUT FREEBSD
utx
UTX(8) BSD System Manager's Manual UTX(8)NAME
utx -- manage the user accounting database
SYNOPSIS
utx boot
utx shutdown
utx rm identifier ...
DESCRIPTION
The utx utility can be used to perform operations on the user accounting database, as done by pututxline(3).
The first argument to utx indicates an action to be performed:
boot Write a boot time record to the user accounting database. This option should typically only be used by rc(8).
shutdown Write a shutdown time record to the user accounting database. This option should typically only be used by rc(8).
rm Remove stale sessions from the user accounting database, by referring to their identifier. Stale sessions can occur if a login
service exits prematurely or fails to remove the session from the accounting database.
Utilities such as w(1) will not display the identifier corresponding with a login session, since its value is typically only of use
by the process managing the record. The following command can be used to obtain all records from the user accounting database's
active session table, including its identifiers:
getent utmpx active
Identifiers can either be supplied in hexadecimal form as displayed by getent(1), or as a string if the identifier allows such a
representation.
Because this utility requires write-access to the user accounting database, its use is limited to the super-user.
SEE ALSO getent(1), w(1), pututxline(3)HISTORY
The utx utility replaced utxrm in FreeBSD 10.0.
AUTHORS
Ed Schouten <ed@FreeBSD.org>
BSD November 3, 2013 BSD