In Linux
1 2 |
# usermod -p "" foo # chage -d 0 foo |
In Solaris
1 2 3 |
# useradd foo # passwd foo # passwd -f foo |
In Linux
1 2 |
# usermod -p "" foo # chage -d 0 foo |
In Solaris
1 2 3 |
# useradd foo # passwd foo # passwd -f foo |
Check SSH service status
1 2 3 |
root@solaris1 # svcs ssh STATE STIME FMRI online Feb_05 svc:/network/ssh:default |
Restarting SSH service
1 |
root@solaris1 # svcadm refresh ssh |