Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Oct 1998 15:58:54 +0500 (KGT)
From:      CyberPsychotic <fygrave@freenet.bishkek.su>
To:        freebsd-questions@FreeBSD.ORG
Subject:   ownership funnies.
Message-ID:  <Pine.BSD.4.02.9810021553340.425-100000@freenet.kg>

next in thread | raw e-mail | index | archive | help
Hello people,
Probably I miss something really stupid, anyway, here's my story, my box
is freebsd 2.2.7, now abit of expirement:

cat /etc/passwd | grep  user1
user1 ---> uid 1001, gid 1001, the same in master.passwd
cat /etc/passwd | grep user2
user2 ---> uid 1000, gid 1000;  the same also in etc/master.passwd

I remmeber I had to edit their ID/GID by hand.
pwd_mkdb /etc/master.passwd

now check /etc/group file:

user1:*:1001
user2:*:1000

now I login as user1:
touch foo; ls -al foo
foo is owned by user1, but group is user2 why??!
more intersting is that user2 get the same thing but : user2 bin. Any
ideas what may cause this? any files I have missed? I more linux user,
where passwd things are abit different, so I probably may have missed
something really familiar.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSD.4.02.9810021553340.425-100000>