Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Feb 2006 15:21:37 +0100
From:      Erik Norgaard <norgaard@locolomo.org>
To:        Robin Becker <robin@reportlab.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: configure acls on remote machine
Message-ID:  <43EB4FF1.60703@locolomo.org>
In-Reply-To: <43EB4E9E.30502@chamonix.reportlab.co.uk>
References:  <43EB4E9E.30502@chamonix.reportlab.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Robin Becker wrote:
> I have a remote freebsd host with root access via ssh user login and su. 
> I would like to configure acls for the /home mount, but am unsure if I 
> can do this remotely.
> 
> Last time I tried to reboot the machine via su root it went dead for 24h 
> while a  human was sent to press a button or something.
> 
> I see possible options as
> 1) switch to single user mode somehow and then unmount /home and 
> configure acls with tunefs
> 
> 2) su to root
>    kill processes using /home
>    do the umount and so on with /home unmounted.
>    remount /home
> 
> 3) some other method.
> 
> 
> I imagine it might be quite hard to do 1 and 2 seems difficult unless I 
> have an ssh to a home folder which isn't under /home.
> 
> Any ideas welcome.

Why don't you just create a user for this specific task with home dir on 
some other partition? Then you will ssh to a folder not under /home and 
you can do 2).

Cheers, Erik

-- 
Ph: +34.666334818                                  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43EB4FF1.60703>