How things could be solved...
Exerecise 5
Assignment 5.1
- It's enough to change command at line
ca::ctrlaltdel:/sbin/shutdown -t5 -rf now
to something different... for example /bin/date
- Well, and if we want more consoles, it should be enough to see the line
c6:12345:respawn:/sbin/agetty 38400 tty6 linux
and add similar line, just like c7:12345:respawn:/sbin/agetty 38400 tty7 linux.
Assignment 5.2
- Default runlevel is 3, as you can see at line
id:3:initdefault:.
- And the rest I can see by myself, for example scripts in directory
/etc/rc.d
could be interesting.
Assignment 5.3
It is enough to have a look at lines having number '3' in second column (as
we already found out in exercise 5.2); and I already know the meaning, don't
I? :)
Assignment 5.4
Well, not too many things to give hints... commands telinit 2,
or shutdown -h +5 could be useful.
Assignment 5.5
First I'll type at 11:20, then poweroff and
terminate it with CTRL+D. Of course, if exercise ends at
another time, I'll use the correct one :)
Assignment 5.6
It can be done for example this way:
50 9 * * 3 date | wall
*/10 10 * * 3 date | wall
0,10,20 11 * * 3 date | wall