خرید بک لینک

Hi friends. Through some testing with a project, I ended up with a few dozen guest session entries in my /etc/passwd. I'd like to clean these up. It appears as if /usr/sbin/guest-account remove guest-abcde (assuming guest-abcde is the guest account entry I'm looking to remove) successfully removes the session. The catch is, that's just one session. I wanted to remove them all, so I tried the above command with guest-*, but it errors out, citing invalid user.

Is there a way to append this command, but with guest-(anything-listed-here) and have it accept it?

P.S. - It seems as if LightDM will run this script if you log out of your session first. If you restart/shut down from the gear menu in the upper right, it does not successfully clean out the old guest accounts first. Hence how I had a number accumulate.

برچسب: نویسنده: استخدام کار تاريخ: جمعه 28 خرداد 1395 ساعت: 23:48

صفحه بندی