enable / disable root user – OSX

TO ENABLE ROOT:

1
 
% dsenableroot
username = Paul
user password:
root password:
verify root password:
dsenableroot:: ***Successfully enabled root user.


ALT:

1
dsenableroot -u Paul

 

TO DISABLE ROOT:

1
 
dsenableroot -d

 

SOURCE: OSXDAILY