Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: sstiasni@irb.hr (Sasa Stiasni)
Subject: Re: whoami-Intruder Alert problems
Date: 1998/05/21	[thread overview]
Message-ID: <slrn6m96ed.upn.sstiasni@rudjer.irb.hr> (raw)
In-Reply-To: 3563846A.71084E9B@eden.com


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




       reply	other threads:[~1998-05-21  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 ` Sasa Stiasni [this message]
1998-05-28  4:00   ` whoami-Intruder Alert problems sea
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