home *** CD-ROM | disk | FTP | other *** search
/ The Hacker's Encyclopedia 1998 / hackers_encyclopedia.iso / zines / a_m / ati53.txt < prev    next >
Encoding:
Internet Message Format  |  2003-06-11  |  30.4 KB

  1. From: akcs.groundzero@tronsbox.xei.com (Ground Zero)
  2. Newsgroups: alt.society.ati
  3. Subject: Activist Times #53
  4. Date: 7 Dec 90 17:43:00 GMT
  5. Distribution: na
  6. Organization: what organization?
  7.  
  8.  
  9.  
  10.  
  11. *****
  12. *******
  13.    ** **
  14.    ** **
  15. *******
  16. *****       activist
  17.         times
  18.       **     incorporated!
  19.       **
  20. ********
  21. ********
  22.       **
  23.       **
  24.  
  25. **    **
  26. **    **
  27. ********
  28. ********
  29. **    **    ...
  30. **    **       .   .
  31.            . 53.
  32.         ...
  33.  
  34. Issue #53     December-5-1990
  35.  
  36. U.S. Mail:
  37.        ATI
  38.        PO Box 2501
  39.        Bloomfield, NJ 07003
  40.        U.S.A.
  41.  
  42. Our net address:
  43.  
  44. uunet!tronsbox!akcs.groundzero
  45.    OR:
  46. akcs.groundzero@tronsbox.xei.com
  47.  
  48.  
  49. ATI's Staff:
  50.       Ground Zero: publisher, editor, writer
  51.       Prime Anarchist: editor, writer
  52.       Writing/Research Staff: Sk8 the Skinhead, Fah-Q, MAC???, Happy
  53.       Harry Hardon, Stormbringer, Geraldo Riviera, The Happy Hacker, and
  54.       other occasional contributors.
  55.       Archivist: Llo
  56.  
  57.  
  58. Hi! Welcome to ATI53. We have a long one in store for you.
  59.  
  60. First, a few quick notes.  Our ftp sites are the following:
  61.  
  62. 128.95.136.2  blake.acs.washington.edu    /tmp/ftp/ati
  63.  
  64. 192.55.239.132    cs.widener.edu    pub/cud/ati  (use anonymous to login and
  65. your email address as your password).
  66.  
  67. ATI is uploaded to many boards across the world, but we can only assure
  68. that ATI is uploaded regularly to the following boards:
  69.  
  70. Ripco...................312-528-5020
  71. Blitzkrieg (TAP)........502-499-8933
  72. Sycamore Elite..........815-895-5573
  73. Cyberspace..............201-916-1943
  74. Atlantis................808-422-2200
  75.  
  76. You may have noticed Atlantis is back up. Be sure to give it a call and
  77. tell em ATI sent you!  Also, another interesting BBS is up. It's called
  78. Face to Face, and is for hackers and anyone who is interested in them
  79. (including security people, academic people, etc, etc). Call it at
  80. 713-242-6853.
  81.  
  82. Also, there is another online newsletter devoted to hacking, telecom,
  83. and other related items. It's called NIA, Network Information Access.
  84. Look for it on the above boards, especially Face to Face, or you may get
  85. on their net distribution list by sending mail to the following address.
  86. Tell em ATI sent you!
  87.         elisem@nuchat.sccsi.com
  88.  
  89.  
  90. Now for a brief column from Prime Anarchist:
  91.  
  92. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  93.  
  94. An Open Letter to 2600 Magazine from Prime Anarchist ---------------->
  95.  
  96.      I was at a phriend's house and was reading some of your back
  97. issues. Something in the Summer '89 issue caught my eye.
  98.      You mentioned in this issue that Abbie Hoffman "got arrested so
  99. many times that nobody could keep track".
  100.      I like the fact that you don't research it out. Gives the mag that
  101. raw edge.  I was gonna give you guys the number, but chose to keep it
  102. that way.  I can tell you though, he holds the record, and that's
  103. undisputable among underground people.
  104.      2 things I wanna remember about the Abner: He always shared his
  105. yo-yo tricks, and always had a working ITT code.
  106.      Please do not say that he did not reach the younger generation.  He
  107. reached me.  And that's more than enough.  Sure, you might see youngsters
  108. saying, "who's this Abbie chick?".  But for every one of those, you hear
  109. a, "yeah, I read 'Steal This Book'. Live by it".
  110.      "Fuck the System" and "Square Dancing in the Ice Age" are chock full
  111. of youthful ideas and great potent thoughts. Not to mention "Steal This
  112. Urine Test".
  113.      Abbie was obnoxious, sometimes annoying.  But most of all he was
  114. Abbie.    If you bet against his Chicago Bears, you never knew whether
  115. he'd got pissed at you or give you 20-1.  But he always paid on time and
  116. never called collect.
  117.      So nowadays, not only do I "say hello to Abbie" while playing with
  118. a computer somewhere, I also give him a quick hello while waiting for a
  119. call to go through somewhere.  I know he's out there. Skatin' across the
  120. fone lines.
  121.      Abbie reached a lot of people.  I just sometimes wish they wouldn't
  122. be SO DOGGONED APATHETIC!!
  123.      Wake up, Amerikkka. Steal this t-phile.
  124.  
  125.           -prime
  126.  
  127. -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
  128.  
  129.             * Random Notes from Ground Zero *
  130.  
  131. "ROGER AND ME" REVISTITED
  132.  
  133.      Those of you who saw the film "Roger and Me" know how the song
  134. "Wouldn't It Be Nice" by the Beach Boys was used in the film.  A GM auto
  135. worker, knowing the big layoffs were coming soon, got a panic attack
  136. while working the assembly line. The man left his post and got into his
  137. car to go home. He turned on the radio, and "Wouldn't It Be Nice" was
  138. playing, making the attack worse.  After the worker gives his account of
  139. the incident, the film's soundtrack blasts "Wouldn't It Be Nice" and takes
  140. the viewer for a ride down the streets of Flint, showing scores of
  141. boarded-up abandoned houses to show the contrast between the ideal life
  142. portrayed in the song and the reality of the devastated city of Flint.
  143.      The other day I got a newspaper, its headline stating that Hudson
  144. County (NJ) was to lose hundreds of blue collar jobs due to two closings.
  145. As I began to read the article sitting in my car, the song "Wouldn't It
  146. Be Nice" began to play on my car radio.  What an appropriate tune.
  147.  
  148. COCOTS FROM HELL
  149.  
  150.      U.S. Communications in White Plains, New York is the owner of many
  151. COCOTs, (customer owned coin operated telephone) which are non-Bell pay
  152. phones.  The many phones owned by USC in the New York metro area are not
  153. regulated by the FCC, thus allowing USC to charge whatever rates they
  154. whatever rates they wish.
  155.      Two examples of USC's heavily inflated prices were given on WCBS-TV
  156. news.  One woman in Long Island was charged $4.82 for a two-minute customer-
  157. dialed calling card call. If she had placed the call on a Bell-owned pay
  158. phone, the charge for the same call would have been only 55 cents.  A New
  159. York man was charged $7.39 for a two-minute local collect call, which
  160. would only have cost $1.78 if the call had been placed from a Bell pay
  161. phone.
  162.      The USC phones also provided a number to call for rate information,
  163. but this number was only available during business hours.
  164.      This is a clear case of how COCOTs and AOSs (alternate operator
  165. service companies, which are also unregulated and can charge whatever they
  166. want) blatantly rip off the public.
  167.      By the way, USC uses automation to process collect calls. Those
  168. making collect calls provide a brief recording of their voice. Then the
  169. calling number is automatically dialed, and whoever answers the phone is
  170. given the recording and instructed to dial 1 if they accept the charges.
  171.  
  172. A PLOT TO KILL BUSH
  173.  
  174.      I wonder why this one didn't get main media attention, but a
  175. attention, but Jamal Warrayat, 32 of Rutherford, NJ was arrested in
  176. a plot to kill President Bush, Secretary of State James Baker III, and
  177. members of Congress. Warrayat and his group also planned to attack US
  178. military installations, and also to blow up the Lincoln and Holland
  179. tunnels, connecting New York city and New Jersey.  Warrayat was born in
  180. Kuwait and served four years in the US Army after coming to the US.  He
  181. disclosed his plans to an undercover federal agent, resulting in his arrest.
  182. (source: North Jersey Herald & News, 11-30-90)
  183.  
  184. MADONNA, AGAIN. JUSTIFY THIS.
  185.  
  186.      Everyone's talking about the video to "Justify My Love", her latest
  187. "song". It depicts scenes of sado-masochism, bisexuality, cross-dressing
  188. and multiple partners. MTV banned
  189. it. As a result, Madonna decided to release the video as a video single
  190. for a whipping, er I mean, whopping $10.
  191.      I saw Madonna on ABC News' "Nightline", in which she stated that
  192. she had hoped to bend MTV's rules on videos and that they would show it.
  193. This may or may not be true.
  194.      In my opinion, she made a rather negative portrayal of herself on
  195. that show. Her speech was rushed, high pitched, repetitive (kept making the
  196. same points over and over again),
  197. and chock full of "you-know's" and other items.  She seemed rather
  198. defensive from the way she spoke.
  199.      Madonna stated that the video and the song are about two consenting
  200. adults ╨»talking about their sexual fantasies. That's fine. But when the ABC
  201. interviewer asked her about the issue of young teenagers or children
  202. watching the video and that the graphic portrayals in the video might
  203. confuse them, Madonna responded that it was good because "parents aren't
  204. doing their jobs" in explaining sex to children, and suggested that her
  205. video might ever spark discussions between chilren and parents. Come on,
  206. Madonna. You're grasping at straws in attempts to legitimize this video.
  207.      The interview asked another question which should also be mentioned.
  208. He mentioned Madonna's prior image, which caused her to come under fire
  209. from feminists: her "trashy bimbo" image that she used to go by around
  210. '84-'87, and especially her "boy toy" belt buckle that went with it. The
  211. interviewer also cited other images of Madonna questioned by feminists,
  212. including a shot of Madonna seminude and chained to a bed in the video
  213. of "Express Yourself". Madonna responded by stating that she put herself
  214. in these situations. She decided to dress the way she wanted, and put
  215. herself in chains in the video. Since she is not chained by anyone else,
  216. and no one put the chains on her, it's ok. Madonna further stated that
  217. she alone is in charge of her life, her career and her art, and "isn't
  218. that what being a feminist is all about? Taking control of your life?"
  219. That may sound fine to the ear, but further examination of the above
  220. statements is necessary.  No feminist could question whether or not
  221. Madonna is in charge of her career. But it's all too easy to sell music
  222. by using images that are marketable to men and then state that it's all
  223. ok because SHE made the artistic decisions, and not a man. Well, since
  224. the trashy "boy toy" image and even the image of a woman chained is
  225. marketable to men, it might be fine for her to use these images to make
  226. money, but it does nothing to further the cause of womanhood. Selling and
  227. perpetuating these images just puts women back in the Dark Ages.  And
  228. since a lot of young teenage girls listen to Madonna, they imitate her
  229. "boy toy" image and think it's the
  230. epitome of attractiveness and femininity. These images give young girls
  231. the message that their worth is in their physical appearance and sexuality
  232. rather than their intelligence, charachter, morals and other personal
  233. aspects. Madonna is no different than those big film and TV producers who
  234. use sex and exploit women to make a profit. The only difference is that
  235. she is using her own body and keeping the profits herself instead of a
  236. big producer. And while it may be good for a woman to make money, I
  237. heartily disapprove with the way she's doing it.
  238.  
  239.  
  240. % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % % %
  241.  
  242.  Now for an informative article on UNIX by Midnite Raider. Have phun!
  243.  
  244.             A Beginner's Guide To Unix
  245.  
  246.  
  247. The information contained in this file is by no means new or original.
  248. I was simply asked to compile some basic commands and concepts for the
  249. access and use of Unix systems. I would like to give credit to the many
  250. other files which I have gained this information from, and to the people
  251. who have helped me learn what I know today.
  252.  
  253. I will not cover any detailed or complicated features of Unix. I am
  254. merely going to provide the means to access low-security systems and
  255. navigate the shell.
  256.  
  257. Access:
  258. -------
  259.  
  260. All Unix systems are provided with default accounts. They are used for
  261. system administration and such. Many system operators are too lazy or
  262. naive to remove them. You may find the following accounts on a system,
  263. with no passwords:
  264.  
  265. daemon
  266. uucp
  267. bin
  268. adm
  269. sysadm
  270. admin
  271. sysadmin
  272. nuucp
  273. sync
  274.  
  275. Others may have been added, such as:
  276.  
  277. user
  278. est
  279. ld
  280. You can also try common first or last names (john,fred,smith,etc...).
  281. Be sure to use lowercase for the login name. If you enter a capital
  282. letter as the first character, the system will assume that your terminal
  283. is incapable of displaying lowercase. From then on, in order to enter
  284. capital letters you must precede each by a "\". This can become quite
  285. annoying, and you will probably never see an account with a capital
  286. letter as the first character.
  287.  
  288. Of the above defaults, the uucp or nuucp accounts are often used for Unix
  289. to Unix communications (uucp stands for Unix to Unix CoPy). If this is
  290. the case, the system will give send the uucp identifier, "Shere". In
  291. this case, the account is basically useless unless you can call via
  292. another system through the uucp command.
  293.  
  294. The sync account is a self-running Unix management account. If present,
  295. it will run a few housekeeping chores and log off. The only reason I
  296. included this is that many systems provide a greeting message or
  297. something of the sort when you log on as sync. Occasionally you can
  298. obtain information which will help you find an account.
  299.  
  300. If you cannot get in via the above methods, try using "who". If present,
  301. it will display a list of all accounts currently online. You can try
  302. those and hope they have no password.
  303.  
  304. If you are desperate, just hack blindly. Often the login name and
  305. password are the same. You can also try initials (as in names...rlb,jhs,
  306. etc...).
  307.  
  308. Once you are in:
  309. ----------------
  310.  
  311. If you make it through the front door, you do not necessarily have
  312. access to the shell. Often accounts have programs run automatically for
  313. specific users, such as system administration programs (useful),
  314. accounting programs, etc...  In this case, you can try to break out
  315. of the program (either through a menu option or a loophole). Try various
  316. escape/break related control characters (escape [ascii 27], ctrl-c
  317. [ascii 3], etc...).
  318.  
  319. When you are in the shell, you will be greeted by one of two prompts.
  320. Either a "$", denoting basic access, or a "#", denoting superuser access.
  321. If you have superuser access, most of your work may be done (depending
  322. on other security measures that have been taken). Either way, the
  323. following will help you get higher access.
  324.  
  325. First, you'll need some basic commands for moving around:
  326.  
  327. stty
  328.    This command sets your terminal characteristics. Before you attempt
  329.    anything else, you should set some     important ones. First, your
  330.    delete character. Many systems do not use the common ctrl-h [ascii
  331.    8]. Also, the delete on your computer may not be the standard ctrl-h.
  332.    To set your delete character, type:
  333.  
  334.    stty erase (character)
  335.  
  336.    Do not use the parentheses. Spacing is important. You can replace
  337.    (character) by hitting your own delete key, or typing a control key
  338.    sequence.
  339.  
  340.    If you would like to enter something a bit more visual to reassure
  341.    yourself, you can use:
  342.  
  343.    stty erase \^(character)
  344.  
  345.    To enter a control character without actually hitting control,
  346.    replace character with the desired control character. Ex:
  347.  
  348.    stty erase \^h
  349.  
  350.    The above command sets the erase character to ctrl-h. If you make a
  351.    mistake doing this, hit return and start over (obviously if the system
  352.    does not know your erase character, you cannot edit your mistakes).
  353.  
  354.    Once your control character is set, you will want to set your break
  355.    character. This is vital for file editing, which we will cover
  356.    shortly. To set the break character, type:
  357.  
  358.    stty intr (character)
  359.  
  360.    The same options as the delete character apply.
  361.  
  362.    To view the current setting, simply enter stty by itself. Often, the
  363.    system will already be configured to your liking. Occasionally, the
  364.    stty command will not display the erase or break (intr) characters, in
  365.    which case you should enter them to be sure. All control characters
  366.    will be displayed in the ^(character) format.
  367.  
  368. ls
  369.    This is the list-files command. It will show the names of all non-
  370.    hidden files in the current directory. The display will either be a
  371.    single list or multi-column display. The command lc toggles between
  372.    the two. In either case, the files will be sorted alphabetically
  373.    (numbers first, followed by most punctuation symbols, then capital
  374.    letters, and finally lowercase letters).
  375.  
  376.    ls has many options, which I will cover later.
  377.  
  378. pwd
  379.    Displays the current directory path from the root directory (/).
  380.  
  381. cd
  382.    Change directory. Those familiar with the MS-DOS environment will
  383.    have no trouble with this command. To change directories, simply
  384.    supply a path from the root directory. To go to the "lib" directory,
  385.    within the "usr" directory, you would enter:
  386.  
  387.    cd /usr/lib
  388.  
  389. cat
  390.    Displays a file. Often it is difficult to differentiate between
  391.    text files and data files. If you wish to abort the display, type
  392.    your break character.
  393.  
  394.    Cat requires the full pathname to access files outside the current
  395.    directory, but for files within the current directory, the filename
  396.    will suffice.
  397.  
  398.    Ex:
  399.  
  400.    cat /etc/passwd
  401.  
  402.    The above command will display the passwd file within the etc
  403.    directory. This file is present on all systems. It is immensily
  404.    useful in gaining higher access (basically, it is necessary
  405.    to gain any access).
  406.  
  407. These commands will help you for now. After setting your terminal
  408. options, enter:
  409.  
  410. cd /etc
  411.  
  412. We will be doing most of our work in there for the time being. You
  413. should have had your buffer on long before this on the system, but turn
  414. it on before executing the following command if you haven't:
  415.  
  416. cat /etc/passwd
  417.  
  418. Often these files are quite large, so after a while you may want to
  419. abort it. Often what you are looking for will be within the first few
  420. lines.
  421.  
  422. Each line of the passwd file represents an individual user. There are
  423. seven fields to each entry. A typical entry looks like this:
  424.  
  425. user:x:100:100:Elmo:/usr/user:/bin/sh
  426.  
  427. The first field is the login ID. The second is the password field. In
  428. newer versions of Unix, it will contain an "x". Older releases may
  429. contain the actual encrypted password (a string of seemingly random
  430. characters). On new systems the encrypted password are found in the
  431. /etc/shadow file. The third field is the user ID number. Fourth is the
  432. group ID number (more on groups later). Fifth is merely a comment about
  433. this user (often their name, or in an administrative account, its duties).
  434. Sixth is the home directory. The system will place you in your home
  435. directory when you log on. The final field contains the path and file
  436. names for the default shell or program. If this field is empty, the
  437. system defaults to /bin/sh.
  438.  
  439. You cannot gain a user's password via this file. You may be able to
  440. obtain access through a higher account, however. When looking for
  441. high-level accounts, you will want to examine the fourth field. The lower
  442. numbers often denote administrative accounts. The group "root" belongs
  443. to is most likely what you will want.
  444.  
  445. To discover more about the groups, view the /etc/group file. This
  446. contains the group names, the encrypted password required to change
  447. into/out of this group (almost always "NONE"), the group ID number (to
  448. compare to the passwd file), and a list of the group's members.
  449.  
  450. You will want to scan the passwd and group files to find any accounts
  451. that belong to the same group as root, or a group which root is in.
  452. Often root will be the only member of its group, so you will have to
  453. look for other administrative account groups (those containing such
  454. accounts as adm,admin, sysadm,sysadmin and so on).
  455.  
  456. Once you have found these accounts, you can attempt to gain their access.
  457. The command:
  458.  
  459. su (login ID)
  460.  
  461. allows you to essentially "become" that user. Replace (login ID), of
  462. course, with the account you want to assume. If the account has no
  463. password, the process is automatic. Otherwise, you will be prompted for
  464. a password. You can try the login ID as a password, but this may not
  465. work. If it does, make a note of it. Otherwise, you can try other
  466. methods, or go on to another account.
  467.  
  468. Hopefully, you will find an account with no password. If you have found
  469. an older system, without the /etc/shadow file, an empty password
  470. field (::) will tell you immediately which accounts do not have
  471. passwords. If it is a newer system, it will contain an "x" regardless
  472. of the presence of the password status.  If you find yourself in this
  473. dilemna, you may still be able to find a list of those accounts
  474. without passwords.
  475.  
  476. If you have the superuser ("#") prompt, you may be able to read the
  477. /etc/shadow file. The format for this file is:
  478.  
  479. login ID:(encoded pw):6480:14:28
  480.  
  481. The first field is the same as the login ID found in the /etc/passwd
  482. file. Each entry in /etc/passwd should have a corresponding one in
  483. /etc/shadow. The second field will be blank, denoting no password, or
  484. contain the afformentioned "random" characters. Third is a numeric code
  485. describing when the password was last changed. Fourth and fifth are the
  486. minimum and maximum number of days between mandatory password changes.
  487. Often the last two fields are empty, which means users are not required
  488. to change their passwords.
  489.  
  490. Here, again, you should look for any accounts without passwords, and
  491. examine the group file as mentioned.
  492.  
  493. Now, hopefully, you will have some decent access. Many of the accounts
  494. with no password are that way for a reason - they do not allow shell
  495. access; but that never stopped anyone.
  496.  
  497. If you discover an account that runs a program and then logs off, or runs
  498. a program which allows you to interact in a boring way, you can use
  499. this to your advantage. Look in the seventh field of this account's
  500. passwd information. It will contain the path and filename of the
  501. program being run.
  502.  
  503. At this point, security on most systems is extremely low. Many system
  504. operators are sure that by stopping you from directly getting access,
  505. they have stopped you totally. By "tricking" the system, you can get
  506. access indirectly.
  507.  
  508. If you find a program being run, go back to the account which gave you
  509. shell access. Then enter the directory where the program was (do not
  510. include the file "/" and the filename). You want to change the
  511. filename of the program. To do this, type:
  512.  
  513. mv (filename) (backup filename)
  514.  
  515. To change /usr/prog to /usr/prog.b, you
  516. would enter:
  517.  
  518. mv /usr/prog /usr/prog.b
  519.  
  520. Make sure you remember the filename you give it. It is also a good
  521. idea to keep it in the same directory. Now, you have to create a dummy
  522. file to replace it. We will have to use the "ed" file editor to do
  523. this. MAKE SURE YOU HAVE SET YOU BREAK CHARACTER. You cannot use ed
  524. without having a break character. To make the file, type:
  525.  
  526. ed (filename)
  527.  
  528. Where (filename) is the name of the file you just renamed. Use the
  529. OLD name (the one in the passwd file)! ed will respond with:
  530.  
  531. ?(filename)
  532.  
  533. meaning the file does not exist yet.
  534.  
  535. Some basic ed commands are:
  536.  
  537. q
  538.    Quit. If you attempt to quit after making changes, ed will not quit
  539.    until you hit "q" again (this is to remind you to save changes).
  540.  
  541. w
  542.    Write file (saves all the changes you make).
  543.  
  544. ,p
  545.    Displays all lines.
  546.  
  547. /(string)
  548.    Searches the buffer for (string), and displays that line.
  549.  
  550. a
  551.    Add lines (starting at the current line).
  552.  
  553. i
  554.    Insert lines at the current line
  555. d
  556.    Delete the current line.
  557. h
  558.  help on (shows verbose error messages).
  559.  
  560. a line number will bring you to that line. When editting a file
  561. which already exists, ed will show you the current number of bytes in
  562. the file rather than "?(filename)". If you attempt to write a file, and
  563. ed replies with "?(filename)", you do not have access to write that file.
  564.  
  565. Now, back to the dummy file. Type "a" to add lines. Enter:
  566.  
  567. echo "Blah"
  568. /bin/sh
  569.  
  570. Then, after pressing return on the /bin/sh line, type your break
  571. character. Write the file and quit the editor. You now have your
  572. dummy program set up. The command "echo" is a simple print command. You
  573. can enter as many as you like, or none at all. They are merely to
  574. reassure you that your program is running. The important part of this
  575. is the "/bin/sh", which runs the shell program.
  576.  
  577. You must now give all users access to your program, so the account
  578. will be able to use your newly created program. Type:
  579.  
  580. chmod +rwx
  581.  
  582. This will give read, write, and execute permissions to all users (more
  583. on permissions some other day).
  584.  
  585. You should now logon again as the account which uses this program.
  586. If you did everything right, you should now have control of the
  587. shell, hopefully with superuser access ("#" prompt). If you still do
  588. not have superuser access, go back and try something else. Be sure to
  589. do the next few steps whether it works or not, to insure your continued
  590. use of the system. Delete your dummy program by typing:
  591.  
  592. rm (filename)
  593.  
  594. Be sure to include the directory path in the filename, as before. Now,
  595. rename the old file back to its original name (just reverse the
  596. filenames in the previous rename command).
  597.  
  598. Now everything is back to normal. If you did not get access, you will
  599. have to go back to your old account to set the files back to normal.
  600. Make sure you do this, or you may cause damage to the system. This will
  601. result in higher security. Also, real hackers never damage systems for
  602. without cause. Laziness is not an excuse.
  603.  
  604. If you are still without decent access, you will have to consult
  605. another file. I may write another soon on more ways to gain access,
  606. but for now, this should help enough people.
  607.  
  608. >From now on, I will assume you have achieved superuser access within
  609. an administrative group. You will most likely want an account of your
  610. own now. Use the ed command to edit the /etc/passwd file. Somewhere
  611. in the mid-beginning section (within the first 4-12 lines), add an
  612. account using one of the default account not already present (from the
  613. first list, if possible), or commandeer an unused (be sure it is unused)
  614. default account already there.
  615.  
  616. Set you ID number and group to those of the root account (usually 0:3).
  617. Set your directory wherever you like, and set the shell filename to
  618. either /bin/sh, or leave it blank. In the password (second) field,
  619. what you enter depends on the system. If it is an older system where
  620. the encrypted passwords are stored in the passwd file, just enter
  621. whatever password you like there. The system will encrypt it for you
  622. when you save it. If it is the newer "x" system, put an "x" there, and
  623. do the following, otherwise skip this.
  624.  
  625. New system users will have to enter the command:
  626.  
  627. /etc/pwconv
  628.  
  629. This command will recreate the /etc/shadow file based on the information
  630. in the passwd file. Just to be sure, ed the shadow file, and leave the
  631. password field blank for your newly created account (use the /(string)
  632. command within ed to jump directly to your login ID).
  633.  
  634. Now, you can call back as your new
  635. account. You should enter:
  636.  
  637. passwd
  638.  
  639. to create a password for your account if it doesn't already have one.
  640.  
  641. If all has gone well, you now have an account of your own. I will now
  642. give a list of other commands which you can play around with.
  643.  
  644. Unix commands:
  645. --------------
  646.  
  647. banner (string)
  648.    This is a "fun" command, which will take (string) and expand it into
  649.    block letters on your display.
  650.  
  651. write (user)
  652.    Will send a message to another user. After entering the command, the
  653.    system will wait for you to type a message and terminate it with your
  654.    eof character. Change your eof character by entering:
  655.  
  656.    stty eof (character)
  657.  
  658. wall
  659.    Like write, but sends to all users.
  660.  
  661. who
  662.    Displays a list of everyone online.
  663.  
  664. mail (user)
  665.    Send email to any user in the passwd file. To read your mail, just type
  666.    mail.
  667.  
  668. exit
  669.    Logout of the system. I should have mentioned this before, but I forgot.
  670.    You can also use your eof character at the shell prompt to logout.
  671.  
  672. echo
  673.    Prints text or variables, as shown before.
  674.  
  675. env
  676.    Display all variables in your environment. More on shell variables soon.
  677.  
  678. rmdir (directory)
  679.    Delete a directory.
  680.  
  681. mkdir (directory)
  682.    Make a directory.
  683.  
  684. cp (original) (backup)
  685.    Copy a file.
  686.  
  687. grep (string) (filename)
  688.  Searches through (filename) until it finds (string), and then
  689.    displays the entire line (string) was found on.
  690.  
  691. date (time & date)
  692.    Alone, date displays the time and date. It can also be used to set it.
  693.  
  694. cal (date)
  695.    Alone, cal displays a calendar of the current month. With optional
  696.    month and year, it will display any year from 1 to 9999.
  697.  
  698. There are many more commands, but to explain them all could take
  699. forever. Most systems contain online help files which you can access
  700. by typing either:
  701.  
  702. man (command)
  703.  
  704. or:
  705.  
  706. help (command)
  707.  
  708. mmands, look in the various "bin" directories. They
  709. contain the actual programs.
  710.  
  711. riables:
  712.  shell allows the use of variables. All variables are represented by
  713. capital letters. You can create your own, or view/change standard system
  714. variables. Some standard variables are:
  715.  
  716. PATH
  717.    This will show the order the shell searches in to find commands. You
  718.    will most likely find a number of directories ending in "bin". An
  719.    example could be:
  720.  
  721.    :/bin:/usr/bin:/usr/lib/bin:/etc
  722.  
  723.    This means that when you type a command, the system checks to
  724.    directories in that order before finally giving up and reporting an
  725.    error if the command is not found (All commands are files).
  726.  
  727. PS1
  728.    This is the main shell prompt, usually "$" or "#", depending on
  729.    your access. You can change this to whatever you like.
  730.  
  731. TERM
  732.  
  733.    Some systems keep track of what type of terminal you are using, for
  734.    use in formatting output (usually through other programs).
  735.  
  736. LOGNAME
  737.    The login ID you are using.
  738.  
  739. HOME
  740.    Your home directory.
  741.  
  742. TZ
  743.    Timezone.
  744.  
  745. MAIL
  746.  mail is sent to.
  747. e others, but they tend to vary with the account. Enter the
  748. env command to display the variables in use.
  749.  
  750. Variables you create within shell programs (such as the dummy program
  751. that was discussed before) retain their values for the life of the
  752. program only (they do not affect the other shell variables).
  753.  
  754. You can change a variable like this:
  755.  
  756. TERM=ansi
  757.  
  758. Whenever you want to view a variable, or use it for another purpose,
  759. precede it with a "$". Ex:
  760.  
  761. echo $LOGNAME
  762.  
  763. will display your login ID.
  764.  
  765. to have run out of memory, so that's all for now. Hopefully
  766. I'll write more soon...
  767.  
  768.          - Midnite Raider
  769.  
  770.  " " " " " " " " " " " " " " " " " " " " " " " " " "
  771.  
  772.  
  773. ne, eh? Look for ATI54 soon. Take it easy, and
  774. stay out of trouble.
  775.  
  776. ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ;
  777.  
  778. ATI: part of George Bush's thousand points of light.
  779.  
  780.  
  781. ami.edu .......................................................
  782. Algren's Precepts: Never eat at a place called Mom's. Never play cards with a
  783. man named Doc. And never lie down with a woman who's got more troubles than you.
  784.