From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,c2e42a885db9365 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-04-04 08:28:55 PST From: "Ann Majeske" Newsgroups: comp.unix.tru64 References: <25543d1e.0303312249.149adede@posting.google.com> <3e89ae0a@usenet01.boi.hp.com> Subject: Re: Disabling Logins? Date: Fri, 4 Apr 2003 11:28:23 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 16.47.199.194 X-Original-NNTP-Posting-Host: 16.47.199.194 Message-ID: <3e8db511@usenet01.boi.hp.com> X-Trace: usenet01.boi.hp.com 1049474321 16.47.199.194 (4 Apr 2003 09:38:41 -0700) X-Original-Trace: 4 Apr 2003 09:38:41 -0700, 16.47.199.194 Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!news.compaq.com!usenet01.boi.hp.com!not-for-mail Xref: archiver1.google.com comp.unix.tru64:9810 "TyBreaker" 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.