/l3/users/sbond/nt-voip-2011-06/linux8.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 :22 :23 :24 :25 :26 :27 :28 :29 :30 :31 :32 :33 :34 :35 :36 :37 :38 :39 |
|
#sm
![]() smbcontrol smbpasswd smbstatus.samba3 sm-notify smsq smbd smbstatus smime_keys smproxy |
#smbpasswd user -a
![]() New SMB password: Retype new SMB password: |
#sm
![]() smbcontrol smbpasswd smbstatus.samba3 sm-notify smsq smbd smbstatus smime_keys smproxy |
#sm
![]() smbcontrol smbpasswd smbstatus.samba3 sm-notify smsq smbd smbstatus smime_keys smproxy |
#smbpasswd user -a
New SMB password: Retype new SMB password: |
#vim /etc/gro
![]() --- /tmp/l3-saved-22920.29762.22232 2011-06-22 10:41:56.000000000 +0300 +++ /etc/group 2011-06-22 10:42:14.000000000 +0300 @@ -54,7 +54,7 @@ scanner:x:115:saned,user saned:x:116: user:x:1000: -asterisk:x:117: +asterisk:x:117:user bind:x:118: smmta:x:119: smmsp:x:120: |
#vim /etc/gro
![]() |
#vim /etc/group
![]() |
#vim /etc/group
![]() |
#vim /etc/gro
![]() |
#vim /etc/group
![]() |
#vim /etc/group
![]() |
#vim /etc/gro
![]() |
#vim /etc/group
![]() |
#vim /etc/group
![]() |
#vim /etc/gro
![]() |
#vim /etc/group
![]() |
#vim /etc/group
|
#/etc/init.d/samba restart
![]() Stopping Samba daemons: nmbd smbd. Starting Samba daemons: nmbd smbd. |
#/etc/init.d/samba restart
![]() Stopping Samba daemons: nmbd smbd. Starting Samba daemons: nmbd smbd. |
#/etc/init.d/samba restart
![]() Stopping Samba daemons: nmbd smbd. Starting Samba daemons: nmbd smbd. |
#/etc/init.d/samba restart
Stopping Samba daemons: nmbd smbd. Starting Samba daemons: nmbd smbd. |
#ps aux | grep smb
![]() root 28212 0.0 0.0 97088 3156 ? Ss 10:42 0:00 /usr/sbin/smbd -D root 28221 0.0 0.0 97088 1460 ? S 10:42 0:00 /usr/sbin/smbd -D root 28257 0.0 0.0 10056 860 pts/11 S+ 11:16 0:00 grep smb |
#ps aux | grep smb
![]() root 28212 0.0 0.0 97088 3156 ? Ss 10:42 0:00 /usr/sbin/smbd -D root 28221 0.0 0.0 97088 1460 ? S 10:42 0:00 /usr/sbin/smbd -D root 28257 0.0 0.0 10056 860 pts/11 S+ 11:16 0:00 grep smb |
#ps aux | grep smb
![]() root 28212 0.0 0.0 97088 3156 ? Ss 10:42 0:00 /usr/sbin/smbd -D root 28221 0.0 0.0 97088 1460 ? S 10:42 0:00 /usr/sbin/smbd -D root 28257 0.0 0.0 10056 860 pts/11 S+ 11:16 0:00 grep smb |
#ps aux | grep smb
root 28212 0.0 0.0 97088 3156 ? Ss 10:42 0:00 /usr/sbin/smbd -D root 28221 0.0 0.0 97088 1460 ? S 10:42 0:00 /usr/sbin/smbd -D root 28257 0.0 0.0 10056 860 pts/11 S+ 11:16 0:00 grep smb |
#!v
![]() list:x:38::111: fuse:x:112: utempter:x:113: Debian-gdm:x:114: scanner:x:115:saned,user lpadmin:x:110: ssl-cert:x:111: fuse:x:112: utempter:x:113: Debian-gdm:x:114: /aster scanner:x:115:saned,user saned:x:116: user:x:1000: bind:x:118: smmta:x:119: smmsp:x:120: 60,1 96% |
#!v
![]() dialout:x:20:asterisk fax:x:21: voice:x:22: cdrom:x:24:user floppy:x:25:user tape:x:26: sudo:x:27: audio:x:29:user,asterisk dip:x:30:user www-data:x:33:ser ... utempter:x:113: Debian-gdm:x:114: /aster scanner:x:115:saned,user saned:x:116: user:x:1000: bind:x:118: smmta:x:119: smmsp:x:120: 60,1 96% |
#!v
![]() list:x:38::111: fuse:x:112: utempter:x:113: Debian-gdm:x:114: scanner:x:115:saned,user lpadmin:x:110: ssl-cert:x:111: fuse:x:112: utempter:x:113: Debian-gdm:x:114: /aster scanner:x:115:saned,user saned:x:116: user:x:1000: bind:x:118: smmta:x:119: smmsp:x:120: 60,1 96% |
#!v
plugdev:x:46:user staff:x:50: games:x:60: users:x:100: nogroup:x:65534: libuuid:x:101: crontab:x:102: messagebus:x:103: Debian-exim:x:104: mlocate:x:105: ... utempter:x:113: Debian-gdm:x:114: /aster scanner:x:115:saned,user saned:x:116: user:x:1000: bind:x:118: smmta:x:119: smmsp:x:120: 60,1 96% |
#[default]
![]() bash: logout: оболочка не является запущенной после входа в систему: используйте `exit' |
#[default]
![]() bash: logout: оболочка не является запущенной после входа в систему: используйте `exit' |
#sasl:x:45:
![]() [national] [ ] exten => _23XX,1,Dial(SIP/kiev/${EXTEN},10) [international] [ ] exten => _1[12]XX,1,Dial(SIP/kiev/${EXTEN},10) ;----------USA exten => _2[12]XX,1,Dial(SIP/kiev/${EXTEN},10) ;----------FRANCE ;exten => _[13][31]XX,1,Dial(SIP/kiev/${EXTEN},10) ... ;exten => _24XX,n,Playback(demo-congrats) [national] [ ] exten => _23XX,1,Dial(SIP/kiev/${EXTEN},10) [international] [ ] exten => _1[12]XX,1,Dial(SIP/kiev/${EXTEN},10) ;----------USA exten => _2[12]XX,1,Dial(SIP/kiev/${EXTEN},10) ;----------RUSSIAal 58,0-1 48% |
#sasl:x:45:
![]() exten => 2403,1,Dial(SIP/2401&SIP/2402,10) ;exten => _24XX,n,Playback(demo-congrats) [national] [ ] exten => _23XX,1,Dial(SIP/kiev/${EXTEN},10) [international] [ ] exten => _1[12]XX,1,Dial(SIP/kiev/${EXTEN},10) ;----------RUSSIA 55,0-1 42% exten => 2403,1,Dial(SIP/2401&SIP/2402,10) ;exten => _24XX,n,Playback(demo-congrats) [national] [ ] exten => _23XX,1,Dial(SIP/kiev/${EXTEN},10) [international] [ ] exten => _1[12]XX,1,Dial(SIP/kiev/${EXTEN},10) ;----------USA exten => _2[12]XX,1,Dial(SIP/kiev/${EXTEN},10) ;----------RUSSIAal 58,0-1 48% |
#sasl:x:45:
![]() [default] [internal] ;-----------Test Asterisk exten => 8000,1,Wait(1) exten => 8000,n,Playback(demo-congrats) exten => _81.,1,Wait(1) exten => _81.,n,Say(${EXTEN}) ;-----------VOICEMAIL ;-----------general Voicemail exten => 8100,1,VoicemailMain() ... ;exten => _24XX,n,Playback(demo-congrats) [national] [ ] exten => _23XX,1,Dial(SIP/kiev/${EXTEN},10) [international] [ ] exten => _1[12]XX,1,Dial(SIP/kiev/${EXTEN},10) ;----------USA exten => _2[12]XX,1,Dial(SIP/kiev/${EXTEN},10) ;----------RUSSIAal 58,0-1 48% |
#sasl:x:45:
[internal] [--------]--Test Asterisk exten => 8000,1,Wait(1) exten => 8000,n,Playback(demo-congrats) exten => _81.,1,Wait(1) exten => _81.,n,Say(${EXTEN}) ;-----------VOICEMAIL ;-----------general Voicemail exten => 8100,1,VoicemailMain() ;-----------personal Voicemail ... ;exten => _24XX,n,Playback(demo-congrats) [national] [ ] exten => _23XX,1,Dial(SIP/kiev/${EXTEN},10) [international] [ ] exten => _1[12]XX,1,Dial(SIP/kiev/${EXTEN},10) ;----------USA exten => _2[12]XX,1,Dial(SIP/kiev/${EXTEN},10) ;----------RUSSIAal 58,0-1 48% |
#!/e
![]() /etc/init.d/samba restart Stopping Samba daemons: nmbd smbd. Starting Samba daemons: nmbd smbd. |
#!/e
![]() /etc/init.d/samba restart Stopping Samba daemons: nmbd smbd. Starting Samba daemons: nmbd smbd. |
#!/e
![]() /etc/init.d/samba restart Stopping Samba daemons: nmbd smbd. Starting Samba daemons: nmbd smbd. |
#!/e
/etc/init.d/samba restart Stopping Samba daemons: nmbd smbd. Starting Samba daemons: nmbd smbd. |
#vim /etc/asterisk/extensions.conf
![]() --- /tmp/l3-saved-22920.25261.26349 2011-06-22 11:26:41.000000000 +0300 +++ /etc/asterisk/extensions.conf 2011-06-22 11:26:57.000000000 +0300 @@ -28,7 +28,7 @@ [local] ;-----------LOCAL DIALPLAN exten => _24XX,1,Answer -exten => _24XX,n,Set(MON_FILENAME=record-${STRFTIME(${EPOCH},,%Y-%m-%d-%H:%M:%S)}-${EXTEN}-${CALLER +exten => _24XX,n,Set(MON_FILENAME=record-${STRFTIME(${EPOCH},,%Y-%m-%d-%H-%M-%S)}-${EXTEN}-${CALLER ID(num)}) exten => _24XX,n,Monitor(wav,${MON_FILENAME},m) exten => _24XX,n,Dial(SIP/${EXTEN},5) |
#apt-get install libsox-
![]() libsox-dev libsox-fmt-alsa libsox-fmt-base libsox-fmt-mp3 libsox-fmt-pulse libsox-fmt-all libsox-fmt-ao libsox-fmt-ffmpeg libsox-fmt-oss |
#apt-get install libsox-fmt-mp3
![]() Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libmysqlclient16 mysql-common Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: libsox-fmt-mp3 0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded. Need to get 47.7 kB of archives. After this operation, 106 kB of additional disk space will be used. Get:1 http://10.0.35.1/debian/ squeeze/main libsox-fmt-mp3 amd64 14.3.1-1+b1 [47.7 kB] Fetched 47.7 kB in 0s (4,475 kB/s) Selecting previously deselected package libsox-fmt-mp3. (Reading database ... 128810 files and directories currently installed.) Unpacking libsox-fmt-mp3 (from .../libsox-fmt-mp3_14.3.1-1+b1_amd64.deb) ... Setting up libsox-fmt-mp3 (14.3.1-1+b1) ... |
#apt-get install libsox-
![]() libsox-dev libsox-fmt-alsa libsox-fmt-base libsox-fmt-mp3 libsox-fmt-pulse libsox-fmt-all libsox-fmt-ao libsox-fmt-ffmpeg libsox-fmt-oss |
#apt-get install libsox-fmt-mp3
![]() Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libmysqlclient16 mysql-common Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: libsox-fmt-mp3 0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded. Need to get 47.7 kB of archives. After this operation, 106 kB of additional disk space will be used. Get:1 http://10.0.35.1/debian/ squeeze/main libsox-fmt-mp3 amd64 14.3.1-1+b1 [47.7 kB] Fetched 47.7 kB in 0s (4,475 kB/s) Selecting previously deselected package libsox-fmt-mp3. (Reading database ... 128810 files and directories currently installed.) Unpacking libsox-fmt-mp3 (from .../libsox-fmt-mp3_14.3.1-1+b1_amd64.deb) ... Setting up libsox-fmt-mp3 (14.3.1-1+b1) ... |
#apt-get install libsox-
![]() libsox-dev libsox-fmt-alsa libsox-fmt-base libsox-fmt-mp3 libsox-fmt-pulse libsox-fmt-all libsox-fmt-ao libsox-fmt-ffmpeg libsox-fmt-oss |
#apt-get install libsox-fmt-mp3
![]() Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libmysqlclient16 mysql-common Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: libsox-fmt-mp3 0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded. Need to get 47.7 kB of archives. After this operation, 106 kB of additional disk space will be used. Get:1 http://10.0.35.1/debian/ squeeze/main libsox-fmt-mp3 amd64 14.3.1-1+b1 [47.7 kB] Fetched 47.7 kB in 0s (4,475 kB/s) Selecting previously deselected package libsox-fmt-mp3. (Reading database ... 128810 files and directories currently installed.) Unpacking libsox-fmt-mp3 (from .../libsox-fmt-mp3_14.3.1-1+b1_amd64.deb) ... Setting up libsox-fmt-mp3 (14.3.1-1+b1) ... |
#apt-get install libsox-
![]() libsox-dev libsox-fmt-alsa libsox-fmt-base libsox-fmt-mp3 libsox-fmt-pulse libsox-fmt-all libsox-fmt-ao libsox-fmt-ffmpeg libsox-fmt-oss |
#apt-get install libsox-fmt-mp3
Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libmysqlclient16 mysql-common Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: libsox-fmt-mp3 0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded. Need to get 47.7 kB of archives. After this operation, 106 kB of additional disk space will be used. Get:1 http://10.0.35.1/debian/ squeeze/main libsox-fmt-mp3 amd64 14.3.1-1+b1 [47.7 kB] Fetched 47.7 kB in 0s (4,475 kB/s) Selecting previously deselected package libsox-fmt-mp3. (Reading database ... 128810 files and directories currently installed.) Unpacking libsox-fmt-mp3 (from .../libsox-fmt-mp3_14.3.1-1+b1_amd64.deb) ... Setting up libsox-fmt-mp3 (14.3.1-1+b1) ... |
#apt-get install mp123
![]() Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package mp123 |
#apt-get install mp123
![]() Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package mp123 |
#apt-get install mp123
![]() Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package mp123 |
#apt-get install mp123
![]() Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package mp123 |
#sox -t mp3 bg_melody.mp3 -r 8000 -c1 -t gsm bg_melody.gsm resample
![]() sox WARN sox: effect `resample' is deprecated; see sox(1) for an alternative sox WARN resample: resample clipped 91 samples; decrease volume? |
#sox -t mp3 bg_melody.mp3 -r 8000 -c1 -t gsm bg_melody.gsm resample
![]() sox WARN sox: effect `resample' is deprecated; see sox(1) for an alternative sox WARN resample: resample clipped 91 samples; decrease volume? |
#sox -t mp3 bg_melody.mp3 -r 8000 -c1 -t gsm bg_melody.gsm resample
![]() sox WARN sox: effect `resample' is deprecated; see sox(1) for an alternative sox WARN resample: resample clipped 91 samples; decrease volume? |
#sox -t mp3 bg_melody.mp3 -r 8000 -c1 -t gsm bg_melody.gsm resample
sox WARN sox: effect `resample' is deprecated; see sox(1) for an alternative sox WARN resample: resample clipped 91 samples; decrease volume? |
#ls
![]() asterisk-sounds-ru-gsm-2010-04-28.tar.gz extensions.conf orbit-Debian-gdm seahorse-JoEqD1 ssh-wZDQFW2188 bg_melody.gsm install orbit-user sip.conf virtual-user.uryU2P bg_melody.mp3 keyring-ABLFzh reel_around_the_sun.mp3 sound x |
#ls
![]() asterisk-sounds-ru-gsm-2010-04-28.tar.gz extensions.conf orbit-Debian-gdm seahorse-JoEqD1 ssh-wZDQFW2188 bg_melody.gsm install orbit-user sip.conf virtual-user.uryU2P bg_melody.mp3 keyring-ABLFzh reel_around_the_sun.mp3 sound x |
#ls
![]() asterisk-sounds-ru-gsm-2010-04-28.tar.gz extensions.conf orbit-Debian-gdm seahorse-JoEqD1 ssh-wZDQFW2188 bg_melody.gsm install orbit-user sip.conf virtual-user.uryU2P bg_melody.mp3 keyring-ABLFzh reel_around_the_sun.mp3 sound x |
#ls
asterisk-sounds-ru-gsm-2010-04-28.tar.gz extensions.conf orbit-Debian-gdm seahorse-JoEqD1 ssh-wZDQFW2188 bg_melody.gsm install orbit-user sip.conf virtual-user.uryU2P bg_melody.mp3 keyring-ABLFzh reel_around_the_sun.mp3 sound x |
#ls -lh
![]() total 33M -rw-r--r-- 1 root root 2.4M Jun 21 16:41 asterisk-sounds-ru-gsm-2010-04-28.tar.gz -rw-r--r-- 1 root root 548K Jun 22 11:36 bg_melody.gsm -rw-r--r-- 1 root root 9.3M Jun 22 11:33 bg_melody.mp3 -rw-r----- 1 root root 690 Jun 21 10:44 extensions.conf -rw-r--r-- 1 root root 5.2K Jun 20 12:31 install drwx------ 2 user user 4.0K Jun 20 11:56 keyring-ABLFzh drwx------ 2 Debian-gdm Debian-gdm 4.0K Jun 20 11:56 orbit-Debian-gdm drwx------ 2 user user 4.0K Jun 22 09:05 orbit-user -rw-r--r-- 1 root root 20M Jun 22 11:33 reel_around_the_sun.mp3 drwx------ 2 user user 4.0K Jun 20 11:56 seahorse-JoEqD1 -rw-r--r-- 1 root root 540 Jun 21 10:45 sip.conf drwxr-xr-x 2 user user 4.0K Jun 21 16:45 sound drwx------ 2 user user 4.0K Jun 20 11:56 ssh-wZDQFW2188 drwx------ 2 user user 4.0K Jun 20 11:56 virtual-user.uryU2P -rw-r--r-- 1 root root 6 Jun 20 12:27 x |
#ls -lh
![]() total 33M -rw-r--r-- 1 root root 2.4M Jun 21 16:41 asterisk-sounds-ru-gsm-2010-04-28.tar.gz -rw-r--r-- 1 root root 548K Jun 22 11:36 bg_melody.gsm -rw-r--r-- 1 root root 9.3M Jun 22 11:33 bg_melody.mp3 -rw-r----- 1 root root 690 Jun 21 10:44 extensions.conf -rw-r--r-- 1 root root 5.2K Jun 20 12:31 install drwx------ 2 user user 4.0K Jun 20 11:56 keyring-ABLFzh drwx------ 2 Debian-gdm Debian-gdm 4.0K Jun 20 11:56 orbit-Debian-gdm drwx------ 2 user user 4.0K Jun 22 09:05 orbit-user -rw-r--r-- 1 root root 20M Jun 22 11:33 reel_around_the_sun.mp3 drwx------ 2 user user 4.0K Jun 20 11:56 seahorse-JoEqD1 -rw-r--r-- 1 root root 540 Jun 21 10:45 sip.conf drwxr-xr-x 2 user user 4.0K Jun 21 16:45 sound drwx------ 2 user user 4.0K Jun 20 11:56 ssh-wZDQFW2188 drwx------ 2 user user 4.0K Jun 20 11:56 virtual-user.uryU2P -rw-r--r-- 1 root root 6 Jun 20 12:27 x |