473,399 Members | 3,888 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Blocking users from using vnc and ssh

Hi Guys

I want to write a scripts that I will shell to block the user from using ssh and vnc at certain times. I do not know where to start. Could you please help me with this script.

Thanks
Pascal07
Aug 19 '08 #1
1 1863
Nepomuk
3,112 Expert 2GB
I want to write a scripts that I will shell to block the user from using ssh and vnc at certain times. I do not know where to start. Could you please help me with this script.
Hi Pascal!
For what sort of system are you trying to write this script? From what it's supposed to do, I'm guessing it's a Linux or Unix system.

In any case, I guess there are two parts to the problem:
1. having a script to block ssh and vnc and one for unblocking them again and
2. starting the scripts at the right times

If you're using Linux, the first part seems to be an issue of setting iptables and the second is creating a cron job. You can find tutorials on both topics via Google.

If you're using Windows, the 2. issue wouldn't be a problem (there's something similar to cron in Windows), but the first one would very much depend on your firewall. If the Windows Firewall is up and running, you may be able to use that, but I have no experience in that area, so you'd better search with Google and hope that something comes up. Of course, you could always ask in our Windows Forum.

Greetings,
Nepomuk
Aug 19 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Mario | last post by:
Hello, I couldn't find a solution to the following problem (tried google and dejanews), maybe I'm using the wrong keywords? Is there a way to open a file (a linux fifo pipe actually) in...
4
by: Richard | last post by:
hi, I am using SQL SERVER 2000. Problem that i am facing is when ever I check locks in Enterprise Manager I find following blocking - : 1) sp_cursoropen;1 2) sp_cursorclose;1 3)...
2
by: Shobhit | last post by:
Hey Guys im new to this forum...i m not very much perfect in C.....but i can stand over....my prob is that...i m looking out for code in C if possible Linux Based or logic so that i can code for...
7
by: Michi Henning | last post by:
Hi, I'm using a non-blocking connect to connect to a server. Works fine -- the server gets and accepts the connection. However, once the connection is established, I cannot retrieve either the...
7
by: Charlie | last post by:
Hi: I'm using a lot of JavaScript and HTML 4.0. Things seem to work well in Netscape 7.0 and IE 5.5\6, but not Netscape 4\6 and not sure of IE 5.0. My site blocks downlevel browsers and...
5
by: Simon Knox | last post by:
Hi I have a web app that has a legitimate use for pop up windows. My web app is an insurance quoting app. I use the window.open method to display another aspx page so that the user can check...
0
by: nielsgron | last post by:
Hi, I am trying to find a way to query for the (lock) blocking connection on my DB2 server. I am using DB2 for LUW 8.1 and 8.2. I have two connections, one which has an exclusive lock, and the...
1
by: willip | last post by:
I have a Gridview control with a Databound Hyperlink. e.g.: <asp:HyperLinkField HeaderText="MyTitle" DataNavigateUrlFields="MyID" DataNavigateUrlFormatString="~/ShowMe.aspx?MyID={0}"...
3
by: Bob | last post by:
Hi, I have an app that has a 3rd party phone answering control (4 of ) (interfacing with dialogic 4 line card) attached to the main form. each control raises an event when its Dialogic line...
12
by: puzzlecracker | last post by:
is it even possible or/and there is a better alternative to accept input in a nonblocking manner?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.