hii alll
I need clarification regarding solaris administration what the best way to fine tune the solaris system in in sparc system.I had solaris 8 running on sunblade 1000 can i delete files from var(like what all files i can delete or remove) like wise for other slices what all i can... (1 Reply)
Hello, I inhearited several solaris machines (read that about 30 of them) and have a need to be able to manage the user accounts remotely.... Currently the machines all have the same users but not exactly the same spelling (each machine was locally managed before and thus every single passwd/shadow... (2 Replies)
I have an application that runs on Unix and the user administration is managed at a Unix level. The application has an application ID which is linked to the user ids which are created at Unix level. Can you please help if I can be able to track which user used the Application ID and what action was... (0 Replies)
hi '
i am creating a primary group and a secondary group for a user.
#groupadd -g 101 test
#groupadd -g 102 test1
#useradd -d /export/home/user1 -m -s /bin/ksh -g test -G test user1
in /etc/passwd i can find the username as user1 and group name as test
and where can i find the... (4 Replies)
Hi Everyone,
Could you please help me with Solaris 10 administration docs?
I need this as i will soon be taking up the role of a administrator.. (2 Replies)
Dear All,
I need to restrict the users in our server.
1.History & history -c command working all groups & others.So i need to restrict history -c option for groups & others .
2.Any option available to view user activity with all
Eg--->user1 Jul22 10:20:11 date
3.Any other Special... (7 Replies)
Dear All
Please how can I create a user which would be only able to manage queue printer like creating, release, hold etc a printer queue. He would for example be able to enter commands like :
- lpstat -pprintqueue where printqueue is an existing queue on the server
- enable printqueue... (0 Replies)
Discussion started by: sobnc
0 Replies
LEARN ABOUT FREEBSD
groupmod
groupmod(1M) System Administration Commands groupmod(1M)NAME
groupmod - modify a group definition on the system
SYNOPSIS
/usr/sbin/groupmod [ -g gid [-o]] [-n name] group
DESCRIPTION
The groupmod command modifies the definition of the specified group by modifying the appropriate entry in the /etc/group file.
OPTIONS
The following options are supported:
-g gid Specify the new group ID for the group. This group ID must be a non-negative decimal integer less than MAXUID, as defined in
<param.h>. The group ID defaults to the next available (unique) number above 99. (Group IDs from 0-99 are reserved by SunOS for
future applications.)
-n name Specify the new name for the group. The name argument is a string of no more than eight bytes consisting of characters from the
set of lower case alphabetic characters and numeric characters.
A warning message will be written if these restrictions are not met. A future Solaris release may refuse to accept group fields
that do not meet these requirements. The name argument must contain at least one character and must not include a colon (:) or
NEWLINE (
).
-o Allow the gid to be duplicated (non-unique).
OPERANDS
The following operands are supported:
group An existing group name to be modified.
EXIT STATUS
The groupmod utility exits with one of the following values:
0 Success.
2 Invalid command syntax. A usage message for the groupmod command is displayed.
3 An invalid argument was provided to an option.
4 gid is not unique (when the -o option is not used).
6 group does not exist.
9 name already exists as a group name.
10 Cannot update the /etc/group file.
FILES
/etc/group group file
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO users(1B), groupadd(1M), groupdel(1M), logins(1M), useradd(1M), userdel(1M), usermod(1M), group(4), attributes(5)NOTES
The groupmod utility only modifies group definitions in the /etc/group file. If a network name service such as NIS or NIS+ is being used to
supplement the local /etc/group file with additional entries, groupmod cannot change information supplied by the network name service. The
groupmod utility will, however, verify the uniqueness of group name and group ID against the external name service.
SunOS 5.10 5 Dec 1995 groupmod(1M)