04-14-2008
dear jb_bsd,
Many thanks for your kind attention.
Actually, the group creation was needed by an application other than apache but that's minor.
First step from your instruction was done some time ago following the tip from Sergiu-IT (earlier in this here thread: "Try to manualy edit the /etc/group file.")
However, the idea of checking the group (second step from your instruction) is wholly your merit.
I did as you told and the box replied "/etc/group is fine".
So, the problem is solved yet still remains my question:
Does 'addgroup' command exist at all in this release of freebsd?
obligedly and muchly so yours`
sehrguey
10 More Discussions You Might Find Interesting
1. Linux
Hi guys,
i encountered this error when i try to create a group. What is the problem here? I created a few groups weeks before this. I was recommended to reboot the machine, but i am not the owner of the machine, thus i would prefer to know the cause and any other solution other than rebooting the... (1 Reply)
Discussion started by: Daven81
1 Replies
2. Shell Programming and Scripting
hello all
im trying to use in sun Solaris the information received from the top command
now i several machines that dont have install the top program so when im running the script im geting error
saying after im running this code :
set MemoryInfo = `top | grep Memory`
if (... (2 Replies)
Discussion started by: umen
2 Replies
3. UNIX for Dummies Questions & Answers
Hi guys,
I do apologise if this question has been asked before. I am currently running Solaris 10 on a x86 architecture. Now, the problem I am having relates to the issuing of commands, for example if I am trying to find out the ipaddress of the machine I would issue the command 'ipconfig -a |... (2 Replies)
Discussion started by: BigTool4u2
2 Replies
4. UNIX for Dummies Questions & Answers
Hello everyone-I am a new Unix user, only in my second week of class, and i am having a real hard time getting the groupadd command to work. The command I am using is /usr/sbin/groupadd mygroup. When I try this to create a group called "mygroup" I get a "Permission Denied" message. Am i using the... (3 Replies)
Discussion started by: mfruiz34
3 Replies
5. HP-UX
I want to add several users and several groups to a HPUX 11.31 box.
When I type groupadd -g GID <name>, I'm told GID is not unique....even though it doesn't exist in the /etc/group file.
I read in the man pages about NIS but I don't think we are using NIS....well we are using LDAP, but can... (1 Reply)
Discussion started by: jackiebaron
1 Replies
6. Solaris
I have installed Solaris recently. I was doing "for file in *.c; ...." at the command prompt, it says for: command not found. I tried changing shells, but still wouldn't work.
Any ideas? (7 Replies)
Discussion started by: software2007
7 Replies
7. Shell Programming and Scripting
I created a script that I need to run from time to time, but get this error message. To get it working again I run this command from time to time:
export PATH="$PATH:~/scripts"
I put all my automated scripts in the /scripts directory and would like to run my scripts from any directory... (5 Replies)
Discussion started by: catalinawinemxr
5 Replies
8. Shell Programming and Scripting
I am running the export command within a view to use that value inside my build script. But while executing it it is saying "export command not found"
My code is as follows:
--------------------------
#!/bin/sh
user="test"
DIR="/bldtmp/"$user
VIEW="test.view1"
echo "TMPDIR before export... (4 Replies)
Discussion started by: dchoudhury
4 Replies
9. Shell Programming and Scripting
Hi Experts,
I am very much new to linux scripting, I am currently working on reducing my manual work and hence writing a script to automate few task.
I am running below command to snmpwalk the router..
snmpwalk -v 3 -u WANDL_SU -a MD5 -A vfipmpls -x DES -X VfIpMpLs -l authPriv... (19 Replies)
Discussion started by: Hanumant.madane
19 Replies
10. Shell Programming and Scripting
Dear All,
I am trying to install a program in Opensuse linux and while issuing the 'make' command, its showing me an error /bin/sh: C: command not found
Kindly help me to troubleshoot the problem.
I have gcc, c++ all install in the linux machine.
Thanks (9 Replies)
Discussion started by: biochemist
9 Replies
LEARN ABOUT OPENSOLARIS
putdgrp
putdgrp(1M) System Administration Commands putdgrp(1M)
NAME
putdgrp - edits device group table
SYNOPSIS
putdgrp [-d] dgroup [device]...
DESCRIPTION
putdgrp modifies the device group table. It performs two kinds of modification. It can modify the table by creating a new device group or
removing a device group. It can also change group definitions by adding or removing a device from the group definition.
When the command is invoked with only a dgroup specification, the command adds the specified group name to the device group table if it
does not already exist. If the -d option is also used with only the dgroup specification, the command deletes the group from the table.
When the command is invoked with both a dgroup and a device specification, it adds the given device name(s) to the group definition. When
invoked with both arguments and the -d option, the command deletes the device name(s) from the group definition.
When the command is invoked with both a dgroup and a device specification and the device group does not exist, it creates the group and
adds the specified devices to that new group.
OPTIONS
The following options are supported:
-d Delete the group or, if used with device, delete the device from a group definition.
OPERANDS
The following operands are supported:
dgroup Specify a device group name.
device Specify the pathname or alias of the device that is to be added to, or deleted from, the device group.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
1 Command syntax was incorrect, an invalid option was used, or an internal error occurred.
2 Device group table could not be opened for reading or a new device group table could not be created.
3 If executed with the -d option, indicates that an entry in the device group table for the device group dgroup does not exist and so
cannot be deleted. Otherwise, indicates that the device group dgroup already exists and cannot be added.
4 If executed with the -d option, indicates that the device group dgroup does not have as members one or more of the specified devices.
Otherwise, indicates that the device group dgroup already has one or more of the specified devices as members.
EXAMPLES
Example 1 Adding a new device group.
The following example adds a new device group:
example# putdgrp floppies
Example 2 Adding a device to a device group.
The following example adds a device to a device group:
example# putdgrp floppies diskette2
Example 3 Deleting a device group.
The following example deletes a device group:
example# putdgrp -d floppies
Example 4 Deleting a device from a device group.
The following example deletes a device from a device group:
example# putdgrp -d floppies diskette2
FILES
/etc/dgroup.tab
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
listdgrp(1M), putdev(1M), attributes(5)
SunOS 5.11 5 Jul 1990 putdgrp(1M)