Saturday, March 26, 2011

Calories In A Bag Of Popped Orville Popcorn

Caging some SFTP users

The following article shows how to allow access to some users of the system SFTP using SSH to transfer files securely to prevent access to directories outside your home (Chroot). In addition, users can not connect to the system via SSH from the command line.

Why use SFTP with SSH instead of using the vsftpd service?
Because all information is encrypted (including the password) and prevents someone from accessing the information during the transfer.

Squeeze In Debian, the default configuration of SSH allows access to all users of the system and go through the directory tree including /. However, you can restrict certain users access to the server and cage them in your own home (the user can connect to the server but can not go outside your home directory). Preparing



system first creates a directory that contains the user's home group:
 # mkdir / home / usersjaula 

After establishing a user group and the intended users:
 # groupadd usersjaula 
usersjaula # useradd-g-d / home / usersjaula / username-m-s / bin / false username # passwd username

With the above command created the group "usersjaula" and user "username" no shell belonging to the newly created group.

then change the permissions of the following directories:
 # chmod 755-R / home / usersjaula 
# chmod 755-R / home / usersjaula / username root.root
# chown-R / home / usersjaula

With previous commands the user can not write in their own home. Thus is created a directory in your home so you can store your files.
 # mkdir / home / usersjaula / username / files nombreUsuario.nombreUsuario 
# chown-R / home / usersjaula / username / files

permits were modified in the previous steps were made to run the caged SFTP. The owner of the cage directory and directories on this, you must be root with permissions 755. This is a restriction of ChrootDirectory in OpenSSH.

SSH Settings

The SSH configuration file is / etc / ssh / sshd_config . So all the settings are made in this file.

for safety is recommended to disable root access via SSH with the following directive:
 PermitRootLogin 

not limit access to SSH service to certain users AllowUsers directive is used:
 AllowUsers username 
nombreUsuario2 etc.
To limit access to certain groups may be used:
 AllowGroups usersjaula 

Verify that you have the following line to cage the SFTP service:
 Subsystem sftp / usr / lib / openssh / sftp-server 

Add the following lines to end of / etc / ssh / sshd_config for cage to a user: username User
Match
 
ChrootDirectory / home / usersjaula / username
ForceCommand / usr / lib / openssh / sftp-server # AllowTcpForwarding
not optional
# # # # # optional X11Forwarding not

Add the following lines to end of / etc / ssh / sshd_config to cage a group of users:
 usuariossftp group 
ChrootDirectory Match / Home / usersjaula
ForceCommand / usr / lib / openssh / sftp-server # AllowTcpForwarding
optional
no # # # # # optional X11Forwarding not

For changes to take effect restart the service:
 # / etc / init .d / ssh restart 

If you have a firewall you must open the port. Remotely access



For SFTP remote access service can use the file browser by typing in the address bar "sftp: / / IP".

From Windows you can use any client that is shown in this list . Of those who are on the list, I recommend FileZilla because with this File upload with Ñ and accents are displayed correctly in GNU / Linux.

If you try to access from SSH command line to mark the error: This service
 sftp Allows connections only. 

SOURCE:
http://www.esdebian.org/wiki/enjaulado-sftp
http://linuxsix.blogspot.com/2009/03/tutorial-para-hacer-una-jaula- chroot.html
http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config

Friday, March 18, 2011

Toddler Face Broken Capillaries

Extend USB cable over 12 meters Troubleshooting


Introduction This article explains how to extend a USB cable away than the standard 5 meters and a Web camera to function properly. I lengthen a cable exceeding 12 meters and get to work properly USB sticks, printers and Wireless USB. To be able to run Web cameras had to use a powered USB hub between the camera USB cable and UTP as these require more power (which is lost by extending the cable) to operate.

The idea came after mounting a surveillance system and know the cost of IP cameras, capture cards, CCTV cameras, etc. The cost of setting up a monitoring system using these cameras is quite high. So I started searching the Internet about the ability extend the distance of a Webcam USB cable without affecting the operation of this for use with ZoneMinder . I found this site (in English) where possible and commented that explain how to do it by cutting a USB extension cable (male connector on one end and female on the other) in half. I decided to make an extension using USB connectors instead of cutting a cable because I read several pages that worked better. Then explain

create a USB extension. Material


necessary
  • UTP Cable USB connector 1 female and 1 male for every wire you wish to extend
  • Cautín and welding tube or sheath
  • shrink (optional) for connecting the cable to the USB connector Black Belt

Procedure:

The cable / USB connector consists of 4 pins, 2 for and 2 for current data. Pin 1 and 4 are used for current and 2 and 3 for the data shown in the following table:
 Pin Name Cable color Description 
1 VCC Red +5 v
2 D-White Data -
3 D + Green Data + 4 GND Black Ground

Considering the above table, what will be done is to weld orange-white wires and Orange UTP cable in the USB connector Pin 1. The white-green on Pin 2, Pin 3 green and the rest (coffee, white, brown, blue and white-blue) on Pin 4. As shown in the following table:
 
PIN USB 1 COLOR white and orange-orange-green
2 white 3 green

4 others (blue, white, blue, brown, white-brown)
If you want to use USB cable cut in half instead of the connectors are soldered wires as follows: UTP USB PIN
 
white 1 red-orange and orange
2 white 3 white-green green green

4
rest white
First cut a piece of shrink sleeve and placed inside each end of the cable. Then separate UTP cables and peel the ends.

then soldered the wires on each USB connector as described above:

Then, put the heat shrink sleeve on the cable is exposed and heated copper to cover it.

proven to work: Once a soldier

connectors connect a Web camera to the newly created and this extension to a computer, but marked a recognized her error. Then I connected a memory USB and this worked well, you can access and copy files in it. Then I tried a printer, a Wireless USB device and a digital camera to download photos. Everything worked fine except the webcam. Then I bought a powered USB hub and place it between the CPU and the extension by dialing the same error when connecting a Web camera. But to place the USB hub between the webcam and the WebCam USB extension worked.

This extension of more than 12 meters working properly I have a USB camera with Zoneminder. In the hub I can connect more cameras, I can even connect any USB device you want.

Conclusions:

Based on the tests we can conclude that the USB cable to extend beyond 5 meters, this is not capable of providing enough voltage to run a webcam. It is therefore necessary to provide electricity somehow. One way is with a powered USB Hub.


SOURCE: Wikipedia

http://www.instructables.com/id/How-to-Extend-yout-USB-using-UTP/
http://wiki.buenosaireslibre. org / HowToAlargueUSB

Tuesday, March 15, 2011

Thick Cervical Mucus 2 Days Before Period?

Visualization of cameras in ZoneMinder


few days ago for no reason could not see the ZoneMinder cameras (which were recorded at the time, nor were visualized events). However, if events were being generated and therefore recording the images. Even if they agreed to events could produce a video without any problems.

some research I realize that when trying to access a camera messages (tail-f / var / log / messages) showed something interesting:

Libgcrypt warning: missing initialization - please fix the application
Looking

online meeting solution:
Change the value of the variable none AUTH_RELAY located in the Systems tab options
management console I had the option hashed.

SOURCE:
http://www.zoneminder.com/forums/viewtopic.php?p=62138
http://www.zoneminder.com/forums/viewtopic.php?p=57610

Thursday, March 10, 2011

Chichi And Bulma Fuse

Happy birthday Ken!

born 50 years ago today, Ken, of rigid plastic and designed to be the barbie mate, Kenneth Carson was born in the toy fair in the year 1961 a 11 March , arriving in a suit red bathing, a red striped shirt and yellow towel, Ken came to enter a fantasy world where girls through the imagined an adult world, led by Barbie. Ken

caused controversy before his departure on sale from the same team as ruth mattel, its creator and who gave the name to honor his son, he put kisiera genitals, but not other investors said k . Ken has always stood by barbie even if I were to see this as an accessory but since then we have seen as his girlfriend k be a number of professions, from doctors, a pilot, to architect, surfer. Always smiling and very fashionable, as always male (even before the line fashion fever) Ken has always been materialistic unn Facing today's culture steeped in values \u200b\u200bas empty as fashion, which many still a hobby and many others as a way of life sadly.

Ken came into my life with loving animal and beach california, be more fond of the former by his blue dress and her chimpanzee (I love primates and blue, lol) was my companion game Akella rainy afternoons and a visualization to k I wanted to do in Akella time of adulthood as, compliance to 50 years now and although I recognize a character completely fictisio k keep him true affection for all the beautiful memories that brings me to my childhood, a time k miss many as collectors, In my case, but is remembered for my other toys as were those of jurassic park, star wars or batman, Ken showed me an adult world that any child at that age quisera.

Ken! wey! Happy Birthday! grass a few beers, wine or whiskey and good health!

Congratulations from Mexico!

DaRk0!
short

Tuesday, March 8, 2011

How To Trade Pokemon Gbc Rom Mac

KenDarkoTv: advancement of "Hawaii Vacation"

Advancement of toy story with Ken & barbie protagoistas, audio latino, empeiza in the second 20, you can see before the screening in cinemas cars! haha already see the short !!!... kiero chekenlo!

Service Truck Tool Box Replacement Locks

Argentina said goodbye to Barbie ...

... at least temporarily, it's been over a year, I think it musicfan an entry about that Argentina will no longer toys apermitir American entry, as has just been published that will create a TEMPORARY suspension of customs matters, not only barbbie eye, also to other lines of toys ...

not fart barbie Kedara empty store, jejejeje aver and how long will fix this, but let 's see the bright side, the mattel juguets of quality down and down, so menosesto k to serve in some way to improve ...