Debian :: Pass A Textinput From Xmessage To Sudo?
Oct 26, 2010
As seen in this thread: viewtopic.php?f=20&t=50703xmessage is queuing a shutdown/reboot command, but if pressed, nothing happens. How do I get xmessage to send a textinput value to sudo?odify my execIsuma code to suit if you can, would make things much simpler.
View 8 Replies
ADVERTISEMENT
Jan 17, 2011
If I pass to my shell environment as a regular user will it apply to builds ran under sudo?I posted a thread similar to this regarding a build with TOR; however, this is applicable to all programs.
View 6 Replies
View Related
Nov 18, 2010
I'm trying to launch a login message in 11.3 using /etc/motd. I've searched around and seen that some users have accomplished this by editing /etc/x11/xdm/xsession.d . I want to add something along the lines of xmessage -file /etc/motd/ -center -buttons Accept -default AcceptI have tried inserting this line into a few files mentioned in posts in other forums but none seem to correlate with OpenSUSE 11.3.
View 7 Replies
View Related
Apr 20, 2010
I wonder if it's possible to have cron run xmessage or gxmessage at certain intervals?
View 7 Replies
View Related
Jul 2, 2011
I have read a lot of questions from people wanting to take Debian (or some other distribution) and make its sudo command act more like the way Ubuntu's sudo does. I want to do the exact opposite, I want to make Ubuntu's sudo command act more like the sudo command from another distribution. ie I want there to be one root password
View 8 Replies
View Related
Mar 31, 2010
I have been put on the task of changing the passwords of two user accounts on one of our debian boxes at work. The problem is that the current passwords are unknown, and I only have SSH access to the machine.
Is there anything I can do?
I thought about simply creating two new users and removing the old, but that may not be an option.
View 1 Replies
View Related
May 19, 2011
I have stop using debian some months but I decide to come back. Yesterday I have make a clean install of debian squeeze. The network manager never rember my wireles password. Every time I open the pc it ask me the keyring password and the wireles password. Why network manager can't rember my passwords? Also I have a strange problem when I try to gain root acces. If I try to open synaptic or to mount a ntfs partion it ask me the root password but every time I type my root pass it says that its incorrect but I am absolutely sure that I type my root pass correct. Also if I try to gain root acces from terminal with su its became the same thing but after some tries it takes my pass as corect. So every time I type my root pass from a gui like gksu it always says that is incorect but if I type my pass in terminal it take it correct after some tries. In the past I have again installed the debian from the same cd on the same pc but I had never those problems. What can be wrong?
View 6 Replies
View Related
Oct 26, 2010
I'm running Testing and need to pass some parameters to my bttv tv tunner card, for this reason I created the following file /etc/modprobe.d/kozumi.conf with this content:
alias char-major-81 videodev
alias char-major-81-0 bttv
options pll=1 radio=1 bttv_verbose=1 card=151 tuner=38 gbuffers=4
The problem is that for some reason this options aren't properly set after booting the computer, I've tried different combinations for line 1 and 2 without success.
I'm used to rmmod the bttv driver and modprobe manually with those settings but I'd like to automate the process.
View 2 Replies
View Related
Mar 28, 2011
How to make Chromium to pass RSS feeds to Liferea? There are several browser extensions for RSS feeds but it seems they only work with web-based readers.
View 1 Replies
View Related
Jan 11, 2016
I am trying to perform a 2-pass encoding of a video from .mov to .webm, but it looks like that the 2-pass encoding is much worse than doing a single pass encoding. Here are the two commands I use:
Code: Select allavconv -y -i input.mov -r:v 25/1 -c:v libvpx -minrate 400k -maxrate 600k -b:v 400k -s 640x360 -force_fps -b:a 80k -pass 1 output.webm
avconv -y -i input.mov -r:v 25/1 -c:v libvpx -minrate 400k -maxrate 600k -b:v 400k -s 640x360 -force_fps -b:a 80k -pass 2 output.webm
View 10 Replies
View Related
Aug 21, 2011
I installed today debian wheezy from OpenSUSE system via bootstrap. I have some strange behaviour with kde. At first kde worked fine and the only problem was that if I tried to logout from kde session, instead of kdm shows up, a black screen appear with mouse cursor working. I first ignore this error(because I had some problems with audio) and just reboot from vt console or sometimes restart kdm service. After I solved the audio problem I've searched to find some solution about kdm black screen problem. I found on kde forums a solution about terminate xserver option on kdmrc file, which didn't work in my case, but create another problem.
The problem is that now when I pass the mouse cursor from windows topbars I have glitches on window decorations. So I disable the above option again, reboot but the graphics problems was still there. I tried to uncheck vsync from desktom effects and the resault was all desktop effects to be disabled. Now I cannot re-enable desktop effects any more. But now I can logout and relogin. 3D works fine(glxgears works) but I cannot enable desktop effects. And I think that some effects work, because I see some smooth movements and fade outs when I pass the mouse cursor on kmenu items. My card is ATI radeon HD 4650, and I have the xorg-video-ati driver installed.
View 3 Replies
View Related
Jun 10, 2010
explain the difference between these two commands. I'm currently reading about changing your mac address and both of these commands show up a lot. They sound like the same thing to me. Is one better than the other, or do you need to use both to change your mac address?
Code:
sudo ifconfig eth0 down
sudo /etc/init.d/networking stop
View 3 Replies
View Related
Jan 2, 2011
I have a problem when I want to use su I get this error:Code:su: pam_start: error 26I have googled it so I found this topic (http://www.linuxquestions.org/questi...r-26-a-615024/) but it didn't really help me. There was a reply on that topic and his question was what the output of this was:
Code:
ldd /usr/bin/passwd
and
[code]....
View 4 Replies
View Related
Jun 6, 2010
I want to remove sudo so may existing user can only use su.But sudo is associated with dependence`s gnome and many more.How to remove damned thing Can i just remove sudo and then reinstall those 14 package`s, will this work ?
[18:21:47]madone~ $ sudo aptitude purge sudo gksu
Reading package lists... Done
Building dependency tree
[code]....
View 8 Replies
View Related
Sep 16, 2010
A day ago I finally got around to upgrading the PackageKit installation that had been sitting for a week and a half, so I found a new upgrade for sudo available - the one that gives the sudoreplay command, I forget which version number it is exactly. When I try to use the sudo command I get this notice in my terminal:Code:Can't open /var/db/sudo/me/1: Permission deniedI didn't get it before. What do I have to do to make it open? I'm using SELinux in enforcing mode if that helps.
View 1 Replies
View Related
Jan 6, 2011
Kernel 2.6.21.5, Slackware 12.0
Code:
Code:
On the other hand
Code:
So, I do not understand why the notification "sudo: cd: command not found", considering cd is a bash built-in command.
View 3 Replies
View Related
Mar 29, 2011
I installed Debian6 but sudo does not work, says: bash: sudo: command not found. and when I run the command: sudo apt-get install, I say E: Unable to locate package sudo.
View 9 Replies
View Related
May 23, 2015
[URL] .... On ubuntu sudo command works out of the box. Is above how you make sudo command work on debian 8?
View 6 Replies
View Related
Sep 27, 2015
I am trying to use sudo but it prompts that the password is wrong.
When I try to use gksudo everything is fine. I also can use su - without a problem.
I tried to add my user to sudoers and it seemed to work as you can see here:
Code: Select allronel : sudo root adm cdrom floppy audio dip video plugdev users netdev lpadmin
but it did not change the situation.
View 3 Replies
View Related
Jan 11, 2016
receive bash notice: "jim is not in the sudoers file."Just finished my first Debian install several hours ago, my first go around w/Debian. Installed 8.2 DVD ISO on USB. Had this issue from my first use in BASH, not a forgotten password problem. So 2 questions:
1) I'll be installing Debian again, and want to avoid this in future. There were 2 inputs on setup for name (my full name) and user (installer offered my first name which I accepted). 2 inputs for Password as well: I used the same password both times (have done this w/Mint & Ubuntu w/out issue).
2) How to fix this? Tried this: URL...however, neither keystroke got me to "rescue" prompt as article suggests. Several other articles presume an admin with privileges has sudo access to modify sudoers file.
I have multi-boot setup in BING environment (MBR, not EFI). I am booting from a GRUB2 ISO using grub commands as I still need GRUB installed in my boot partition until I can get cmd line access. I'm able to get a session on boot with the same password I used in setup.
View 14 Replies
View Related
Oct 1, 2010
I finally got my path to save so apachectl is in my path. I can execute apachectl start as a regular user, although the server wont start because there is some sort of lock. When I sudo apachectl start , I get sudo: apachectl:command not found. My visudo file looks like this:Defaults env_keep += "PATH"
User_AliasOWnER=blake
root All=(ALL) ALL
OWNER ALL= NOPASSWD:ALL
View 14 Replies
View Related
Mar 5, 2010
I've just installed Debian on my old iMac G3. The install seemed to go ok but failed to load to the GUI. Thats ok I'll just enter some lines into the xorg.conf and it will be fine, or so I thought. Now at the shell prompt when I type in any sudo command it says: "sudo command not found" Is there an alternate command I can use in this situation.
View 3 Replies
View Related
Jul 23, 2010
I'm having trouble signing in using the sudo in the terminal.
I enter in the line: sudo abc (username = abc)
I get the line returned: [sudo] password for abc:
If I enter my normal login pw i get the message:
abc is not in the sudoers file. This incident will be reported.
If I enter the root pw I get the message: Sorry, try again.
I've just set up the debian OS and am trying to learn the linux way but it's a bit frustrating. so when I set up the system originally It had me make two passwords one for root and one for my user acct. So how do I get the sudo terminal to work?
View 2 Replies
View Related
Sep 21, 2010
what is the easiest way to add single command to startup? (has to be run as root)
View 1 Replies
View Related
Jun 10, 2011
When I use sudo, command does not auto-complete with 'tab'. Perhaps its some sort of security measure? I'd like to turn it off, because its just annoying. Older versions of debian didn't have such problem. Using debian_testing_amd64.
View 4 Replies
View Related
Sep 21, 2015
Seems like this is a running issue. also, sudo returns "The value user is not in the sudoers file. This incident will be reported" kdeusu just makes a noise and returns nothing.. In the past i had a workaround of using nautilus, but, nautilus seems to be missing from jessie repo (same for gnome files).
[URL] ... ssoo... this happened and it seems to be going somewhere, but, i can't really make sense of it, and there was no solution..
Also found this [URL] .... and the pathnames should be fine but i don't want to go around arbitrarly entering commands
There was also [URL] .... which only mentions using kdesu which... doesn't really 'exist' anymore.
View 4 Replies
View Related
Jul 24, 2010
i would like to prevent all users other than the user "parker" on my system from using the su or sudo commands. I have not attempted to modify the sudoers file so it just contains the standard root ALL = (ALL) ALL.
View 5 Replies
View Related
Mar 11, 2011
I've added entries to my Openbox menu labeled Reboot and Shutdown. Problem is, reboot and shutdown h only work as root, and I never login as root. I've tried su-to-root -c reboot, but the menu entries remain unresponsive. I do not have sudo installed because I feel it is a security issue. However, I found that sudo reboot works with the menu entry, but only if my account is set to use sudo without a password in /etc/sudoers. I use tint2 as my panel, but have had no luck with finding a shutdown/reboot button.
View 4 Replies
View Related
Apr 28, 2011
I am running an Ubuntu Server 10.10. I have installed Apache2, I put my perl script in /var/lib/cgi-bin. When I run this perl script from the terminal it works fine. When go to a web browser it doesn't. When I look at Apache's error log, I see this line :"sudo no tty present and no askpass program specified"I tried editing the sudoers file, with the user www-data ALL=(ALL) NOPASSWD:/path_to_my_script. But nothing changed. What am I doing wrong?
View 5 Replies
View Related
Nov 8, 2015
I'm looking to allow sudo for openvpn for a user.
I cannot find the openvpn program path though, i try a 'which openvpn' command and it returns nothing! :S
What is the path? or how to allow a normal user account to run openvpn with sudo?
Solution found:
Working directories for openvpn on debian 8 are:
/etc/openvpn
/usr/sbin/openvpn
To add sudo capability to a guest account, run this with your admin account:
Code: Select allsudo visudo
then add the line, with your guest username substituted:
Code: Select allusername  ALL=/etc/openvpn, /usr/sbin/openvpn
tada! guest account now runs only openvpn.
View 3 Replies
View Related