Date: Tue, 15 Dec 1998 23:23:15 +0000 From: Brad Waite <brad@wcubed.net> To: freebsd-questions@FreeBSD.ORG Subject: Environment.. Message-ID: <36768CF3.8D07950E@wcubed.net>
next in thread | raw e-mail | index | archive | help
I asked about this a few hours ago, but didn't get a response, so I'm guessing I wasn't making myself clear enough. (Or I had my from: set wrong.) Okay, I just installed 3.0 on my new server and everything's working fine except the environment, specifically the PATH, for the root user. $ su - Password: # echo $PATH /root/bin:/bin:/usr/bin:/usr/local/bin which is the path set for class 'default'. When I change the path in the 'default' class, and re-su, root's path changes with it. However, the root entry in the login.conf looks like this: root:\ :ignorenologin:\ :tc=default:\ :path=/usr/bin /bin /usr/sbin /sbin /usr/local/bin /usr/X11R6/bin: Why does it ignore the 'root' class in the login.conf? The man page for login.conf says that it should only use the default class if a 'root' class isn't specified. I even manually put root in the root class via chsh, but the chsh man page says class is currently not used. Incidentally, it works just fine on my 2.2.8 machine. Help! -Brad 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?36768CF3.8D07950E>