configure acls on remote machine

Erik Norgaard norgaard at locolomo.org
Thu Feb 9 06:21:47 PST 2006


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


More information about the freebsd-questions mailing list