SUMMARY: shutdown account

From: DEBRULER, BONNIE <DEBRULER_at_eglin.af.mil>
Date: Wed, 14 Aug 1996 10:33:09 -0500 (CDT)

On Thu, 8 Aug 1996, I wrote:

> Date: Thu, 08 Aug 1996 16:03:33 -0500 (CDT)
> From: "DEBRULER, BONNIE" <DEBRULER_at_eglin.af.mil>
> To: alpha-osf-managers_at_ornl.gov
> Subject: shutdown account
> Followup-To: poster
>
>
> I am attempting to create a shutdown account on an AlphaStation 600 running
> DEC UNIX v3.2c. The console device is a graphics terminal on a PBXGA
> (ZLXp-E1) controller.
>
> Problem is I keep getting the following error:
>
> Moving control to CONSOLE device
> Could not send signal to "init".
>
>
> Other particulars....
>
> - I am running C2 security on this system.
>
> - The account probably needs to be a UID of 1 or 0, but XSysAdmin will
> not let me create an account with either of these UID's as they are 'in
> use'.
>
> - The account information is as follows:
> username: shutdown
> password: <there is one assigned>
> UID: 200
> shell: /bin/sh
> owner: system
> directory: /shutmedown
> primary group: daemon
> secondary
> groups: adm opr system tty
>
> - The .profile account has /sbin/init s as the last line.
>
>
> Can anyone lend a hand here?
>
> Thanks in advance.
>

Well, I received responses from the following:

        Tom Leffingwell sysman_at_homer.bus.miami.edu
        Ryan R. Ziegler zieglerr_at_novachem.com
        Martin Moore martin_at_decatl.alf.dec.com
        Brian Sheehan sheehan_at_scripps.edu
        Gustavo dasilva_at_bbs.elogica.com.br
 
The concensus was...just force the account to have the root UID by editting
both the password file and the /tcp/files/auth/s/shutdown file.

This did get me closer, but what finally crested the wave was ...
I placed an echo blah blah statement immediately prior to the /sbin/init s
statement.

I have since changed the /sbin/init statement to a /sbin/shutdown statement, but
all is well now.

Martin Moore did suggest that I create a C program to execute the init statement
and then set the permissions bit to run this program as root. I won't let that
idea go to waste!


Thanks for all your responses,

Bonnie DeBruler
debruler_at_eglin.af.mil
======================================================
   ==//===
 // // TYBRIN Corporation Corp. (904) 651-1150
 \\===================================================
      1283 N. Eglin Pkwy. Office (904) 882-9794
      Shalimar, FL 32579 Fax (904) 729-2550
Received on Wed Aug 14 1996 - 18:10:36 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT