08-22-2016
Hi freshmeat,
Am I correct when I say this is a Cluster, if it is can you give us some more info on the configs.
I'm not sure that you'd be able to mount this up with two unique UID's, as when the service fails over all the existing connections will be lost - the good thing is that the half that couldn't work will now be working.
I's possibly a little messy, but it would be better to use the group access for the fail over service.
Regards
Gull04
10 More Discussions You Might Find Interesting
1. Linux
all the files and directories in my system are owned by root only.i try to(from root loggin) change the permission on the file but not permitted.can any one help to fix my problem .also while installing any software always error occur like no makefile available (1 Reply)
Discussion started by: jop
1 Replies
2. Red Hat
Hi,
I am using redhat AS 3. Recently, I was asked to implement a security control on the OS: to change ownership of /var/log/wtmp to root:sys and permission to 600. However, when I made the change and reboot the machine, everything was reverted. How come? Please help.
The following is the... (1 Reply)
Discussion started by: voa2mp3
1 Replies
3. UNIX for Advanced & Expert Users
Folks,
I have a problem with a particular file, that seems to have some kind of lock on it, that takes around 1 hour approx to timeout. I have used lsof and nothing has an open file handle on it, yet I cannot open it. My user/group owns the file and I can create edit/delete files in... (6 Replies)
Discussion started by: scottrus
6 Replies
4. Shell Programming and Scripting
Hi, all!
Is it possible to use umask and to set the file permission level as 775?
I know I can add chmod into my scripts but I just want to explore the umask option.
Thanks! (1 Reply)
Discussion started by: visio2000
1 Replies
5. Shell Programming and Scripting
I want to change the permission of a file when it gets created in a particular directory. For instance, I have directory MyDir. Everytime a file gets created in that directory, I would like to change the permission to 777.
The context is that I have a 3rd party appication running as root. Only... (2 Replies)
Discussion started by: laiko
2 Replies
6. Shell Programming and Scripting
Here is the sample code I'm trying to execute. I see that the permission on the file is set to 755 always I want to change it to 777. Please help me with this.
code :
#!/usr/bin/perl
use File::Path qw(make_path remove_tree);
my $path = "2010/sam";
make_path($path,{mode=>0777});
... (1 Reply)
Discussion started by: hansini
1 Replies
7. UNIX for Dummies Questions & Answers
I'm trying to setup a directory structure for my staff which enables them full access to files in the directories with their name, and have access to anything in the shared directory. The directory structure looks like this:
root@www10 # ls -l
total 56
drwxr-xr-x 7 internal internal 4096... (3 Replies)
Discussion started by: v_greg
3 Replies
8. UNIX for Advanced & Expert Users
Default file system currently is 664.
I would like to get it as 774.
As other users of the same group was not able execute the file created any any user.
chmod cannot be used in my case. (Files are created and executed the programs owned by different vendors)
we know that umask is not going... (3 Replies)
Discussion started by: deepakwins
3 Replies
9. Shell Programming and Scripting
Hi All,
can some one suggest me a tool to compare file ownership/permission and contents of files located at two different unix servers?
Thanks,
Pranav (1 Reply)
Discussion started by: Pranav Bhasker
1 Replies
10. AIX
Hi.
My example:
I have a filesystem /log. Everyday, log files are copied to /log. I'd like to set owner and permission for files and directories in /log like that
chown -R log_adm /log/*
chmod -R 544 /log/*It's OK, but just at that time. When a new log file or new directory is created in /log,... (8 Replies)
Discussion started by: bobochacha29
8 Replies
LEARN ABOUT SUNOS
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)