My Tech Note's

Autor: hexcode (Page 3 of 4)

VirtualBox on OS-X Host – howto mount a external USB drive

you can't mount the external usb drive, because the permission on /dev/vboxdrv

To check usb's devices, and u can check if the external stroage are available or not.

$ VBoxManage list usbhost

Manufacturer: JMicron
Product: Storage

Current State: Unavailable

This mean, the VirtualBox doesnt have permssion.

 

To resolv this issue:

you need manipulating the permission on /dev/vboxdrv, so open the terminal

1) sudo su –

2)  unload the kernel extension:

kextunload -b com.apple.iokit.IOUSBMassStorageClass

3) change the group and set permission

after:

# ls -lah /dev/vboxdrv
crw——- 1 root wheel 36, 0 Jan 25 19:22 /dev/vboxdrv

 chgrp vboxusers /dev/vboxdrv
 chmod g+rw /dev/vboxdrv

before:

# ls -lah /dev/vboxdrv
crw-rw—- 1 root admin 36, 0 Jan 25 19:22 /dev/vboxdrv

4) load the kernel extension:

kextload com.apple.iokit.IOUSBMassStorageClass

 

After the procedure, u can mount the external storage on virtual machine.

 

Resolution to “perl: warning: Setting locale failed.” on debian

When this appears

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_CTYPE = “UTF-8”,
    LANG = “en_US.UTF-8”
    are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).

the solution is:

# echo “LC_ALL=C” > /etc/default/locale

 

TACACS Server using tac plus

From Wikipedia, the free encyclopedia:

In computer networking, TACACS+ (Terminal Access Controller Access-Control System Plus) is a Cisco Systems proprietary protocol which provides access control for routers, network access servers and other networked computing devices via one or more centralized servers. TACACS+ provides separate authentication, authorization and accounting services.

TACACS+ is a protocol for AAA services (Authentication, Authorisation, Accounting), very similar to RADIUS. Servers using RADIUS or TACACS protocol are often called NAS (Network Access Server), not to be confused with NAS – (Network Attached Storage).

 

 Installation

 

$ cd /usr/src

Continue reading

« Older posts Newer posts »

© 2020 Sec&Stuff&Others

Theme by Anders NorenUp ↑