Turn root account in a Jail.

Hey.

I was wondering if is possible to turn off a root account in jail. I dont need this account becouse everything does from host. Only what i have done it;s lock a root -> pw lock root. It is enough ? I want remove root like user example: rmuser user but cant do that with root. Some can help me with this stuff ?

Thanks.
 
bryn1u said:
I was wondering if is possible to turn off a root account in jail. I dont need this account becouse everything does from host. Only what i have done it]

Yes, that should be fine. If you really want to be thorough:
Code:
# pw lock root
# chpass -e 'Jan 01 11' root
# chsh -s /usr/sbin/nologin root

Redundant. But hitting it from different angles. ;)
 
Back
Top