* Re: whoami-Intruder Alert problems [not found] <3563846A.71084E9B@eden.com> @ 1998-05-21 4:00 ` Sasa Stiasni 1998-05-28 4:00 ` sea 0 siblings, 1 reply; 2+ messages in thread From: Sasa Stiasni @ 1998-05-21 4:00 UTC (permalink / raw) 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 ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: whoami-Intruder Alert problems 1998-05-21 4:00 ` whoami-Intruder Alert problems Sasa Stiasni @ 1998-05-28 4:00 ` sea 0 siblings, 0 replies; 2+ messages in thread From: sea @ 1998-05-28 4:00 UTC (permalink / raw) 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 ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-05-28 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <3563846A.71084E9B@eden.com>
1998-05-21 4:00 ` whoami-Intruder Alert problems Sasa Stiasni
1998-05-28 4:00 ` sea
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox