Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: sea <sea@iamerica.net>
Subject: Re: whoami-Intruder Alert problems
Date: 1998/05/28	[thread overview]
Message-ID: <356DAEF2.CF40C129@iamerica.net> (raw)
In-Reply-To: slrn6m96ed.upn.sstiasni@rudjer.irb.hr




Sasa Stiasni wrote:

> On Wed, 20 May 1998 20:33:32 -0500, Meme Greathouse <memeg@eden.com> wrote:
> >I am learning sysadmin duties on a system running DEC UNIX 4.0.  Using
> >dxaccounts, I created several user accounts, with primary group faculty
> >(GID=30).  Upon logging on as user greathou (UID=202), I get some
> >interesting responses to user ID commands:
> >
> >% ls -l
> >total 7
> >drwxr-xr-x   2 202      30           512 May 18 18:26 Test/
> >drwxr-xr-x   2 202      30           512 Dec 29 21:48 bin/
> >-rw-r--r--   1 202      30          1315 May 15 16:17 check
> >-rw-rw-r--   1 202      30           123 May 13 18:26 mailfile
> >-rw-r--r--   1 202      30          1684 May 14 10:53 richard
>
> This should be user     group
> instead of number, something is wrong with your system.
> Do you have C2 installed?
> If so, try as root:
>
> # /usr/tcb/bin/authck -a
>
> and see if it complains
>
> >%
> >% who
> >root        console     May 20 17:24
> >root        :0          May 20 17:24
> >root        ttyp2       May 20 17:42
> >greathou    ttyp3       May 20 18:31
> >root        ttyp0       May 20 17:24
> >%
> >% whoami
> >Intruder alert.
>
> Interesting :-)
> Did you try typing 'alias whoami' or '\whoami' instead of just 'whoami'? :-)
>
> >%
> >% finger greathou
> >Login name: greathou                    In real life: ???
> >%
> >% id greathou
> >User not found in /etc/passwd file
> >
>
> It is obvious that user 'greathou' doesn't exist...
> I don't understand how can you log in at all :-)
>
> >Instead of displaying user name and group name, 'ls -l' returns only
> >user ID and group ID.  And the 'whoami' and 'id' commands are equally
> >confusing.  Also, the user 'greathou' is listed in /etc/passwd.
>
> If you have C2 security it is important that certain user have his/hers data in
> tcb auth files...
>
> >
> >One other question, is it necessary in DEC UNIX to list users in their
> >primary group line of /etc/group?  The help pages that come with
>
> No.
>
> >dxaccounts says that primary group members need not be listed.  I have
> >tried it both ways in this case, with the same result for 'whoami' and
> >'id'.
>
> Sasa
> --
> mailto: sstiasni@irb.hr
> URL: http://titan.fpz.hr/~sstiasni
> ICQ UIN #: 12844140

  I had this problem while I was learning to admin a DU 4.0d machine...
  After searching for about an hour I found the problem.
  Make sure the the /etc directory is world readable... That was my problem.

Brian Sea
Systems Administrator
sea@darwin.lsmsa.edu




      reply	other threads:[~1998-05-28  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3563846A.71084E9B@eden.com>
1998-05-21  4:00 ` whoami-Intruder Alert problems Sasa Stiasni
1998-05-28  4:00   ` sea [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox