Sample Header Ad - 728x90

When using net -W WORKGROUP -n HOSTNAME getting "Invalid Command"

2 votes
1 answer
96 views
Running Debian Linux with samba, smbclient and samba-common-bin packages installed. I am trying to run the command (as root for now and adding response) root@machine:/# net -W WORKGROUP -n HOSTNAME Invalid command: net Usage... and all the options and I am getting the response "Invalid Command" even though this should be the correct usage. Running man net gets me all the man pages and net help gives all possible options including the the above. The intent is to configure a Debian Mini-Linux USB stick for a Clonezilla cloning operation. Our Intrusion Detection System is set up to recognize the workgroup as WORKGROUP and CLONEZILLA (hostname) along with a particular brand of NIC card to allow it on the network. After more research, I found that smb.conf is configured for workgroup = WORKGROUP and I have put CLONEZILLA in the hostname file in the stick. I was going to use the command line above to set those in the Clonezilla environment. Now I have to test against the IDS.
Asked by DubyaG (21 rep)
Feb 11, 2021, 03:20 PM
Last activity: Feb 11, 2021, 06:14 PM