docs/faq.md
f4d17450
 #FAQ
 
 #### Why can't I SSH in as root?
 
 By default Photon does not permit root login to ssh. To make yourself login as root using
 SSH set <code>PermitRootLogin yes</code> in /etc/ssh/sshd_config, and restart the sshd deamon.
 
fa8ce4d1
 #### Why is netstat not working?
f4d17450
 
 netstat is deprecated, ss or ip (part of iproute2) should be used instead.
 
dc6cdc29
 This [Guide](https://dougvitale.wordpress.com/2011/12/21/deprecated-linux-networking-commands-and-their-replacements/) guide depicts the most common examples.
 
652c6c02
 #### How do I install new packages?
fa8ce4d1
 #### Why is the yum command not working in a Minimal installation of Photon?
f4d17450
 
193ed7dc
 tdnf is default package manager to install new packages. Its a C implementation of DNF package manager. See [DNF documentation](https://media.readthedocs.org/pdf/dnf/latest/dnf.pdf) for detailed help on commands.
 
 Examples:
 
 To install new package
f4d17450
 
 ```
 tdnf install vim
 ```
 
193ed7dc
 To check available upgrades
 
 ```
 tdnf check-update
 ```
 
 To upgrade package
 
 ```
 tdnf upgrade vim
 ```
 
 To refresh repository cache
 
 ```
 tdnf makecache
 ```
 
fa8ce4d1
 #### How do I build a new RPM package?
f4d17450
 
fa8ce4d1
 Assuming you have the Ubuntu development environment setup and got the latest code pull into /workspace.
f4d17450
 Lets assume your package name is foo with version 1.0.
 
 ```
 cp foo-1.0.tar.gz /workspace/photon/SOURCES
 cp foo.spec /workspace/photon/SPECS/foo/
193ed7dc
 cd /workspace/photon
 sudo make foo
f4d17450
 ```
 
fa8ce4d1
 #### I just booted into a freshly installed Photon, why is ```docker ps``` not working?
f4d17450
 
fa8ce4d1
 Make sure the docker daemon is running, which by design is not started at boot time.
f4d17450
 
fa8ce4d1
 #### What is the difference between the Micro/Minimal/Full installations of Photon?
 Micro is the smallest version of Photon, under 220MB (as of 03/30) to be used as base for customization.
f4d17450
 
 Minimal is Micro plus Docker and Cloud-init packages.
 
 Full contains all the packages shipped with ISO.
 
193ed7dc
 #### What packages are included in Minimal?
 See [packages_minimal.json](../common/data/packages_minimal.json) for Minimal packages.
f4d17450
 
652c6c02
 #### Why is vi/vim not working in a Minimal installation of Photon?
f4d17450
 
 We have `nano` installed by default for file editing in Minimal. Use `tdnf` to install `vim`.
 
fa8ce4d1
 #### How do I transfer/share files between Photon and my host machine?
f4d17450
 
fa8ce4d1
 We are working on supporting some standard options. Currently we recommend using [sshfs](https://wiki.archlinux.org/index.php/sshfs) for file sharing between hosts and Photon.