18.02.2014 Views

string

string

string

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The disk label (VTOC) is kept on the block 0 of cylinder 0. The label will eventually<br />

get overwritten by database programs using raw partitions if the raw partition<br />

begins at cylinder 0. (Unix filesystems avoid this area of the partition.)<br />

Action<br />

The workaround is to go into format and get the backup label using the backup<br />

command. Relabel the disk using this backup label. You should then be able to<br />

access the disk.<br />

Backup the data on this disk.<br />

Go back to the disk and relabel it, starting the raw partition at cylinder 1 (This looses<br />

one cylinder, but prevents corrupting the VTOC).<br />

Label again.<br />

Restore the data from your backup.<br />

could not grant slave pty<br />

Cause<br />

User gets the error message: could not grant slave pty when attempting a<br />

telnet(1), rlogin(1), or rsh(1) session (anything that requires a shell) or when<br />

trying to bring up an x-term.<br />

Action<br />

The user’s file permissions were set wrong on /usr/lib/pt_chmod. The user had:<br />

# ls -la /usr/lib/pt_chmod<br />

---s--x--x 1 bin bin 3120 May 3 1996<br />

The permissions should be:<br />

# ls -la /usr/lib/pt_chmod<br />

---s--x--x 1 root bin 3120 May 3 1996<br />

Note that the owner should be root, user had bin as the owner. Also note that the<br />

setuid bit must be set. Once the user did a chown root pt_chmod, everything<br />

worked again.<br />

Alphabetical Message Listing 43

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!