Hello,
I am trying to use the CDE File Manager in AIX to filter out files that I want to be hidden in the file manager. It gives me a script box that I can supposedly enter a regex into if I want to filter out additional file types.
Example: "Also Hide:"_______________
I can put... (0 Replies)
I'm a newbie and want to learn a programming language, willy-nilly I picked python...
Should I go with 2.6.x which at first glance seems extremely well documented, or should I go with 3.0, which is new and shiny?!
I want...no...I'm going to NEED fantastic documentation or I'm going to fail... (2 Replies)
Hello everyone,
Just started UNIX today! In our school we use solaris. I just want to know how do I setup Solaris 10 not the GUI one, the one where you have to type the commands like ECHO, ls, pwd, etc... I have windows xp and I also have vmware.
I hope I am not missing anything! :p (4 Replies)
I have the below string and regex. However I cant understand why it works the way it does. IP has been changed for safety ;)
String = NowSMS Error Report. Error initializing SMSC Interface 'SMPP - 10.15.8.10:17600'. Interface is not available.
Regex = (.+\.)\s(.+)
I get two... (1 Reply)
Hello,
Although I have found similar questions, I could not find
advice that could help with my problem. The issue:
I am trying to replace all occurrences of a regex, but
I cannot make the regex groups work together.
This is a simple input test file:
The Vedanta Philosophy... (3 Replies)
I setup Zoneminder and have been playing around with setting up a couple of Wanscam PTZ ip cameras in which I have been running into road blocks with streaming and etc. I cant find much information on the camera and its webserver that sits on it and wanted to get a an absolute directory structure... (5 Replies)
As a newbie to Python, I am trying to write a script in which is will add all the log files (*.log) from within a directory to a list, open the files and search for an ip using a regex and single it out (appending the ip's to the list). So far, I have:
import re, os
def list_files()
content = ... (4 Replies)
Well, I'm a python noob and my last post here I was introduced to Regex. I thought this would be easy since I knew Regex with Bash. However, I've been banging my head a while to extract an ip address from ifconfig with this:
#!/usr/bin/python
import re
import subprocess
from subprocess... (5 Replies)
Here is a snippet of my code:
blahblahblah...
blah
for link in goodies.soup.find_all('a'):
blah.append(link.get('href'))
blah=list(set(blah))
which gives my list of urls. So now I use a regex to search for the relevant urls which I want in a list:
for r... (0 Replies)
Hello
I have a big excel file for Ticket Data Analysis. The idea is to make meaningful insight from Resolution Field. Now as people write whatever they feel like while resolving the ticket it makes quite a task.
1. They may or may not tag it with something like below within the resolution... (1 Reply)
Discussion started by: radioactive9
1 Replies
LEARN ABOUT OPENDARWIN
nischgrp
nischgrp(1) User Commands nischgrp(1)NAME
nischgrp - change the group owner of a NIS+ object
SYNOPSIS
nischgrp [-AfLP] group name...
DESCRIPTION
nischgrp changes the group owner of the NIS+ objects or entries specified by name to the specified NIS+ group. Entries are specified using
indexed names (see nismatch(1)). If group is not a fully qualified NIS+ group name, it will be resolved using the directory search path
(see nisdefaults(1)).
The only restriction on changing an object's group owner is that you must have modify permissions for the object.
This command will fail if the master NIS+ server is not running.
The NIS+ server will check the validity of the group name prior to effecting the modification.
OPTIONS
The following options are supported:
-A Modify all entries in all tables in the concatenation path that match the search criterion specified in name. This option implies
the -P switch.
-f Force the operation and fail silently if it does not succeed.
-L Follow links and change the group owner of the linked object or entries rather than the group owner of the link itself.
-P Follow the concatenation path within a named table. This option only makes sense when either name is an indexed name or the -L
switch is also specified and the named object is a link pointing to entries.
EXAMPLES
Example 1: Using the nischgrp Command
The following two examples show how to change the group owner of an object to a group in a different domain, and how to change it to a
group in the local domain, respectively.
example% nischgrp newgroup.remote.domain. object
example% nischgrp my-buds object
This example shows how to change the group owner for a password entry.
example% nischgrp admins '[uid=99],passwd.org_dir'
In the previous example, admins is a NIS+ group in the same domain.
The next two examples change the group owner of the object or entries pointed to by a link, and the group owner of all entries in the hob-
bies table.
example% nischgrp -L my-buds linkname
example% nischgrp my-buds '[],hobbies'
ENVIRONMENT VARIABLES
NIS_PATH If this variable is set, and the NIS+ name is not fully qualified, each directory specified will be
searched until the object is found (see nisdefaults(1)).
EXIT STATUS
The following exit values are returned:
0 Successful operation.
1 Operation failed.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWnisu |
+-----------------------------+-----------------------------+
SEE ALSO nis+(1), nischmod(1), nischown(1), nisdefaults(1), nisgrpadm(1), nismatch(1), nis_objects(3NSL), attributes(5)NOTES
NIS+ might not be supported in future releases of the SolarisTM Operating Environment. Tools to aid the migration from NIS+ to LDAP are
available in the Solaris 9 operating environment. For more information, visit http://www.sun.com/directory/nisplus/transition.html.
SunOS 5.10 10 Dec 2001 nischgrp(1)