[gpm] Aha! its a permission problem!



I just realized that /usr/sbin/pm-suspend worked with current Utopia
rpms, but only when logged in as root.  Here's what happens to the
ordinary user.

$ pm-suspend
bash: pm-suspend: command not found
[pauljohn pols125 ~]$ /usr/sbin/pm-suspend
chvt: VT_ACTIVATE: Operation not permitted
/etc/pm/functions: line 43: /.suspended: Permission denied
touch: cannot touch `/var/run/pm-suspend': Permission denied
/etc/pm/functions: line 100: pm-pmu: command not found
/etc/pm/functions: line 100: /sys/power/state: Permission denied
chvt: VT_ACTIVATE: Operation not permitted
chvt: VT_ACTIVATE: Operation not permitted

What do you think?

--
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas



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