From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076337821444.tru64-unix-managers.marc@archive.invalid> From: "DEBRULER, BONNIE" Date: Wed, 14 Aug 1996 15:33:09 +0000 To: tru64-unix-managers Subject: SUMMARY: shutdown account X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076337821444 On Thu, 8 Aug 1996, I wrote: > Date: Thu, 08 Aug 1996 16:03:33 -0500 (CDT) > From: "DEBRULER, BONNIE" > To: alpha-osf-managers@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: > 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@homer.bus.miami.edu Ryan R. Ziegler zieglerr@novachem.com Martin Moore martin@decatl.alf.dec.com Brian Sheehan sheehan@scripps.edu Gustavo dasilva@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@eglin.af.mil ====================================================== ==//=== // // TYBRIN Corporation Corp. (904) 651-1150 \\=================================================== 1283 N. Eglin Pkwy. Office (904) 882-9794 Shalimar, FL 32579 Fax (904) 729-2550