Hi All!

I'm trying to remove the vc/1-11 lines in my /etc/securetty file. 

Is there a way to elegantly do this?

console
vc/1
vc/2
vc/3
.
.
vc/10
vc/11
tty/1
tty/2
tty/3
.
.
.
tty/10
tty/11

Doing:

rm /files/etc/securetty/*[.='vc/1'] works for one line
but
rm /files/etc/securetty/*[.='vc/*'] doesn't appear to iterate for the other 
vc lines.

Any suggestions?

-Kris

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/f3d49955-fece-484e-80f6-35230cc4f13b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to