Hi, On Fri, 25 Jan 2013 02:11:27 +0100 Ralf Mardorf <ralf.mard...@rocketmail.com> wrote:
> Hi all, hi Joshua, > > On Thu, 2013-01-24 at 16:10 -0600, Joshua Isom wrote: > > find / -uid 1001 -exec chown 1000 '{}' \; > > find / -gid 1001 -exec chown :1000 '{}' \; > > I made one mistake, when I run "find / -gid 1001 -exec chown :1000 > '{}' \;" for the fist time, I did it without the ":". Later I run it > without the typo. > > There's a serious problem now, rocketmouse still is 1001. > > .login_conf was '1000 1001', after I "chown 1001" it, to start X as > user, it became 'rocketmouse 1001', the user rocketmouse still can't > run a X session anymore. > > After rebooting this is the output I get: > > # id rocketmouse > uid=1001(rocketmouse) gid=1001 groups=1001,0(wheel) > > # ls -hAl /home/ | grep rocketmouse > drwxr-xr-x 28 1000 rocketmouse 1.5k Jan 24 18:14 rocketmouse > > # grep 100 /etc/group > rocketmouse:*:1000: > musicpd:*:1002: > > # grep 100 /etc/passwd > rocketmouse:*:1000:1000:Ralf:/home/rocketmouse:/bin/sh > musicpd:*:1002:1002:Music Player > Daemon:/home/musicpd:/usr/sbin/nologin > > # grep 100 /etc/master.passwd > rocketmouse:$1$3mMkzcfl > $VuryrlzFZ92LmaC6cUOa/.:1000:1000::0:0:Ralf:/home/rocketmouse:/bin/sh > musicpd:*LOCKED**:1002:1002:daemon:0:0:Music Player > Daemon:/home/musicpd:/usr/sbin/nologin > > I repeated both find-chown several times and rebooted, nothing > changed, it doesn't list any files anymore. > did you run something like? /usr/sbin/pwd_mkdb -d/etc /etc/master.passwd erich _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"