Sponsored Content
Full Discussion: any goof ups like this?
The Lounge What is on Your Mind? any goof ups like this? Post 302142546 by bakunin on Saturday 27th of October 2007 08:14:39 AM
Old 10-27-2007
Matters of Standardization

In a really BIG oil company i worked for several years ago the Unix group (me) got a new team leader - a former systems programmer from the mainframe. One day i hear him curse in his office:

Me:What is the problem?
He: I type in this line now for the fifth time...

He was typing some really long commandline with several long pathnames and of course didn't get it right - he didn't know about commandline editing and the cursor keys were of course not working. I went there, issued "set -o vi" and hit ESC-k, then showed him how to edit the commandline.

Several days later i heard him cursing again:

Me: What's up, need help?
He: The tips you give me are all nonsense! You told me about ESC-k and now see this...

I had a look on his screen, where a shell with the SAP R/3 system user where open, a line full of ESC-k's where there. For no apparent reason SAP had its system user use csh instead of ksh like the rest of the system (AIX 3.2.5). The following dialog took place:

Me: ahh, that is c-shell, use "!!" to repeat the command
He: and why not ESC-k?
Me: because its C-shell
He: and why is ESC-k working here (points to another window)
Me: because it is Korn Shell
He: ok, but why isn't it working here? (point to csh window)
Me: because it is C-shell and not Korn Shell
(...skipped at least 5 repeats ....)

He: so you want to tell me there are *several* shell in Unix??
Me: yes. The common shell in AIX is Korn shell, some prefer BASH, the SAP system user is csh, which some programmers also prefer and there is the ancestor of them all, the Bourne shell and some others, ...

After this he went into his office and started thinking. 2 hours later he came out beaming:

He: I have thought that over. We will now decide which shell we use as a standard and every other shell will have to be deleted from the system.

I told him to discuss this with the IBM technician and resigned from the job within the next hour.

bakunin
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Newbie UPS help

I am a newbie and I just got a Sun Ultra 5, and want an UPS. I have been looking at the different models, but I do not know which brand has software that is compatable with Solaris 2.8 for automatic shutdown. I have looked at the power setup options in Solaris, but there doesn't seem to be any... (1 Reply)
Discussion started by: jeremiebarber
1 Replies

2. UNIX for Advanced & Expert Users

UPS for HP-9000

Hello Everyone I run 4 HP 9000 servers with HP-UX 11.0 on all 4, with an Infomix Database. About 6 months ago one system starting acting real weird it will display the message that it lost power (which did not) and it would shutdown, Then roughly 30 seconds later it would then say power has... (4 Replies)
Discussion started by: JackieRyan26
4 Replies

3. IP Networking

goof up

i did a vi on an executable in /var/sbin. now its created a file named # cd /usr/sbin # ls -l named* -rwxrwxrwx 1 root system 1 Oct 28 17:44 named -rwxrwxrwx 1 root ... (1 Reply)
Discussion started by: cubicle^dweller
1 Replies

4. Solaris

Suns and UPS tripplite

I'm having some trouble getting my ups to work on my Sun ultra enterprise servers. I have it hooked to serial port b and i have the tripplite power alert software installed and running, but it doesn't see the connection, is there something else i'm supposed to do to make it realize it is hooked to... (2 Replies)
Discussion started by: kymberm
2 Replies

5. Solaris

installing a UPS on a sun workstation

Has anyone ever setup the APC powerchute (business edition agent) software, using a USB drive on any solaris machines? We installed the software, and it doesnt seem to be giving the option for a /dev/usb device, it only gives options of /ttya, ttyb etc... anyone ever done this with a USB? or... (0 Replies)
Discussion started by: BG_JrAdmin
0 Replies

6. Solaris

UPS Installation

Dear All, I have installed package ups reillo in solaris but i could not use setup normaly, i could not connection with ttya , i need connect with ups for set system shutdown and another configuration. please i need help for solution thanks. (0 Replies)
Discussion started by: athurbayunata
0 Replies

7. Shell Programming and Scripting

script to poweroff when running on UPS

Hi all, The place where i stay experiences lot of power cuts and my solaris box is almost always on. It so happens that many times i will not be around to switch it off as soon as there is a power cut..(i also have UPS which provides alternative supply for 15min) So i wanted to write a script... (3 Replies)
Discussion started by: wrapster
3 Replies

8. UNIX for Dummies Questions & Answers

telnet via ssh to an APC UPS

Hello! First post, please be gentle! I have some APC UPS devices that I'm trying to log in to. They are currently configured to use telnet -- as a safety precaution, they can only be accessed from our 'bounce' machine. Because I want to do this from a script on my local machine, I'm doing it... (2 Replies)
Discussion started by: Korla Plankton
2 Replies

9. Hardware

CyberPower UPS

Is anyone here using this brand, and if so, how satisfied are you with its 'PowerPanel for Linux' software? Any problems? (0 Replies)
Discussion started by: Varsel
0 Replies

10. What is on Your Mind?

The green pop-ups...

Admins... I just lerve the pop-ups that appear whilst replying to someones post. It reminds me of "Paperclip" from my MS Windows days... ;oDD Love it, as it makes me smile, telling me I am creating a thread ATM... ;o) Neat little addition/feature guys... (4 Replies)
Discussion started by: wisecracker
4 Replies
device_maps(4)                                                     File Formats                                                     device_maps(4)

NAME
device_maps - device_maps file SYNOPSIS
/etc/security/device_maps DESCRIPTION
The device_maps file contains access control information about each physical device. Each device is represented by a one line entry of the form: device-name : device-type : device-list : where device-name This is an arbitrary ASCII string naming the physical device. This field contains no embedded white space or non- printable characters. device-type This is an arbitrary ASCII string naming the generic device type. This field identifies and groups together devices of like type. This field contains no embedded white space or non-printable characters. device-list This is a list of the device special files associated with the physical device. This field contains valid device special file path names separated by white space. The device_maps file is an ASCII file that resides in the /etc/security directory. Lines in device_maps can end with a `' to continue an entry on the next line. Comments may also be included. A `#' makes a comment of all further text until the next NEWLINE not immediately preceded by a `'. Leading and trailing blanks are allowed in any of the fields. The device_maps file must be created by the system administrator before device allocation is enabled. This file is owned by root, with a group of sys, and a mode of 0644. EXAMPLES
Example 1: A sample device_maps file # scsi tape st1: rmt: /dev/rst21 /dev/nrst21 /dev/rst5 /dev/nrst5 /dev/rst13 /dev/nrst13 /dev/rst29 /dev/nrst29 /dev/rmt/1l /dev/rmt/1m /dev/rmt/1 /dev/rmt/1h /dev/rmt/1u /dev/rmt/1ln /dev/rmt/1mn /dev/rmt/1n /dev/rmt/1hn /dev/rmt/1un /dev/rmt/1b /dev/rmt/1bn: FILES
/etc/security/device_maps SEE ALSO
allocate(1), bsmconv(1M), deallocate(1), dminfo(1M), list_devices(1) NOTES
The functionality described in this man page is available only if the Basic Security Module (BSM) has been enabled. See bsmconv(1M) for more information. SunOS 5.10 16 Jan 2001 device_maps(4)
All times are GMT -4. The time now is 10:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy