Menu

commandline join

2022-12-12
2022-12-29
  • Vance Ayres

    Vance Ayres - 2022-12-12

    Eduardo, I've got a weird problem going on here. Using AntiX 21 which is a Debian derivative. It's also the same 1 I asked a question about several months ago because it doesn't have systemd. I suppose that might be related to my current problem but probably not. The commandline I try to use is "sudo cid join domain=ayres.lan user=vance pass=Emerson!!4510". Before I enter the password for sudo I get a line that tells me what I asked for. That line prints out as "sudo cid join domain=ayres.lan user=vance pass=Emersonsudo cid leave4510". I don't continue with the join command because I know it won't work. As I worked on this post I decided to change the password on the server. By changing it to Emerson I was able to join the domain. Is this a drawback to the use of the commandline cid tool? I was using the commandline because the GUI tool stopped working. When I try to use it it just flashes up & then immediately goes away. Do I need to uninstall cid & cid-gtk & then reinstall them? Thanks!!

     
    • Eduardo Moraes

      Eduardo Moraes - 2022-12-13

      Hi Vance!

      This happened because the "!" is a special character in bash. In order not to expand it you should have put it in single quotes like this:

      sudo cid join domain=ayres.lan user=vance pass='Emerson!!4510'

      As for the GUI error, you need to dig a little deeper to understand the problem. See if there are any log entries in /var/log/cid/functions.log or run in the terminal sudo cid-gtk to see if there are any error outputs.

       
  • Vance Ayres

    Vance Ayres - 2022-12-29

    Sorry for the delay Eduardo. I've been busy with other things & not able to get to this project. On my problem with joining the domain, I had tried it with double quotes but that didn't work but with your tutoring I tried it with single quotes & that did work. The 2nd problem was resolved when I did the updates the computer needed. I think it was something broken with policykit-1 before the updates were done because when I ran the command "sudo cid-gtk" before updating I got an error that in part said I needed the shared libraries libpolkit-gobject-1.so.0 & cannot open shared object file & No such file or directory.
    Everything is good now though. Thanks for the help & I'll come back if I run into other problems!

     
    • Eduardo Moraes

      Eduardo Moraes - 2022-12-29

      Thanks for the feedback!

       

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB