On Mon, Aug 22, 2011 at 6:03 AM, Damon Getsman <damo.g...@gmail.com> wrote: > Alright, so restoring the contents of /etc/login.conf has, indeed, fixed my > ability to login via whatever means and use sudo. B Quite honestly I don't > know how all of those lines got deleted from it, unless I left it open in > vim and the cat jumped on the keyboard while I was out for a little bit or > something. > > Anyway, now that I restored it and everything is working, I again attempted > to follow these instructions given when starting up chrome: > -=-=-=-=-=- > You should make the following changes for your login class in > /etc/login.conf > (you will need to logout and login for these to take effect). > - increase datasize-max to at least 716800. > - increase openfiles-max to at least 400. > -=-=-=-=-=- > > Which results in the follow /etc/login.conf file: > -=-=-=-=-=- > default:\ > B B B B :path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin:\ > B B B B :umask=022:\ > B B B B #:datasize-max=512M:\ > B B B B :datasize-max=716800:\ > B B B B :datasize-cur=512M:\ > B B B B :maxproc-max=256:\ > B B B B :maxproc-cur=128:\ > B B B B :openfiles-cur=128:\ > B B B B :openfiles-max=400:\ > B B B B :stacksize-cur=4M:\ > B B B B :localcipher=blowfish,6:\ > B B B B :ypcipher=old:\ > B B B B :tc=auth-defaults:\ > B B B B :tc=auth-ftp-defaults: > > # > # Settings used by /etc/rc and root > # This must be set properly for daemons started as root by inetd as well. > # Be sure reset these values back to system defaults in the default class! > # > daemon:\ > B B B B :ignorenologin:\ > B B B B :datasize=infinity:\ > B B B B :maxproc=infinity:\ > B B B B :openfiles-cur=128:\ > B B B B :stacksize-cur=8M:\ > B B B B :localcipher=blowfish,8:\ > B B B B :tc=default: > > # > # Staff have fewer restrictions and can login even when nologins are set. > # > staff:\ > B B B B :datasize-cur=512M:\ > B B B B :datasize-max=infinity:\ > B B B B :maxproc-max=512:\ > B B B B :maxproc-cur=128:\ > B B B B :ignorenologin:\ > B B B B :requirehome@:\ > B B B B :tc=default: > > # > # Authpf accounts get a special motd and shell > # > authpf:\ > B B B B :welcome=/etc/motd.authpf:\ > B B B B :shell=/usr/sbin/authpf:\ > B B B B :tc=default: > -=-=-=-=-=-=- > (with the comments at the beginning removed in order to save cutting & > pasting) > > Anyway, despite the changes that I've made in datasize-max and the addition > of the openfiles-max setting, I'm still receiving the error message from > chrome and unable to use it properly due to too many open temp files. > > Anybody have any suggestions for me or any input on whether or not I > modified /etc/login.conf properly?
Which class is your user in? My user created during install is in staff so I'm doing modifications to class and not to default. You can check class of user with 'sudo chsh username' > > Much appreciated. > > -Damon Getsman