Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I just upgraded to OS X 10.7 Lion and soon realized that running net rpc shutdown... to reboot one of my Windows machines resulted in a "comand not found" error. Indeed, it seems that netis just gone! Can anyone think of a way to get this back? Is it perhaps in the OS X Lion Server bundle?

share|improve this question

1 Answer 1

up vote 8 down vote accepted

The "net" command is part of the Samba suite of utilities for interacting with Windows SMB network shares. Samba has shifted its licensing to the more restrictive GPLV3, which has prevented Apple from including it in Lion, and they have developed their own tools which omit a lot of legacy support for older implementations of SMB. Your best bet is probably to use MacPorts or Homebrew to install Samba yourself.

See the following links for more information:

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.