Re: Root users shell == no existant shell /bin/bash

看板FB_security作者時間21年前 (2004/07/10 02:34), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串9/13 (看更多)
On Fri, Jul 09, 2004 at 11:58:35AM +0200, Anders Dahlqvist wrote: > torsdagen den 8 juli 2004 17.29 skrev Brandon Grace: > > I made a mistake setting my shell and have set the root users shell to > > /bin/bash instead of /bin/sh. I am curiuos if anyone knows how to fix this. > > The machines is FreeBSD 4.8-RELEASE-p4 and does not have sudo only su. > > _______________________________________________ > > freebsd-security@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-security > > To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org" > > ...and I gather that "su - toor" doesn't work either for some reason or other? toor has a disabled (*) password by default. What Brannon should have done was set a password for toor in the beginning, without mucking around with root's shell. But as a rule of thumb, you're probably superuser way too much if you develop an urge to change it shell anyway. _______________________________________________ freebsd-security@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-security To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
文章代碼(AID): #10xkK-00 (FB_security)
討論串 (同標題文章)
文章代碼(AID): #10xkK-00 (FB_security)