OSDir


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


id -G ubuntu-mate | grep 1000 >/dev/null
if [ $? -ne 0 ]; then

which fails, since I need to access the script with root privileges
from one of the mentioned partitions that require uid or gid 1000, so
the $? is always equal 0, as soon as the group exists and the user is
member of this group, even if restarting the display manager still
should be required.

Regards,
Ralf