Server :: Only Allow User Access Web-server On Working Hours?
Aug 3, 2010I only allow my users to access my web-server (apache) on working hours (mon to fri and 08:00 to 17:00).. how to configure my Apache?
View 2 RepliesI only allow my users to access my web-server (apache) on working hours (mon to fri and 08:00 to 17:00).. how to configure my Apache?
View 2 RepliesI am new to Linux and need to add user access to a particular directory on a Linux server (SUSE 9.1).I am able to access the directory via telnet however I do not know the commands to add the user. userBFA needs readwrite access to the SMF directory. Please let me know if any additional information is needed.
View 5 Replies View RelatedI have configured proftp. I want to access by the particular user. I have configured file, but not able to login. message getting login failed.
[root@localhost ftp]# vi /etc/proftpd.conf
# Use this to excude users from the chroot
DefaultRoot ~ !adm
# Use pam to authenticate (default) and be authoritative
AuthPAMConfig proftpd
AuthOrder mod_auth_pam.c* mod_auth_unix.c
[Code]...
I am using Sloaris OS.
Is there any way to check who (which users)can access a particular server?
Weather a user has access to a server or not??
I have a file server on my network. It is accessed mainly by linux machines throught NFS, but sometimes I need to access it from windows, and I managed to get Samba up and running with only one share with no password, which is what I want.My users have their "private" folders which are just chmodded 700, and under NFS it works fine, but on samba I get, of course, access denied.How can I configure samba so that it asks a password to access those directory? They can become separate shares, and have their own username and passwords (not the ones in /etc/passwd in the server), I don't care.
View 1 Replies View Relatedls -al /guests
I want to be able to assign the group "readers" read access to guests/c1 but it says access denied. but it shows r-x acsess. i want to be able to control who has read access and not just give it to everybody.
Am using Suse 10.2 for internet and e-mail server. currently all my users have access to the internet if they know how to setup their web browsers. how do i deny some users internet access so that a user can only access his/her e-mail but not internet.
View 1 Replies View RelatedI configured a FTP Server on Fedora Now I want to create a user for FTP Server which has no privileges to access any things outside his home directory .
Username is "Test1"
Home directory is /var/ftp/Test1
chmod 700 /var/ftp/Test1
chown Test1 /var/ftp/Test1
ubuntu terminal. I have installed mysql-server, but i have no access. I have set the password during installation process.
Used command:
mysql -u root -p
error message:
[code]....
I am using vicidialnow 1.2 VERSION: 2.0.4-122 and BUILD: 81011-0855 (CEntos Based Dialer). In all the way, it is working fine. I want to give the access of command /usr/sbin/mtr to a Normal System USer, which is not working according to my wish. I have make the entry in as sudo or make the soft link of /usr/sbin/mtr to /bin. But all in vain. And i am not in the condition to give the root access to the user.
View 4 Replies View RelatedHow can I give 1 user access to mount 1 particular filesystem? This is for Debian 6 64bit.
View 4 Replies View RelatedI'm using squid for proxy server in FC6. I'm also using squidGuard for web-site access restriction. I want to do some exception now for website access. My network ip block is 192.168.7.0/24 and facebook.com is restricted for all with squidGuard, but i want to allow facebook.com only in 192.168.7.51/32.
my squidGuard.conf file looks like below:
I have a Linux mail server (Fedora). This server was set up long before i joined this organization. Now I have these issues I would request assistance:
1. I am not able to access the Graphical User Interface(gui) on this machine. Startx does not work. I have also tried using combination keys alt+ctrl+f...keys but no progress. As a result am not bale to do some tasks.
2. The clamav that is on the machine has since become outdated. Efforts to update it to latest versions have failed. How do i get to update clamav and protect my system?
3. Because of not being able to access the gui as well as the inability to update clamav have led to my server apparently sending spam mail which in turn have led to my public ip being black listed in a number of sites. Now how can i secure this server so that it stops sending the spam mail and hence avoid future blacklisting?(NB am using postfix and the server sits behind a router which connects to the Internet)
4. I have observed that the server has some iptables rules set but everytime the server restarts the rules stop. I have to manually restart them again to run. How do I sort this?
I have configured squid proxy on centos 5.5 and some of my squid.conf file has following lines
Code:
http_access allow ncsa_users office
There are 3 users called "user034, user035 and user050" in the /etc/squid/squid_passwd file need to restricted access to internet except sites www.abc.com form anywhere in the lan. Once they logged in any ip, rule should apply.(that means no ip related acl, only user name related) How can I configure this in squid.
In CGI scripts, there are certain files that are getting "permission denied" when it seems they should be accessible by the apache user. I am running the default package install of apache under fedora. Here is an example:The following is /var/www/cgi-bin/test.pl
Code:
#!/usr/bin/perl
use strict;
[code]...
I've tried every manual there is for creating new MySQL users ... but without success.
I keep getting
Code:
ERROR 1045 (28000): Access denied for user 'test'@'localhost' (using password: YES) even though I just created it with all privileges ... WITH a password that I DO remember .
Fortunately I still have access via the MySQL root user (so I try not to disturb that user, because I have had computers with THAT account not accessible as well - even WITH resetting the password via skip-grant-tables).
for create an user I put:
useradd username
passwd username
I have samba server(Fedora 11) here,but when I want to access to it from WindowXP ,the first time you need to tap in user name and password.But the next time ,you automatically log in Samba server with the user name as the first time you used. But I have not clicked the "Remeber me " option when I logged in.I want to switch user when I want to log in samba,does anybody know what is wrong ?
View 4 Replies View RelatedIn the past, I've installed Internet services as daemons and as xinetd.d with no problems. Those approaches do not meet my needs. And, perhaps, nothing will.
- the service was converted from VB-6 to wxPython. It has a GUI which is accessed with either "remote desktop" or VNC.
- the wxPython service works on Windows and can be accessed from other hosts on my LAN
- the wxPython service works on CentOS and Fedora, but can only be accessed from within the server host. Even from other user-ids. But, I cannot get to it from other hosts.
- ipchains AKA firewall ports are marked for INPUT.
- The server host uses autologin to fire up a useid in group "user". I do not want it running as "root". the .bash_profile fires the service up.
- the service is heavily mult-threaded, and supports devices connected to serial ports asynchronously with the ephemeral port threads (all this works).
There are some programming solutions that I would rather not develop.
- a proxy service that runs under xinetd.d.
- separate the GUI code from the Internet and serial port code. Allocate a "control" port for remote GUI control. a'la SAMBA & SWAT
Is there any hope, that I can run it as is, by doing some network configuration stuff.
I did something silly and changed my root user access for mysql access to Any from localhost using webmin. I get an access dented when i try to open up the mysql editing page on webmin. Can any of you tell me if there is a way to change it back to hosts=localhost I am using webmin 1.5.30 on Centos 5.5. I am hoping I can change it by command line or if I can access the config files and change it that way?
View 2 Replies View RelatedWe have setup a Exchange server at remote location and while testing I am facing following issue:
1. While configuring Outlook, it's not able to reach the exchange server which hosted at third party and is reachable from everywhere except my Local Network.
My Local network is as following:
Local Lan On Private subnet - Gate+Firewall(Iptables) with two interfaces(private and pubic)with natting-Internet Connectivity.
Where as Exchange server is setup at a Data Center and accessible from internet.
I need to know that what all rules are required for user's to configure outlook with Exchange 2010.
Rest of the things are working fine (Internet connectivity, Exchange OWA access).
I am using Mandriva 8 as my local server, i want to configure sftp sever by which particular user can access particular directory of our local server by using ftp client, can anyone tell me how can i do it?
View 1 Replies View RelatedI need to mount a partition that is on a server (via samba).
I am doing the following in my fstab
Quote:
//server/www /media/www cifs rw,user,allow_other,default_permissions,credential s=/root/.smbcredentials,iocharset=utf8,dir_mode=0777,file_ mode=0777 0 0
I can mount it but it just allows me to access with the root user. How can I do it to get access with any user?
Additional Data: I added "rw,user,allow_other,default_permissions" because I thought that would solve de problem but it didn't.
LinuxA & LinuxB
linuxA:eth0(10.1.1.1) connected linuxB:eth0 (10.1.1.2)
linuxA:eth1(202.1.20.45) connected internet
[code]....
We have a NAS application which can be accessed by both HTTP and HTTPS connections.
The issue we are facing is that the tcp server instance that initiates the HTTP access dies after a few hours of inactivity(the NAS application was kept idle for around 10 hours). However, the tcpserver that launches HTTPS connections remained running.So the connection failed through HTTP access but the connection succeeded through HTTPS access.
The converse has also been observed where the tcpserver for HTTPS is dead but tcpserver for HTTP is running.
The version of tcpserver that we are using here is ucspi-tcp-0.88.tar.gz.
I have the following queries:
a)Has anyone faced the same problem before?
b)Is it an issue with this package version of tcpserver ?
c)Will upgrading to newer versions of tcpserver bail me out of the issue?
d)Also, could anyone let me know what are the possible causes for the tcpserver to die ?
This is Plesk linux server.I am using CentOS release 5.5 (Final) OS. Server seem to crash every couple of hours. Perhaps apache has memory leak?
Sep 28 07:06:29 wed kernel: Call Trace:
Sep 28 07:06:29 wed kernel: [] out_of_memory+0x8e/0x2f5
Sep 28 07:06:29 wed kernel: [] __alloc_pages+0x245/0x2ce
Sep 28 07:06:29 wed kernel: [] __do_page_cache_readahead+0x95/0x1d9
Sep 28 07:06:29 wed kernel: [] __wait_on_bit_lock+0x5b/0x66
[Code]....
I'm trying to use a vpn server which uses pptp. I've set up pptp as per the Debian Howto and it seems to be working, but I'm not actually acessing the net via the server.Not sure what info would be useful but here are route -n and ifconfig.Can anyone suggest what is wrong here, and how to test if the vpn link is actually working?
View 6 Replies View RelatedRecently I set up a Debian server following this guide:
However I wasn't able to connect to the internet after the clean install of debian.
I found a fix:
Where x is a number not in use by any machine
Where y is the number on the gateway
These commands are appended to /etc/rc.d/rc.local and works fine.
The server is virtual and running on a vmware installation.
The problem, I have, appears randomly after the server has been startet. Sometimes after 20 hours and sometimes after 9 hours only.
I can't connect to the server through the web (server.mydomain.com). However I can reach my computer running vmware at (host.mydomain.com). In vmwares terminal window I can access the debian installation which is running all fine. No errors or so. I can even ping remote ip-adresses from the debian server without problems. Restarting the server fixes the problem. But it then re-appears after some time.
Having set up many windows servers with complex permissions on shared folders, I now have to do the same in Linux (and I'm such a noob to Linux) I understand that each file/folder is assigned a user + group, and that the rights can be set for the user, the group and global (aka everybody else) My challenge is this, inside my shared folder there is a folder that should be RW to some users, READ ONLY to others, and not accessible at all to the rest of the users. (lets call the folder MyFolder ) All 3 groups have more than 1 user, so they have to be groups (right?) How would this model work in Linux ? If there is no other way, I guess I can nest the MyFolder in a folder that has permissions to allow all users that may access MyFolder, and block the rest, then on MyFolder, set owner group the RW users, and set global to READ ONLY.
Ps : The server I'm setting up runs Debian Lenny, files will be accessed from windows workstations using samba.
I set up a servber on my local machine, & also PHp - Both working fine.I'm trying to load up MYSQL i have installed it, & *can* start/stop the server. however if I do anything else with it, I get this error :-
Quote:
root@gordon-desktop:~# sudo mysqladmin -u root -h localhost password MYPASSWORD
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
Query :-
1) How do I know MYSQL is actually active ? (apart from the message it says that its statrted (or stopped).
2) Is there a way to
a) Find out the usernames that are recorded on the MYSQL server ?
b) set / RESET the 'root' username (I know MYSQL root user is different to PC root user)
c) anything else I can do on the PHP / website code to see if MYSQL is working
(as yet, no tables / databases etc have been set up - as I can't get past this error message - I get the same error when setting up a database.)
Ps I did allow my usermname (when logged in to ubuntu) to edit / create files in the /usr/www/ directory (but it is still OWNED by 'root' - that directory)