Dažādas piezīmes

group in /etc/aliases RSS šim rakstam 
23:00:49 03/02/2008 iesūtījis hQuse - Sadaļa: hQuse
Šis baigi noderēja:

Re: group in /etc/aliases     
Mark Faine wrote:
> I've been searching all day for some way 
> to put a group in /etc/aliases,
>   the fact that I haven't found much leaves 
> me thinking there may be
> none, or at least no practical way.

Perhaps this would be helpful. It is a way to create 
an "all users"
alias. I found this on the net some years ago. 
You may be able to
modify the idea to suit your needs.

Create an aliases entry
	alluser:	:include:/etc/mail/allusers

Don't forget to run 'newaliases'

List your users, one per line, in the file '/etc/mail/allusers'

You can do that with
	awk -F: '$3 > 100 { print $1 }' /etc/passwd > /etc/mail/allusers

Citi raksta

Pašlaik nav komentāru

Komentēt...

Šim ierakstam komentēšanas iespēja ir atslēgta!
This item is closed, it's not possible to add new comments!

Šurpu turpu

«« Šie divi raksti man neliek mieru RIX - ICN »»

Locations of visitors to this page