Quote:
Originally Posted by Joy1982
Write a script so that if the user executes the program as /root/program user , it should display kernel and if the user executes the program as /root/program kernel , it should display user. If no argument is passed or any other string other that user or kernel is passwd then the script should display the following to stderr : /root/program kernel|user
|
Code:
#!/bin/sh
case "$1" in user) echo kernel;; kernel) echo user;; *) echo "/root/program kernel|user" >/dev/stderr;; esac; exit 0
Quote:
Originally Posted by Joy1982
Code:
fdisk -cu/dev/sda
p
n
p
+30M
p
:wq(save) [0]
vi /etc/fstab [1]
|
0) forgot to mark the partition as type "Linux" (L, 0x83).
1) could also 'echo "/dev/disk/by-uuid/of45ed56-ao28-4aad-8 /mnt/data ext4 -netdev" >> /etc/fstab' but that's not the advertised way of doing things.
2) you did not post what errors your actions resulted in. Without knowing those ('grep iscsi /var/log/messages; dmesg'?) it is hard to assist you.
Quote:
Originally Posted by Joy1982
IMAPS must be available to brad from example.com [0]
IMAPS must NOT be available to other networks or domains. [1]
The SSL certicate for the IMAPS server must be created as follows: [2]
|
0) Use /etc/hosts.allow ?
1) Use /etc/hosts.deny ?
2) Either use a customized ssl.conf or run 'Make imaps.cert' and answer the questions. See the documentation pointed to in earlier post.
Quote:
Originally Posted by Joy1982
Make the kernel parameter value set to 1 for kernflk. Changes should be visible from /proc/cmdline file.
|
Appending the line to the GRUB kernel line as you did is OK.
It requires a reboot with that kernel to show up in /proc/cmdline though.