I have some machines running Ubuntu that have a root user on them setup by 
my web host.  I'd like to disable the root user.

I tried:
  user { 'root':
    ensure => absent,
  }

But got the error message:
err: /Stage[main]/Users/User[root]/ensure: change from present to absent 
failed: Could not delete user root: Execution of '/usr/sbin/userdel root' 
returned 8: userdel: user root is currently logged in

However, I don't believe the root user is logged in.  Is it not possible to 
delete the root user?  Is there something else I should do such as 
disabling its password?

Thanks,
Ben

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/VOgfDBb9GuAJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to