Feed on Posts or Comments

Category ArchiveBSD/Linux



Computers & BSD/Linux & Tutorials REDBEARD0x0A on 02 Jul 2008

OpenSolaris Make /home useable

OpenSolaris has a very nice feature called automount that, when implemented, seems to be a very promising feature, however if you only have one or two servers or don’t want a ‘roaming’ home directory, then you can disable it.

The error you receive if you try to create a directory in /home will look like this:

mkdir: cannot create directory `/home/x': Operation not applicable

edit /etc/auto_master and comment out the line that has auto_home on it.

# Master map for automounter
#
+auto_master
/net		-hosts		-nosuid,nobrowse
#/home		auto_home	-nobrowse

rename the /etc/auto_home file to something else:

root@server:~# mv /etc/auto_home /etc/auto_home_disabled

Restart the autofs service and unmount the auto mounted /home:

root@server:~# svcadm refresh autofs
root@server:~# umount /home

You should now be able to use the /home directory like you are used to (you may need to change permissions on the directory.

Computers & BSD/Linux & Development REDBEARD0x0A on 16 Oct 2007

OS X Leopard: October 26, 2007 - 6:00pm

Computers & BSD/Linux REDBEARD_0x0A on 25 Sep 2007

Dynebolic 2.5 - Beautiful

Computers & BSD/Linux SquallBSR on 01 Jul 2007

I upgraded my home server

Computers & BSD/Linux & Development SquallBSR on 02 Jun 2007

CentOS 5 Linux and Ruby on Rails

Computers & BSD/Linux SquallBSR on 01 Jun 2007

The power of Linux

BSD/Linux & Tips & Tricks SquallBSR on 28 Jan 2007

Auto Incrementing Database Fields

Life & BSD/Linux SquallBSR on 25 Jan 2007

Today’s Dilbert

Computers & BSD/Linux SquallBSR on 18 Dec 2006

Karasu Installer

Computers & BSD/Linux SquallBSR on 13 Dec 2006

Karasu, libtool and general frustration

Next Page »