21, 2004 12:24 PM
To: [EMAIL PROTECTED]
Subject: RE: [U2] Preventing Unix Login
Don't most flavors of unix support the /etc/nologin file? The contents
of that file will be displayed instead of the usual 'Login please'
prompt to telnet connections, as well as preventing logins, except from
root
Are you asking how or if it is a good idea?
If asking How: Disable logins in /etc/profile or if you are more
comfortable working in universe disable getting into uv in the uv home
directory's VOC UV.LOGIN add somethiong like this bit of code to the
top of the paragraph:
PA
BREAK OFF
IF
Can't You use dbpause ? or just stop telnetd ?
Lembit Pirn
7+7 Software
Tondi 1
Tallinn 11313
Estonia
+372 65 66 232
[EMAIL PROTECTED]
- Original Message -
From: Brutzman, Bill [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 21, 2004 7:39 PM
Subject: [U2] Preventing Unix Login
LP:
I will look into these commands... Thanks for writing.
Regards
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Lembit Pirn
Sent: Friday, May 21, 2004 1:06 PM
To: [EMAIL PROTECTED]
Subject: Re: [U2] Preventing Unix Login
Can't You use dbpause
vi your inet.sec file and only allow your workstation ip to connect to the
server via TELNET , this keeps everyone out but you.
put your ip addres on the TELNET line, normally this commented or removed.
Bobby Ramirez
IT Services
Body Wise International
714-368-1260
http://www.bodywise.com/
Don't most flavors of unix support the /etc/nologin file? The contents
of that file will be displayed instead of the usual 'Login please'
prompt to telnet connections, as well as preventing logins, except from
root. Try 'man login' from your unix shell prompt for more info. Just
setup the file
don't know if it will stop ftp logins however.
George
-Original Message-
From: George Gallen [mailto:[EMAIL PROTECTED]
Sent: Friday, May 21, 2004 1:14 PM
To: [EMAIL PROTECTED]
Subject: RE: [U2] Preventing Unix Login
Most Unixs have a feature where if you
touch a file call nologin
One flavor of unix we ran looked for an /etc/nologin file. If it existed,
it would print the contents of the message and not allow you to login. When
we moved off that particular unix, we lost that functionality. This is a
nice thing to have for reasons like you speak of. So, we put a
The number of varying methodologies presented in answer to this question
reminded me of a quote I read somewhere years ago regarding Unix: Its not
really an operating system, its more like a kit that can be used to build
one
-Original Message-
From: Anthony Dzikiewicz [mailto:[EMAIL
Here's how I do it in a script named /usr/bin/prevlogin:
#!/usr/bin/ksh
# Karl
# prevlogin, prevent logins
# place in /usr/bin
if [ $# -ge 1 ]
then
a=`/bin/echo $1 | /usr/bin/cut -c1 | /usr/bin/tr YN yn`
if [ $a = y ]
then
shift
/bin/cp /etc/nologin.klp /etc/nologin
chmod 444
That's kinda true and that's why I love unix.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff Schasny
Sent: Friday, May 21, 2004 2:11 PM
To: [EMAIL PROTECTED]
Subject:[OT] RE: [U2] Preventing Unix Login
The number of varying
Or the one: Unix is a very powerful weapon, perpetually aimed at your foot.
Jim
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Schasny
Sent: Friday, May 21, 2004 1:11 PM
To: [EMAIL PROTECTED]
Subject:[OT] RE: [U2] Preventing Unix
PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, May 21, 2004 3:25 PM
To: [EMAIL PROTECTED]
Cc: Doug Chanco
Subject: RE: [U2] Preventing Unix Login
Non-member submission from [Doug Chanco [EMAIL PROTECTED]]
To keep users other than root from being able to login do the
following:
1. login as root
2
13 matches
Mail list logo