[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]

Password problem with conserver: New User

Chris Call chrispcallx@gmail.com
Sat, 31 Mar 2012 16:04:59 GMT


I posted earlier this week but with John Stoffel's help and some
reading and tweaking on my own (mostly John's help), I've gotten
pretty far with conserver but ran into another problem.

I am using crunchbang as both the conserver server and console machine
on port 862 (burned that port in when I compiled conserver) and when I
compiled it, I used the IP address instead of "crunchbang" (PCs
hostname) of 127.0.0.1 as the "master"

Now, when I run conserver with this command: conserver# console -D -p
862 -M 127.0.0.1 switch1

root@crunchbang:/usr/local/conserver/conserver-8.1.18/conserver#
console -D -p 862 -M 127.0.0.1 switch1
console: DEBUG: [cutil.c:2263] ProbeInterfaces(): ifc_len==64 max_count==2
console: DEBUG: [cutil.c:2318] ProbeInterfaces(): name=lo addr=127.0.0.1
console: DEBUG: [cutil.c:2318] ProbeInterfaces(): name=wlan0 addr=192.168.1.200
console: DEBUG: [cutil.c:355] AllocString(): 0x9ec10e8 created string #3
console: DEBUG: [cutil.c:355] AllocString(): 0x9ec1188 created string #4
console: DEBUG: [cutil.c:355] AllocString(): 0x9ec11d0 created string #5
console: DEBUG: [console.c:2477] cmds[1] = call
console: DEBUG: [console.c:2477] cmds[0] = attach
console: DEBUG: [console.c:615] GetPort: hostname=<unresolved>
(127.0.0.1), ip=127.0.0.1, port=862
console: DEBUG: [cutil.c:355] AllocString(): 0x9ec1270 created string #6
console: DEBUG: [cutil.c:355] AllocString(): 0x9ec1288 created string #7
console: DEBUG: [cutil.c:355] AllocString(): 0x9ec12a0 created string #8
console: DEBUG: [cutil.c:355] AllocString(): 0x9ec1348 created string #9
console: DEBUG: [console.c:769] ReadReply: `ok^M^J'
console: DEBUG: [cutil.c:355] AllocString(): 0x9ec13a8 created string #10
console: DEBUG: [cutil.c:355] AllocString(): 0x9ec13c0 created string #11
console: DEBUG: [cutil.c:355] AllocString(): 0x9ec1420 created string #12
console: DEBUG: [console.c:769] ReadReply: `passwd? crunchbang^M^J'
console: DEBUG: [cutil.c:355] AllocString(): 0x9ec14c8 created string #13
console: DEBUG: [cutil.c:355] AllocString(): 0x9ec1528 created string #14
Enter root@crunchbang's password:
console: DEBUG: [console.c:769] ReadReply: `ok^M^J'
console: DEBUG: [console.c:769] ReadReply: `@crunchbang^M^J'
console: DEBUG: [console.c:769] ReadReply: `goodbye^M^J'
console: DEBUG: [cutil.c:329] DestroyString(): 0x9ec1270 string
destroyed (count==13)
console: DEBUG: [console.c:611] GetPort: hostname=crunchbang
(crunchbang), ip=127.0.1.1, port=862
console: DEBUG: [cutil.c:355] AllocString(): 0x9ec1690 created string #14
console: DEBUG: [console.c:769] ReadReply: `access from your host refused^M^J'
console: DEBUG: [cutil.c:329] DestroyString(): 0x9ec1690 string
destroyed (count==13)
crunchbang: access from your host refused
console: DEBUG: [cutil.c:329] DestroyString(): 0x9ec11d0 string
destroyed (count==12)
console: DEBUG: [cutil.c:329] DestroyString(): 0x9ec1528 string
destroyed (count==11)
console: DEBUG: [cutil.c:329] DestroyString(): 0x9ec14c8 string
destroyed (count==10)
console: DEBUG: [cutil.c:329] DestroyString(): 0x9ec1420 string
destroyed (count==9)
console: DEBUG: [cutil.c:329] DestroyString(): 0x9ec13c0 string
destroyed (count==8)
console: DEBUG: [cutil.c:329] DestroyString(): 0x9ec13a8 string
destroyed (count==7)
console: DEBUG: [cutil.c:329] DestroyString(): 0x9ec1348 string
destroyed (count==6)
console: DEBUG: [cutil.c:329] DestroyString(): 0x9ec12a0 string
destroyed (count==5)
console: DEBUG: [cutil.c:329] DestroyString(): 0x9ec1288 string
destroyed (count==4)
console: DEBUG: [cutil.c:329] DestroyString(): 0x9ec1188 string
destroyed (count==3)
console: DEBUG: [cutil.c:329] DestroyString(): 0x9ec10e8 string
destroyed (count==2)
console: DEBUG: [cutil.c:329] DestroyString(): 0x9ec1020 string
destroyed (count==1)
console: DEBUG: [cutil.c:329] DestroyString(): 0x9ec1008 string
destroyed (count==0)
root@crunchbang:/usr/local/conserver/conserver-8.1.18/conserver#



This is what conserver debug is spitting out:

root@crunchbang:/usr/local/conserver/conserver-8.1.18/conserver# conserver -D
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [cutil.c:355]
AllocString(): 0x95c8620 created string #1
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [cutil.c:355]
AllocString(): 0x95c8690 created string #2
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [cutil.c:355]
AllocString(): 0x95c86a8 created string #3
[Sat Mar 31 09:08:10 2012] conserver (4522): conserver.com version 8.1.18
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [cutil.c:355]
AllocString(): 0x95c90c8 created string #4
[Sat Mar 31 09:08:10 2012] conserver (4522): started as `root' by `root'
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [main.c:1397]
main(): bind address set to `0.0.0.0'
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [cutil.c:2263]
ProbeInterfaces(): ifc_len==64 max_count==2
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [cutil.c:2318]
ProbeInterfaces(): name=lo addr=127.0.0.1
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [cutil.c:2318]
ProbeInterfaces(): name=wlan0 addr=192.168.1.200
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [cutil.c:355]
AllocString(): 0x95c8458 created string #5
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [cutil.c:355]
AllocString(): 0x95c8470 created string #6
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [cutil.c:355]
AllocString(): 0x95c8488 created string #7
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [cutil.c:355]
AllocString(): 0x95c84a0 created string #8
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [cutil.c:355]
AllocString(): 0x95c84b8 created string #9
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [cutil.c:355]
AllocString(): 0x95c84d0 created string #10
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [cutil.c:355]
AllocString(): 0x95c84e8 created string #11
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [cutil.c:355]
AllocString(): 0x95c8500 created string #12
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [cutil.c:355]
AllocString(): 0x95c8518 created string #13
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [cutil.c:355]
AllocString(): 0x95c93a0 created string #14
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [cutil.c:2923]
ReadCfg(): got keyword 'console' [/usr/local/etc/conserver.cf:1]
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [readcfg.c:2371]
ConsoleBegin(switch1) [/usr/local/etc/conserver.cf:1]
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [cutil.c:3006] got
keyword 'master' [/usr/local/etc/conserver.cf:1]
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [readcfg.c:3715]
ConsoleItemMaster(crunchbang) [/usr/local/etc/conserver.cf:2]
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [cutil.c:3006] got
keyword 'rw' [/usr/local/etc/conserver.cf:2]
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [readcfg.c:3859]
ConsoleItemRw(*) [/usr/local/etc/conserver.cf:3]
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [readcfg.c:2118]
ProcessRoRw(*) [/usr/local/etc/conserver.cf:3]
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [cutil.c:3006] got
keyword 'type' [/usr/local/etc/conserver.cf:3]
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [readcfg.c:3883]
ConsoleItemType(device) [/usr/local/etc/conserver.cf:4]
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [cutil.c:3006] got
keyword 'device' [/usr/local/etc/conserver.cf:4]
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [readcfg.c:3507]
ConsoleItemDevice(ttyUSB0) [/usr/local/etc/conserver.cf:5]
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [cutil.c:3006] got
keyword 'baud' [/usr/local/etc/conserver.cf:5]
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [readcfg.c:3483]
ConsoleItemBaud(9600) [/usr/local/etc/conserver.cf:6]
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [cutil.c:3006] got
keyword 'parity' [/usr/local/etc/conserver.cf:6]
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [readcfg.c:3739]
ConsoleItemParity(none) [/usr/local/etc/conserver.cf:7]
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [cutil.c:3006] got
keyword 'options' [/usr/local/etc/conserver.cf:7]
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [readcfg.c:3727]
ConsoleItemOptions(autoreinit cstopb hupcl)
[/usr/local/etc/conserver.cf:9]
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [readcfg.c:2440]
ConsoleEnd() [/usr/local/etc/conserver.cf:9]
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [readcfg.c:240]
BreakDestroy() [/usr/local/etc/conserver.cf:10]
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [readcfg.c:434]
GroupDestroy() [/usr/local/etc/conserver.cf:10]
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [readcfg.c:871]
DefaultDestroy() [/usr/local/etc/conserver.cf:10]
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [readcfg.c:3102]
ConsoleDestroy() [/usr/local/etc/conserver.cf:10]
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [readcfg.c:2652]
[switch1] remote on crunchbang
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [readcfg.c:4075]
AccessDestroy() [/usr/local/etc/conserver.cf:10]
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [readcfg.c:4519]
ConfigDestroy() [/usr/local/etc/conserver.cf:10]
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [access.c:314]
SetDefAccess(): trust=a, who=127.0.0.1
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [access.c:314]
SetDefAccess(): trust=a, who=192.168.1.200
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [cutil.c:355]
AllocString(): 0x95c9260 created string #15
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [cutil.c:355]
AllocString(): 0x95c9278 created string #16
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [cutil.c:355]
AllocString(): 0x95c9290 created string #17
[Sat Mar 31 09:08:10 2012] conserver (4522): DEBUG: [cutil.c:355]
AllocString(): 0x95c9400 created string #18
[Sat Mar 31 09:08:16 2012] conserver (4522): DEBUG: [cutil.c:355]
AllocString(): 0x95c9448 created string #19
[Sat Mar 31 09:08:16 2012] conserver (4522): DEBUG: [cutil.c:355]
AllocString(): 0x95c94e8 created string #20
[Sat Mar 31 09:08:16 2012] conserver (4522): DEBUG: [cutil.c:355]
AllocString(): 0x95c9500 created string #21
[Sat Mar 31 09:08:16 2012] conserver (4522): DEBUG: [cutil.c:355]
AllocString(): 0x95c9518 created string #22
[Sat Mar 31 09:08:16 2012] conserver (4522): DEBUG: [cutil.c:355]
AllocString(): 0x95c9530 created string #23
[Sat Mar 31 09:08:16 2012] conserver (4522): DEBUG: [access.c:145]
AccType(): ip=127.0.0.1
[Sat Mar 31 09:08:16 2012] conserver (4522): DEBUG: [access.c:184]
AccType(): who=192.168.1.200, trust=a
[Sat Mar 31 09:08:16 2012] conserver (4522): DEBUG: [access.c:204]
AccType(): addr=192.168.1.200
[Sat Mar 31 09:08:16 2012] conserver (4522): DEBUG: [access.c:184]
AccType(): who=127.0.0.1, trust=a
[Sat Mar 31 09:08:16 2012] conserver (4522): DEBUG: [access.c:204]
AccType(): addr=127.0.0.1
[Sat Mar 31 09:08:16 2012] conserver (4522): DEBUG: [cutil.c:355]
AllocString(): 0x95c95a8 created string #24
[Sat Mar 31 09:08:16 2012] conserver (4522): DEBUG: [cutil.c:355]
AllocString(): 0x95c9608 created string #25
[Sat Mar 31 09:08:16 2012] conserver (4522): DEBUG: [group.c:868]
CheckPass(): shadow password check
[Sat Mar 31 09:08:16 2012] conserver (4522): DEBUG: [group.c:898]
CheckPass(): password check failed
($6$0vrAtmfI$7dz8ja0vkFaVAEbiBrU/R601PWYRmi/jNFN9GmEd7YCWM/SMUpx1BfcItgXEQT7agnWHAQMXkS6hTYeaah8uG.)
[Sat Mar 31 09:08:19 2012] conserver (4522): DEBUG: [group.c:868]
CheckPass(): shadow password check
[Sat Mar 31 09:08:19 2012] conserver (4522): DEBUG: [cutil.c:355]
AllocString(): 0x95caa68 created string #26
[Sat Mar 31 09:08:19 2012] conserver (4522): DEBUG: [cutil.c:329]
DestroyString(): 0x95c9448 string destroyed (count==25)
[Sat Mar 31 09:08:57 2012] conserver (4522): DEBUG: [cutil.c:355]
AllocString(): 0x95c9448 created string #26
[Sat Mar 31 09:08:57 2012] conserver (4522): DEBUG: [access.c:145]
AccType(): ip=127.0.0.1
[Sat Mar 31 09:08:57 2012] conserver (4522): DEBUG: [access.c:184]
AccType(): who=192.168.1.200, trust=a
[Sat Mar 31 09:08:57 2012] conserver (4522): DEBUG: [access.c:204]
AccType(): addr=192.168.1.200
[Sat Mar 31 09:08:57 2012] conserver (4522): DEBUG: [access.c:184]
AccType(): who=127.0.0.1, trust=a
[Sat Mar 31 09:08:57 2012] conserver (4522): DEBUG: [access.c:204]
AccType(): addr=127.0.0.1
[Sat Mar 31 09:08:57 2012] conserver (4522): DEBUG: [group.c:868]
CheckPass(): shadow password check
[Sat Mar 31 09:08:57 2012] conserver (4522): DEBUG: [group.c:898]
CheckPass(): password check failed
($6$0vrAtmfI$7dz8ja0vkFaVAEbiBrU/R601PWYRmi/jNFN9GmEd7YCWM/SMUpx1BfcItgXEQT7agnWHAQMXkS6hTYeaah8uG.)
[Sat Mar 31 09:09:01 2012] conserver (4522): DEBUG: [group.c:868]
CheckPass(): shadow password check
[Sat Mar 31 09:09:01 2012] conserver (4522): DEBUG: [cutil.c:329]
DestroyString(): 0x95c9448 string destroyed (count==25)
[Sat Mar 31 09:09:01 2012] conserver (4522): DEBUG: [cutil.c:355]
AllocString(): 0x95c9448 created string #26
[Sat Mar 31 09:09:01 2012] conserver (4522): DEBUG: [access.c:145]
AccType(): ip=127.0.1.1
[Sat Mar 31 09:09:01 2012] conserver (4522): DEBUG: [access.c:184]
AccType(): who=192.168.1.200, trust=a
[Sat Mar 31 09:09:01 2012] conserver (4522): DEBUG: [access.c:204]
AccType(): addr=192.168.1.200
[Sat Mar 31 09:09:01 2012] conserver (4522): DEBUG: [access.c:184]
AccType(): who=127.0.0.1, trust=a
[Sat Mar 31 09:09:01 2012] conserver (4522): DEBUG: [access.c:204]
AccType(): addr=127.0.0.1
[Sat Mar 31 09:09:01 2012] conserver (4522): DEBUG: [cutil.c:329]
DestroyString(): 0x95c9448 string destroyed (count==25)


After I try to enter my root password.


Here is all of my conserver.cf file:

 console switch1      {
   master crunchbang;
   rw *;
   type device;
   device ttyUSB0;
   baud 9600;
   parity none;
   # See the conserver.cf man page for details...
   options autoreinit cstopb hupcl;
 }


I'm pretty new to linux and especially crunchbang (after a flirt with
Ubuntu) and I know that by default crunchbang does not have a root
account.  But I think somewhere along the way I created it or enable
it by typing "sudo root passwd" and giving it a password.

I'm not sure if conserver is asking for my root password or a password
from the conserver passwd file (I left off switches for this option
and when I mad a temp conserver.passwd file, it didn't seem to ask me
for that user name when I ran the password switch with conserver.

If it does use my root password, is there another linux command that I
can invoke that will ask me for my root password beside conserver so I
can type it and make sure I have the right password?  It's jsut very
confusing with the "su" "sudo" "root" and my "chris" account with a
lot of unknowns with what conserver is asking for.

Anyway, any help on this is greatly appreciated.

Thanks for reading and helping,
Chris