12-24-2017
Last edited by Scrutinizer; 12-24-2017 at 02:09 AM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I have 3 domains virtually hosted "name based" the first one "domain1.com" has its ServerName entered as domain1.com. this domain will load in a browser by www.domain1.com or simply domain1.com. the next two domains "domain2.com" and "domain3.com" ServerNames are listed as domain2.com and... (2 Replies)
Discussion started by: ericg
2 Replies
2. UNIX for Dummies Questions & Answers
Dear All ,
Kindly note I have sun solaries 7 .
I want to block a domain who keep sending emails to my domain and users .
thanks (1 Reply)
Discussion started by: tamemi
1 Replies
3. Shell Programming and Scripting
Hi guys,
with sed when I need to make a substitution inside a line containing a specific keyword, I usually use:
sed '/keyword/ s/cat/dog/g'
This will substitute "cat" with "dog" on those lines containing "keyword". Now I want to use this inside vi, for several reason that I cannot... (2 Replies)
Discussion started by: lycaon
2 Replies
4. Shell Programming and Scripting
I have this input file that I need to remove lines which represents more than 30 days of processing.
Input file:
On 11/17/2009 at 12:30:00, Program started processing...argc=7
Total number of bytes in file being processed is 390
Message buffer of length=390 was allocated successfully... (1 Reply)
Discussion started by: udelalv
1 Replies
5. Shell Programming and Scripting
Hello,
I want to do a simple substitution using sed but I can't find a solution. Basically, from a Apache conf file, I would like to remove everything included between the <VirtualHost> and </VirtualHost> e.g
SSLMutex file:/var/run/ssl_mutex
<VirtualHost _default_:443>
# A lot of config that... (5 Replies)
Discussion started by: RobertFord
5 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I have a report containing severals organization's email address. The address contain several sub domains, and i need to pull those out.
mail domain ( example.com)
..................
The report column contain mail address in this format :
john1@sub1.example.com... (2 Replies)
Discussion started by: john_prince
2 Replies
7. Shell Programming and Scripting
Hi all,
This is my first post, so please go easy if I broke some rules. Not accustomed to posting in forums... :)
I'm looking for help on pattern matching within a multiline block and looking to highlight blocks/block-ids that do NOT contain a particular pattern.
For example an input file... (5 Replies)
Discussion started by: tirodad
5 Replies
8. Shell Programming and Scripting
Hi
I want to implement something like this:
if( keyword1 exists)
then
check if(keyword2 exists in the same line)
then replace keyword 2 with New_Keyword
else
Add New_Keyword at the end of line
end if
eg:
Check for Keyword JUNGLE and add/replace... (7 Replies)
Discussion started by: dashing201
7 Replies
9. IP Networking
Hey everyone. I work in a data center, and I'm working on getting my CCNA. Now when I read articles on the idea of VLAN's it makes sense. Especially if you have multiple switches daisy chained in multiple locations. My two main questions though are that most of these examples use PC's as examples... (2 Replies)
Discussion started by: Lost in Cyberia
2 Replies
10. Shell Programming and Scripting
Trying to use awk to find a keyword and return the matches in the row, but also $1 and $2, which are the unique id's, but they only appear once. Thank you :).
file
name 31 Index Chromosomal Position Gene Inheritance
122 2106725 TSC2 AD
124 2115481 TSC2 AD
121 2105400 TSC2 AD... (6 Replies)
Discussion started by: cmccabe
6 Replies
LEARN ABOUT SUSE
squid_unix_group
squid_unix_group(8) System Manager's Manual squid_unix_group(8)
NAME
squid_unix_group - Squid UNIX Group external_acl helper
SYNOPSIS
squid_unix_group [-g groupname] [-g groupname...] [-p] [-s]
DESCRIPTION
This helper allows Squid to base access controls on users memberships in UNIX groups.
-g groupname
Specifies a group name to match.
-p Also match the users primary group from /etc/passwd
-s Strip NT domain name component from user names (/ or separated)
EXAMPLES
This squid.conf example defines two Squid acls. usergroup1 matches users in group1, and usergroup2 matches users in group2 or group3
external_acl_type unix_group %LOGIN /usr/local/squid/libexec/squid_unix_group -p
acl usergroup1 external unix_group group1
acl usergroup2 external unix_group group2 group3
NOTES
By default up to 11 groups can be matched in one acl (including commandline specified groups). This limit is defined by MAX_GROUPS in the
source code.
AUTHOR
This manual page was written by Henrik Nordstrom <hno@squid-cache.org>
squid_unix_group is written by Rodrigo Campos <rodrigo@geekbunker.org>
KNOWN ISSUES
Does not understand gid aliased groups sometimes used to work around groups size limitations. If you are using gid aliased groups then you
must specify each alias by name.
QUESTIONS
Any questions on usage can be sent to Squid Users <squid-users@squid-cache.org>
REPORTING BUGS
Report bugs or bug-fixes to Rodrigo Campos <rodrigo@geekbunker.org> or Squid Developers <squid-dev@squid-cache.org>
SEE ALSO
group(5),passwd(5)
Squid UNIX Group helper 12 August 2002 squid_unix_group(8)