Re: add user to a group and logout/login to apply

2025-02-04 Thread Vasyl Vavrychuk
On Tue, Feb 4, 2025 at 4:27 AM Max Nikulin wrote: > > On 02/02/2025 22:51, Vasyl Vavrychuk wrote: > > On the other hand, I've checked that with Debian 12 and GNOME it is > > not enough to logout and login to see that a user is added to a group. > > > > Any com

add user to a group and logout/login to apply

2025-02-02 Thread Vasyl Vavrychuk
Debian reference (https://www.debian.org/doc/manuals/debian-reference/ch01.en.html#_permissions_for_groups_of_users_group) says one of the option to apply change of group user configuration is > Logout via GUI menu and login. It is not marked as "Best option" such as > Cold reboot and login. (Be

Re: scriptable way to list packages that are not installed

2018-01-14 Thread Vasyl Vavrychuk
Hi, John, On Sun, Jan 14, 2018 at 8:48 AM, john doe wrote: > On 1/14/2018 7:28 AM, john doe wrote: > > $ dpkg-query -W -f='${db:Status-Abbrev}${binary:Package}\n' awk git gawk > cmake 2>&1 | awk '!/^ii/ || !/^un/{print $6}' > git > gawk > cmake I also tried to parse stderr, but then I realized t

scriptable way to list packages that are not installed

2018-01-13 Thread Vasyl Vavrychuk
I would like to list not installed packages in my script. Currently I do dpkg-query -W -f='${db:Status-Abbrev}${binary:Package}\n' $PACKAGES | grep -v "^ii" | awk '{print $2}' Problem is that dpkg-query outputs information about no matching packages in stderr in a not suitable for scripts way