No subject
Wed Jul 5 18:15:18 IST 2006
"/etc/securetty is used by login(1); the file contains the
device names of tty lines (_one per line_, without leading
/dev/) on which root is allowed to login."
This would imply that a regex etc in the file is going to be fsck all use,
because a regex would most likely be treated as a string. If you do manage
to get something working though I'd be interested to hear about it. In the
meantime if he's really feeling suicidal he can do something along the lines
of:
"ls -1 /dev/tty* | cut -d"/" -f3 > /etc/securetty" (The ls option is a
number one).
Regards,
Ruairi
----- Original Message -----
From: "Dermot Canniffe" <canniffd at student.cs.ucc.ie>
To: "Cork Linux Users Group" <cork at linux.ie>
Sent: Friday, May 11, 2001 9:12 PM
Subject: Re: [CLUG] allow root login on all ttys
> Since as far as I can remember ttys for things like telnet are
> created on the fly, how do I catch all possibilities? I'm looking
> for a sort of wildcard/regexp to do it all....
>
> Adam Lock (locka at iol.ie):
> > Adam Lock wrote:
> > >
> > > Dermot Canniffe wrote:
> > > >
> > > > I know this is hideously insecure, but my mate won't hear any of it.
> > > > How do allow root to login on all ttys?
> > > >
> > > > regards,
> > >
> > > Removing the appropriate entry from /etc/securetty may do the trick.
> > >
> >
> > Apologies, I meant ADDING to /etc/securetty
> >
> > --
> > Adam Lock - locka at iol.ie
> >
> > _______________________________________________
> > Cork maillist - Cork at linux.ie
> > http://www.linux.ie/mailman/listinfo/cork
>
> --
> Dermot Canniffe
> BScCS IV
> University College Cork
>
____________________________________________________________________________
> dermot.canniffe at student.cs.ucc.ie
http://student.cs.ucc.ie/01/canniffd
>
>
> Dermot Canniffe's choice of Epitaph #7:
> "Don't make me come down there!" :-God
>
> _______________________________________________
> Cork maillist - Cork at linux.ie
> http://www.linux.ie/mailman/listinfo/cork
>
>
More information about the Cork
mailing list