From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 31 Oct 1995 07:05:27 -0500 From: G. David Butler gdb@dbSystems.com Subject: user ID of adm Topicbox-Message-UUID: 315357a8-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <19951031120527.fbWyykVyuRDJ5F-eiBoNRDWcaSSDNrwf1XLco3-9QyQ@z> Scott Schwartz writes: >Kenji Okamoto writes: >| In my system, the user ID of adm is '-1', but none ocuupies UID of 0. >| Although I'm sure I did something wrong, I cannot login as adm user now. >| Does anyone can advise what's wrong with my system? > >On the contrary, it sounds like authentication is now working >properly. 0 doesn't mean root---there is no such thing in plan9. It >is intended that no user can authenticate as adm, just the console of >the fileserver. Yes, but have you ever tried to create a file owned by uid adm? At the fs console use fs(8) "create file adm adm 664" says invalid uid! According to the docs, a negative id simply means that the file server will not allow anybody to authenicate to that id. So the only way to create such a file is from the fs console, but as above, you can't.