On 05/31/2011 10:59 PM, Jatin K wrote:
Dear all
by mistake I've deleted a file securetty from /etc directory :-(
how do I regenerate that file again
I've tried rpm -ivh --force setup-2.*
but problem is not solved
any help is appreciated
One way to do this is to use rpm2cpio and pipe the output to cpio to
extract /etc/securetty and replace it.
FWIW, unless you altered it, it is simply a text file with the following
contents.
console
vc/1
vc/2
vc/3
vc/4
vc/5
vc/6
vc/7
vc/8
vc/9
vc/10
vc/11
tty1
tty2
tty3
tty4
tty5
tty6
tty7
tty8
tty9
tty10
tty11