Lines Matching +full:ssh +full:. +full:bin

1 # $MirOS: src/distrib/common/dot.profile,v 1.62 2013/09/28 19:55:15 tg Exp $
2 # $OpenBSD: dot.profile,v 1.4 2002/09/13 21:38:47 deraadt Exp $
3 # $NetBSD: dot.profile,v 1.1 1995/12/18 22:54:43 pk Exp $
6 # Thorsten “mirabilos” Glaser <tg@mirbsd.org>
7 # Copyright (c) 1995 Jason R. Thorpe
8 # Copyright (c) 1994 Christopher G. Demetriou
9 # All rights reserved.
14 # 1. Redistributions of source code must retain the above copyright
15 # notice, this list of conditions and the following disclaimer.
16 # 2. Redistributions in binary form must reproduce the above copyright
18 # documentation and/or other materials provided with the distribution.
19 # 3. All advertising materials mentioning features or use of this software
21 # This product includes software developed by Christopher G. Demetriou.
22 # 4. The name of the author may not be used to endorse or promote products
27 # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
34 # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36 export HOME=/ LC_CTYPE=en_US.UTF-8 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/ \
48 . /etc/functions
50 if grep -q '^root:x:' /etc/master.passwd 2>/dev/null; then
54 if [[ ! -f /etc/ssh/ssh_host_rsa_key ]]; then
56 print -n "ssh-keygen: generating new RSA host key... "
58 if ssh-keygen -qt rsa -f /etc/ssh/ssh_host_rsa_key -N ''; then
59 print done.
61 print failed.
62 rm -f /etc/ssh/ssh_host_rsa_key
65 if [[ -f /etc/ssh/ssh_host_rsa_key ]]; then
66 ssh-keygen -lf /etc/ssh/ssh_host_rsa_key
75 ifconfig lo0 inet 127.0.0.1 up
76 sysctl -w net.inet6.ip6.accept_rtadv=1
87 echo Configuring the ssh daemon
90 ed -s /etc/master.passwd
91 pwd_mkdb -p /etc/master.passwd
96 alias l='/bin/ls -F'
101 rootdisk=$(sysctl -n kern.root_device)
104 if [ ! -f /.profile.done ]; then
106 integer avmem=$(sysctl -n hw.usermem)
112 # also read some stuff from the HDD etc. (doesn't matter if it breaks)
123 Welcome to the MirOS BSD operating system installer. This work is
125 the information at http://mirbsd.de/ and its mirrors. After setup
127 other terms used by MirOS or its contributed material.
128 This work is provided "AS IS" and WITHOUT WARRANTY of any kind.\n'
137 dmesg | sed -ne '/^MirBSD/h;/^MirBSD/!H;${g;p;}' >/var/run/dmesg.boot
152 :>/.profile.done
180 [ -x /usr/bin/vi ] && print -n ' (n)vi'
181 [ -x /usr/bin/e3 ] && print -n ' e3*'
182 [ -s /ed.hlp ] && print -n ' - help with # less /ed.hlp'
183 print '\nNetwork interfaces (e.g. for dhclient $if;passwd root;sshd):' \
185 [ -x /usr/bin/tinyirc ] && print 'Chat client: tinyirc'
187 _vbox_check && echo Sorry, WirrtualBox is not supported.