LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-16-2005, 01:47 PM   #1
klemen
Member
 
Registered: Dec 2004
Location: Slovenia
Distribution: Slackware and OpenBSD
Posts: 87

Rep: Reputation: 15
Apache user permisions


Hello

I knew it's a option but i can't remember where.
I have an user (which site I hosted) and he can (with his user name and pass) come in the server threw ssh. He can't do anything but he can look.
Which file I have to edit to enable him getting in the server threw ssh?

And another question.
I add user like xyxy, and an mail with xyxy@fklsdfj.com is working, how to change that it will work with info@fklsdfj.com to without adding a new user info?

And how to tell the command add user to which domain to add a user, in case having more domains?


thanks
klemen

Last edited by klemen; 02-16-2005 at 01:54 PM.
 
Old 02-16-2005, 05:11 PM   #2
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
Check if your firewall allows ssh access on port 22 and check your /etc/hosts.allow and hosts.deny files. And have the ssh deamon running

Add mail aliases in /etc/aliases with an alias and a username which exists on the computer. Mail will be redirected from the alias to the user you specify.
 
Old 02-16-2005, 06:32 PM   #3
LordDark
LQ Newbie
 
Registered: Feb 2005
Location: Ecuador
Distribution: Red Hat, Fedora Core
Posts: 15

Rep: Reputation: 0
check the firewall with:

iptables -L

look if the port for the ssh is open.

For change the mail in the apache, search the httpd.conf and configure...
 
Old 02-17-2005, 01:13 AM   #4
klemen
Member
 
Registered: Dec 2004
Location: Slovenia
Distribution: Slackware and OpenBSD
Posts: 87

Original Poster
Rep: Reputation: 15
The SSH is working OK, because I accessing server threw it.

1.But the basic question is, which file to edit to prevent the new user I added on the server to connect threw ssh?

2. I add a user with new domain, how to add him a mail with his domain name (if I tipe adduser he get the mail with aliases of my first domain on the server)?


thanks for your answers.
klemen
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
permisions charnel Linux - General 3 07-10-2005 02:53 PM
adding root permisions to regualr user paul62 Linux - Newbie 6 10-27-2004 01:10 PM
Apache Webserver 403 Forbidden Errors (User not in apache group?) Mankind75 Mandriva 4 07-08-2004 05:30 AM
Slack9 User Permisions g452 Linux - Newbie 10 10-04-2003 10:34 AM
Permisions ToeShot Linux - General 2 11-30-2001 12:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration