09-02-2011
What do you think?
What are you thinking of?
Most cases its a way to have account aliases (so same privileges...) side effect do exist though...
This User Gave Thanks to vbe For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Something strange happend today, I checked in /var/log has usual and I noticed that I have a "messages.1", "cron.1" "maillog.1", and so on. This has never happened before so I just want to know if this is normal? Before I always had "messages" "maillog" and "cron" but now I have 2 of each file.... (4 Replies)
Discussion started by: DISTURBED
4 Replies
2. SCO
I have a weird problem, about 6 times a day a print job will be printed twice (out of more than 100 print jobs per day).
It seems as though sometimes a print job is not cleared from the print spooler after the first print, and then reprints.
This started a week ago after I had made printer... (1 Reply)
Discussion started by: Barry Staples
1 Replies
3. UNIX for Advanced & Expert Users
Hi,
I have the root id and the uid is always 0 for the root. Can i create another user say admin with the uid as 0? If so will it have the same privilege as that of user.
Will there be any effect while doing this?
lorcan (6 Replies)
Discussion started by: lorcan
6 Replies
4. Shell Programming and Scripting
hi all,
i have a file contain multicolumns, this file is sorted by col2 and col3.
i want to remove the duplicated columns if the col2 and col3 are the same in another line.
example
fileA
AA BB CC DD
CC XX CC DD
BB CC ZZ FF
DD FF HH HH
the output is
AA BB CC DD
BB CC ZZ FF... (6 Replies)
Discussion started by: kamel.seg
6 Replies
5. Shell Programming and Scripting
I can not figure out this one, so I turn to unix.com for help, I have a file, in which there are some lines containing continuously duplicate columns, like the following
adb abc abc asd adfj
123 123 123 345
234 444 444 444 444 444 23
and the output I want is
adb abc asd adfj
123 345... (5 Replies)
Discussion started by: fedora
5 Replies
6. Shell Programming and Scripting
Input file:
hcmv-US25-2-3p hsa-3160-5
hcmv-US33 hsa-47
hcmv-UL70-3p hsa-4508
hcmv-UL70-3p hsa-4486
hcms-US25 hsa-360-5
hcms-US25 hsa-4
hcms-US25 hsa-458
hcms-US25 hsa-44812
.
.
Desired Output file:
hcmv-US25-2-3p hsa-3160-5
hcmv-US33 hsa-47
hcmv-UL70-3p hsa-4508
hsa-4486... (3 Replies)
Discussion started by: perl_beginner
3 Replies
7. Shell Programming and Scripting
i have code to generate passwords but the issue is the duplicated chars
so can any one help and give me function to check and verify if there is any duplicated chars as also the script uses capitals and small letters and numbers only
many thx guys (4 Replies)
Discussion started by: Suicide_king
4 Replies
8. UNIX for Dummies Questions & Answers
Hi Guys..
I have a problem for some reason my database has copied everything 4 times.
My Database looks like this:
>BAC233456
rhjieaheiohjteo
tjtjrj6jkk6k6
j54ju54jh54jh
>ANI124365
afrhtjykulilil
htrjykuk
rtkjryky
ukrykyrk
>BAC233456
rhjieaheiohjteo
tjtjrj6jkk6k6
j54ju54jh54jh... (6 Replies)
Discussion started by: Iifa
6 Replies
9. Shell Programming and Scripting
I have a script to get files from remote server to local path the issue I wanna log the output of every collected files but look like something went wrong , I feel that my error is hide in what follows:
In ftp function I did not manage to control if file exist in my local directory then... (2 Replies)
Discussion started by: arm
2 Replies
10. Shell Programming and Scripting
Hi, if i have a file like this:
Query=1
a
a
b
c
c
c
d
Query=2
b
b
b
c
c
e
.
.
. (7 Replies)
Discussion started by: the_simpsons
7 Replies
aliases(4) Kernel Interfaces Manual aliases(4)
NAME
aliases - Contains alias definitions for the sendmail program
SYNOPSIS
/var/adm/sendmail/aliases
DESCRIPTION
By default, the aliases file contains the required aliases for the sendmail program. Do not delete these defaults because they are needed
by the system. This file describes user ID aliases used by the sendmail command. It is formatted as a series of lines in the form: name:
name_1, name_2, name_3,..
The name is the name that needs an alias, and the name_n are the aliases for that name. Lines beginning with white space are continuation
lines. Lines beginning with a # (number sign) are comments.
You can define an alias only on local names. Duplicate addresses are removed and no message is sent to any person more than once. For
example, if name_1 defines an alias that is name_2 and name_2 defines an alias that is name_1, sendmail does not send the same message back
and forth. Local and valid recipients who have a .forward file in their home directory have messages forwarded to the list of users
defined in that file.
This is only the raw data file; the actual information that defines the aliases is placed into a binary format in the files /var/adm/send-
mail/aliases.dir and /var/adm/sendmail/aliases.pag using the newaliases command. For the change to take effect, the newaliases command
must be executed each time the aliases file is changed.
The sendmail program also supports sending messages to programs or appending a message to a file. See the sendmail(8) reference page for
further information.
Special Aliases
Directs error messages that occur when sending to aliasname back to address.
RESTRICTIONS
Aliases for sendmail use the dbm(3) database format for faster lookups. A single alias cannot exceed 1,000 characters. To work around this
restriction, you can chain together aliases. For example: alias-list: ali1, ali2, ali3 ali1: name 1, name 2 ... ali2: name n, name n + 1
FILES
Binary aliases file. Binary aliases file.
RELATED INFORMATION
Commands: newaliases(1), forward(4), local.users(4), sendmail(8) delim off
aliases(4)