similar to: runuser: cannot set groups: Operation not permitted

Displaying 20 results from an estimated 300 matches similar to: "runuser: cannot set groups: Operation not permitted"

2007 May 07
1
runuser: /dev/null permission denied when init script is run via service
Hi, I have problem with runuser utility and permission to /dev/null. runuser is called from init script. When init script is run /etc/init.d/callrec start, then there are no problems with permissions, but when init script is called via service callrec start. Then runuser starts complaining about permissions. runuser: /dev/null: Permission denied What is strange is that I do not redirect to
2006 Oct 23
1
$HOME variable not set from init script
Hi, I'm using Centos 4.4 with: mimedefang.org + spamassassin.org Mimedefang(MD) is a perl program that calls SpamAssassin(SA) perl module. The problem I'm getting is that from update 4.4, SA does not seems to find the $HOME variable only when it is called during system boot. If you later login as root and run: $ service mimedefang restart then SA does indeed find the $HOME variable I
2015 Jun 02
3
daemon in /etc/init.d/functions creates no pifile?
Hi, we started using centos7 to run kvm+libvirt. For novnc to virtual machines I like to start websockify as a daemon by libvirt (as a hook) Under Debian I used the line: # start-stop-daemon --start --chuid $RUNUSER --make-pidfile --pidfile $PIDFILE --startas $PROGRAM -- $OPTIONS which creates a nice pidfile. In Centos I figured out, to include /etc/init.d/functions and I tried: # daemon
2017 Jul 28
0
vncserver died
I get back from two weeks on the road, and try to VNC to my server and it fails. I ssh in and see that, yes vncserver is dead. I tried restarting it and see below for the failure messages plus my systemd setup. Can someone point me to trouble shooting why it says about resources (if that is the problem); # systemctl -l status vncserver@:3.service ? vncserver@:3.service - Remote desktop
2015 Jun 02
0
daemon in /etc/init.d/functions creates no pifile?
OK, I figured out, I have to install redhat-lsb package for start-stop-daemon "Implementation of Linux Standard Base specification" Thanks, Sebastian On Tue, Jun 02, 2015 at 11:06:59AM +0200, skotthof wrote: > Hi, > > we started using centos7 to run kvm+libvirt. > For novnc to virtual machines I like to start > websockify as a daemon by libvirt (as a hook) > >
2015 Jun 02
1
daemon in /etc/init.d/functions creates no pifile?
skotthof wrote: > > OK, I figured out, I have to install > redhat-lsb package for start-stop-daemon > "Implementation of Linux Standard Base specification" > > Sebastian > On Tue, Jun 02, 2015 at 11:06:59AM +0200, skotthof wrote: >> Hi, >> >> we started using centos7 to run kvm+libvirt. >> For novnc to virtual machines I like to start >>
2009 Jan 06
1
Problems getting 1.6 to run with user asterisk and group asterisk
I've built SVN-trunk-r167180 and try to start it with: asterisk -f -C /etc/asterisk/asterisk.conf which results in: Unable to open pid file '/var/run/asterisk.pid': Permission denied Unable to bind socket to /var/run/asterisk.ctl: Permission denied However, /etc/asterisk/asterisk.conf has: astrundir => /var/run/asterisk runuser = asterisk rungroup = asterisk The directory,
2015 Feb 09
2
Did you get my previous email? Not Spam.
On 09/02/15 06:29, Jason Long wrote: > Thanks. > I added the Two lines to "smb.conf" but I got below error : > > Could not chdir to home directory /home/jason: No such file or directory > mkdir: cannot create directory ?/home/jason?: Permission denied > -sh-4.2$ > > > About "PAM", I have not the file that you said : > > > [root at printmah
2015 Feb 09
0
Did you get my previous email? Not Spam.
Thanks. I added the Two lines to "smb.conf" but I got below error : Could not chdir to home directory /home/jason: No such file or directory mkdir: cannot create directory ?/home/jason?: Permission denied -sh-4.2$ About "PAM", I have not the file that you said : [root at printmah ~]# nano /etc/pam.d/ atd password-auth smtp chfn
2015 Feb 09
0
Did you get my previous email? Not Spam.
Thanks a lot. Thanks a lot. Problem solved and I can login in to Linux without any problem but I guess it is just for CentOS 7 and if you remember CentOS 6.5 not have this problem. Step 1 finished. Step 2 How can I create a Directory and apply permission via AD? Cheers. On Monday, February 9, 2015 12:34 AM, Rowland Penny <rowlandpenny at googlemail.com> wrote: On 09/02/15 06:29, Jason
2010 Sep 19
0
A logging/graphing UPS client using rrdtool and UPS::Nut
I finally got around to writing myself a NUT UPS monitoring tool. NUT's UPS monitoring CGI tools provide a detailed instantaneous view of the UPS's state at any moment, but provide no history. The attached tool, upswatch, uses Kiss Gabor's UPS::Nut module and Tobi Oetiker's rrdtool to provide a graphical history of the major UPS operating parameters via a web browser.
2014 Sep 13
0
on reboot /var/run/asterisk owner changed to root.
I've set up runuser as asterisk. /var/run/asterisk is created asterisk.asterisk, but each time I reboot, ownership is changed to root.root. How come? How do I stop the ownership change? sean
2015 Jul 03
0
Asterisk 11 and pulseaudio setup as local user
alsa_card_init^[[0m: snd_pcm_open failed: Connection refused soundcard_init^[[0m: Problem opening alsa capture device These are the errors I get. I changed the following: chown -R myuser:myuser /var/log/asterisk chown -R myuser:myuser /var/lib/asterisk chown -R myuser:myuser /var/spool/asterisk chown -R myuser:myuser /var/run/asterisk chown -R myuser:myuser /usr/lib/asterisk edited
2014 Jul 09
1
CentOS7: vncserver - desktop resolution
Hi, I just installed CentOS7 and managed to start the vncserver service, but once I connect to the machine, the desktop resolution isn't the one which I set in the vncserver@:3.service file located in /lib/systemd/system/ directory. The content of the mention file: ---------------------------------------- [Unit] Description=Remote desktop service (VNC) After=syslog.target network.target
2016 Jul 13
0
vnc on C7
Hi Jerry, I done a lot of search in google. Than I find your post, but without success for my problem. I have add your xstartup file. But I can't get it working with this startupfile. One problem is, that I can't find the x-terminal-emulator on my machine. Which package must I install for x-terminal-emulator in CentOS7 ? Maybe you can have a look at my logfile and my configuration for
2018 Aug 01
0
Strange vncserver behavior
I got vncserver working per: https://www.tecmint.com/install-and-configure-vnc-server-in-centos-7/ Then I went to set up a second instance, and have that for logging on to root: ========== cp /lib/systemd/system/vncserver at .service /etc/systemd/system/vncserver@:2.service vi /etc/systemd/system/vncserver@\:2.service replace <USER> with root systemctl daemon-reload systemctl start
2013 Apr 29
1
Asterisk 11.3.0 - Mask for new file not correct
Hello, I'm facing a rights issue on with Asterisk 11.3.0 running on CentOS release 5.8. Asterisk process is running with asterisk since it is define in asterisk.conf as following: runuser = asterisk rungroup = asterisk You can see asterisk proccess here: ps aux |egrep 'python|asterisk' root 11581 0.0 0.1 65940 600 ? S Apr17 0:00 /bin/sh /usr/sbin/safe_asterisk
2017 May 25
2
Centos7 Cant start vncserver
OK, first time configuring vncserver on Centos7. I have read through a bunch of old messages here on vncserver and thought I had it. Obviously not. 1) cp /usr/lib/systemd/system/vncserver at .service /etc/systemd/system/vncserver at .service 2) vi /etc/systemd/system/vncserver at .service I changed <USER> in both places to root 3) systemctl daemon-reload 4) systemctl
2017 May 25
0
Centos7 Cant start vncserver
Actually it is running: netstat -tuln | grep 590 tcp 0 0 0.0.0.0:5901 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:5902 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:5903 0.0.0.0:* LISTEN tcp6 0 0 :::5901 :::* LISTEN tcp6 0 0 :::5902 :::* LISTEN tcp6 0 0 :::5903 :::* LISTEN
2015 Mar 20
0
Asterisk on OpenWrt (first time user)
Hello list, I'm hoping that you could read through this mail and give me some tips on how to improve my setup (functionality, security, really anything). It's my first Asterisk installation and meant for simple home use. I installed Asterisk 11 on an OpenWrt Barrier Breaker router. Currently it's configured for Ekiga so I can test. In a few weeks I'll change to a Telco SIP