Assign groups by e-mail


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Assign groups by e-mail
# 1  
Old 10-09-2007
Data Assign groups by e-mail

Folks;
I want to give a group a read access to a directory tree, but i want the group to be defined by the email account. here's the details:

I have a punch users who use e-mail addresses of "*@blue.com".
I want give this group of "*@blue.com" a read access to a directory tree so every one who has "user_name@blue.com" will be able to read any files under this directory /opt/dirs/

BTW: I couldn't find ".mailrc" on my Solaris 8 to add aliases

Any help will be appreciated
# 2  
Old 10-09-2007
Do these people have logins on this server?
# 3  
Old 10-09-2007
No, that's why i need to use the group by e-mail so i can allow any user who
part of this email address can read the files under the directory
# 4  
Old 10-10-2007
Quote:
Originally Posted by moe2266
...can read the files under the directory
How are they going to read that directory? What application, tool, protocol etc?
# 5  
Old 10-10-2007
The directory is located on UNIX server & has punch of web applications & html files. there's a link can be opened through any web browser to access these web pages & directory contents
I want these users to be able to access these web pages & the directory contents when they click on the link
# 6  
Old 10-10-2007
Some information might be useful, such as the platform you are running on and the web server you are using.
# 7  
Old 10-10-2007
Actually this is an access control issue ( i believe related to Apache) & i want these users whos email under "*@blue.com" to be able to access this webpage with all its contents

This is Apache 2.0 running on Solaris 8
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Client was not authenticated to send anonymous mail during MAIL FROM (in reply to MAIL FROM comm

I am having trouble getting mail to work on a red hat server. At first I was getting this message. Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to :25: Connection refused Then added the port to my firewall. Then I temporarily turned off selinux. I then copied this file... (1 Reply)
Discussion started by: cokedude
1 Replies

2. UNIX for Beginners Questions & Answers

How to write a UNIX script to send a mail to the respective individual users about their groups?

Hi Team, I got a requirement to send a mail to the individual users of a unix server about their respective groups. can some one help me to provide the script as I am unable to write that. I tried with below lines but I come out with errors. cat /etc/passwd | awk -F':' '{ print $1}' |... (6 Replies)
Discussion started by: harshabag
6 Replies

3. Shell Programming and Scripting

Script to read through a file and create new users/assign them to groups in Ubuntu

Hi all. I need a shell script that can, in short, read through a text file line by line and create a new user in Ubuntu, as well as assign that user to a group. The format of the text file is not important but preferably: 'username:group'. I don't have much programming knowledge no matter shell... (3 Replies)
Discussion started by: LewisWeekly
3 Replies

4. UNIX for Dummies Questions & Answers

Groups

Must I be in a group? I am using Ubuntu and am the only user on my PC. I know how to change groups but do not see a way to not be in a group. Any help would be appreciated. (2 Replies)
Discussion started by: nthepines
2 Replies

5. UNIX for Advanced & Expert Users

need to configure mail setting to send mail to outlook mail server

i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail. actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies

6. Solaris

groups

1 user in member of 4 groups find file permissions and default group (1 Reply)
Discussion started by: tirupathi
1 Replies

7. Solaris

groups

how to create 1000 users in 1 group (0 Replies)
Discussion started by: tirupathi
0 Replies

8. Solaris

how to assign the rights to groups in solaris

Hi, how to assign the rights(admin,..) to groups . I can create group using groupadd. but i don't know how to assign rights and adding members please tell me how to do that Thank you (2 Replies)
Discussion started by: S_venkatesh
2 Replies

9. Solaris

how to forward mail in /var/mail/username to external mail

Dear All, Now I use solaris 10 and I try to forward mail from /var/mail/username to their external mail so what should I do? thank u in advance (2 Replies)
Discussion started by: unitipon
2 Replies

10. UNIX for Dummies Questions & Answers

mail problem (NOT Mail or Mail.app)

When I try to use the CLI mail, I get the following error. What's wrong? Welcome to Darwin! % mail root Subject: test test . EOT % /etc/mail/sendmail.cf: line 81: fileclass: cannot open /etc/mail/local-host-names: Group writable directory Do I just need to change the... (1 Reply)
Discussion started by: chenly
1 Replies
Login or Register to Ask a Question