Re: [Puppet Users] Disabling root user

2012-10-23 Thread Ben McCann
Thanks Christopher. That worked. It looks like either an asterisk or an exclamation mark will work as I see either in /etc/shadow for various accounts. Thanks, Ben On Tuesday, October 23, 2012 4:44:40 AM UTC-7, Christopher Wood wrote: > > I don't believe you'll be able to remove the root user

Re: [Puppet Users] Disabling root user

2012-10-23 Thread Christopher Wood
I don't believe you'll be able to remove the root user without massive system breakage due to how it's an essential system account. For example, your PID 1 likely runs as root. Perhaps try something like this untested fragment, given how the star is sometimes used to disable a password: user {

Re: [Puppet Users] Disabling root user

2012-10-23 Thread joe dhonny
Hi Ben, Am 23.10.2012 09:08, schrieb Ben McCann: > 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? > The root user can not be removed. The default settings on ubuntu are not

[Puppet Users] Disabling root user

2012-10-23 Thread Ben McCann
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 d