01-27-2009
Can you use the /etc/init.d startup scripts area, although I'm not sure if this would not allow the user to respond.
Running the script from /etc/profile should evoke it at login for all users, or from .profile for specific users.
Alternatively, maybe try creating a user with your script as its defined shell in /etc/passwd. This is what I used to do to get my kids to shutdown my Linux box properly after they'd been playing games...I told them to login as "shutdown" which was a user with no password but with a shutdown script defined in passwd.
Jerry
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi,
just need to know the disk size and the partition size on machine.pls let me know how to do that.is their a way i can get to know the size of directory.like /,/var...etc.
thanx (2 Replies)
Discussion started by: saood
2 Replies
2. Linux
I have a 50GB section of my hard drive on which I've kept all my music, movies and more back from when I had Windows. When I'm in linux it says that the NTFS section is a read only section. Is it possible to copy, rename, add, move or delete any files off of this section? I'm trying to get rid... (2 Replies)
Discussion started by: CTroxtell21
2 Replies
3. UNIX for Dummies Questions & Answers
Hiya people,
A great big "HI" to everybody. I'm new to the Forum and now to my problem(s).
I am about to partition my only 80GB HD and using the Partition Magic 8 software it looks fairly simple although here is my problem :-
1. Do I change the new partition to primary or logical?
2. Do I... (4 Replies)
Discussion started by: Syndrome_00
4 Replies
4. Solaris
Hi everyone :b:
I'm glade to join this forum and I have one question
I installed latest Solaris 10 release on SF V480 with 2 73 GB disks 8 GB RAM 4 CPU's
My configuration is 10GB for root, 8GB for Swap and 12GB for var.
I mirrored root, so disk 1 has 40GB free of space and disk 2 has... (11 Replies)
Discussion started by: HishamN
11 Replies
5. AIX
Hi all,
I am still working on my mksysb restore.
My latest issue is during an alt_disk_install from tape I got the following error after all the data had been restored.
0505-143 alt_disk_install: Unable to match mksysb level 5.2.0 with any
available boot images. Please correct this... (0 Replies)
Discussion started by: pobman
0 Replies
6. Linux
I can't control the partion order during install.
For example i need.
hda5 /var 1GB
hda6 /opt 2GB
I created them in such order but OS adjust them to
hda5 /opt 2GB
hda6 /var 1GB
It is frustrating during install, I pretty sure I can order the partion as i like... (0 Replies)
Discussion started by: honglus
0 Replies
7. Solaris
Hi all,
After restoring the / FS on a netra 240. It is unable to boot the system.
The message displayed is the following:
"The file just loaded does not appear to be executable"
Bellow, the content of /etc/vfstab before restoring:
#more /etc/vfstab... (0 Replies)
Discussion started by: faberarnold
0 Replies
8. AIX
/dev/fslv01 5.00 2.90 42% 776 1% /movelv_testfslv01:/movelv_test
LP PP1 PV1 PP2 PV2 PP3 PV3
0001 0175 hdisk1 0111 hdisk0
0002 0176 hdisk1 0112 hdisk0
0003 0177 hdisk1 0113 hdisk0... (10 Replies)
Discussion started by: bobochacha29
10 Replies