Date: Tue, 04 Dec 2001 10:34:31 -0600 From: "Martin G. McCormick" <martin@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org Subject: using tc=value in login.conf Message-ID: <200112041634.fB4GYVY49499@dc.cis.okstate.edu>
index | next in thread | raw e-mail
I wanted to lengthen the search path for root to include /usr/local/etc so after reading the man page on login.conf here is what I did. Edited login.conf to add a path-setting line with my new path in it to the root entry as in: root:\ :ignorenologin:\ :tc=default:\ :path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/local/etc /usr/X11R6/bin ~/bin: The path line is broken in two here to fit on the screen, but it is actually a single long line ending in a : since that is the last entry for root. I then used cap_mkdb /etc/login.conf to remake the data base and a new login to root produces exactly no change from before. I did use chpass to move root in to the root class, also. Doesn't the :tc=default:\ line simply read in all the variables from default then anything one puts in after that such as the path overwrites the default path? I don't understand all I thought I knew. Martin McCormick WB5AGZ Stillwater, OK OSU Center for Computing and Information Services Network Operations Group To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the messagehome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112041634.fB4GYVY49499>
