* Disabling Logins?
@ 2003-04-01 6:49 TyBreaker
2003-04-01 15:09 ` Ann Majeske
0 siblings, 1 reply; 6+ messages in thread
From: TyBreaker @ 2003-04-01 6:49 UTC (permalink / raw)
How does one disable logins (using XDM)?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Disabling Logins?
2003-04-01 6:49 Disabling Logins? TyBreaker
@ 2003-04-01 15:09 ` Ann Majeske
2003-04-04 11:10 ` TyBreaker
0 siblings, 1 reply; 6+ messages in thread
From: Ann Majeske @ 2003-04-01 15:09 UTC (permalink / raw)
"TyBreaker" <tybreaker@hotmail.com> wrote in message
news:25543d1e.0303312249.149adede@posting.google.com...
> How does one disable logins (using XDM)?
You haven't given us much to go on.
Are you trying to prevent all logins to the system or only
specific users?
Do you want to disable logins to an account permanently
or temporarily?
Do you want to allow specific types of login (e.g. telnet)
but prevent other types of logins (XDM)? or are you
asking how one uses XDM to disable logins?
What version of Tru64 UNIX are you running?
Is Enhanced Security enabled?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Disabling Logins?
2003-04-01 15:09 ` Ann Majeske
@ 2003-04-04 11:10 ` TyBreaker
2003-04-04 16:28 ` Ann Majeske
0 siblings, 1 reply; 6+ messages in thread
From: TyBreaker @ 2003-04-04 11:10 UTC (permalink / raw)
Sorry for the lack of substance, here goes...
> Are you trying to prevent all logins to the system or only
> specific users?
Ideally, I'd like to disable all logins at the XDM level. The reason is
to prevent users logging on while maintenance is performed. After the
maintenance is completed, I'd then want to re-enable logins.
I scanned through the man page for dtlogin since we use CDE once users
login. It mentions right down the bottom that one of the possible
messages it can spit out is "Logins are currently disabled" which gives
me hope that I can prevent people logging on completely but I couldn't
work out how to actually activate this.
> What version of Tru64 UNIX are you running?
I'm running 4.0F with no enhanced security.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Disabling Logins?
2003-04-04 11:10 ` TyBreaker
@ 2003-04-04 16:28 ` Ann Majeske
2003-04-05 8:43 ` TyBreaker
0 siblings, 1 reply; 6+ messages in thread
From: Ann Majeske @ 2003-04-04 16:28 UTC (permalink / raw)
"TyBreaker" <tybreaker@hotmail.com> wrote in message
news:MKcja.6732$1s1.81945@newsfeeds.bigpond.com...
> Sorry for the lack of substance, here goes...
>
> > Are you trying to prevent all logins to the system or only
> > specific users?
>
> Ideally, I'd like to disable all logins at the XDM level. The reason is
> to prevent users logging on while maintenance is performed. After the
> maintenance is completed, I'd then want to re-enable logins.
The easiest way to prevent all logins to the system for a period of
time is to just create the file /etc/nologin. Nobody can login while
this file exists.
>
> I scanned through the man page for dtlogin since we use CDE once users
> login. It mentions right down the bottom that one of the possible
> messages it can spit out is "Logins are currently disabled" which gives
> me hope that I can prevent people logging on completely but I couldn't
> work out how to actually activate this.
I don't know much about CDE, but it was my impression that XDM and
CDE are two different window managers. At any rate, I took a quick
look at the CDE Advanced User's and System Administrator's guide.
http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V40G_HTML/SYSADMIN/TIT
LE.HTM
There is a section in chapter 1 titled "Controlling Access to the Login
Server"
that might do what you want at that level.
>
> > What version of Tru64 UNIX are you running?
>
> I'm running 4.0F with no enhanced security.
>
Neither of the above will affect any users that are currently logged in,
if you need to make sure that nobody is logged in while the maintenance
is performed the easiest way would probably be to just bring the
system down to single user mode and bring it back up when you're
done.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Disabling Logins?
2003-04-04 16:28 ` Ann Majeske
@ 2003-04-05 8:43 ` TyBreaker
2003-04-05 19:12 ` Adam Price
0 siblings, 1 reply; 6+ messages in thread
From: TyBreaker @ 2003-04-05 8:43 UTC (permalink / raw)
Ann Majeske wrote:
> The easiest way to prevent all logins to the system for a period of
> time is to just create the file /etc/nologin. Nobody can login while
> this file exists.
Ah, this rings a bell! I've never actually tried it but will give it a
go. Hmm, better not log out of root while testing that lol!
> I don't know much about CDE, but it was my impression that XDM and
> CDE are two different window managers. At any rate, I took a quick
Well, XDM is just the login/password prompter, we then fire up CDE as
the desktop environment once authentication is achieved. Unsure as to
whether XDM pays attention to the /etc/nologin file but perhaps it might
so time will tell.
> Neither of the above will affect any users that are currently logged in,
> if you need to make sure that nobody is logged in while the maintenance
> is performed the easiest way would probably be to just bring the
> system down to single user mode and bring it back up when you're
> done.
I'm going to need the system up but thanks for all the tips!
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Disabling Logins?
2003-04-05 8:43 ` TyBreaker
@ 2003-04-05 19:12 ` Adam Price
0 siblings, 0 replies; 6+ messages in thread
From: Adam Price @ 2003-04-05 19:12 UTC (permalink / raw)
TyBreaker wrote:
> Ann Majeske wrote:
> > The easiest way to prevent all logins to the system for a period of
> > time is to just create the file /etc/nologin. Nobody can login
> > while this file exists.
>
> Ah, this rings a bell! I've never actually tried it but will give it
> a go. Hmm, better not log out of root while testing that lol!
>
/etc/nologin does not affect root.
See the man page for login for details.
Adam
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-04-05 19:12 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-01 6:49 Disabling Logins? TyBreaker
2003-04-01 15:09 ` Ann Majeske
2003-04-04 11:10 ` TyBreaker
2003-04-04 16:28 ` Ann Majeske
2003-04-05 8:43 ` TyBreaker
2003-04-05 19:12 ` Adam Price
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox