Ubuntu :: Still Trying To Create Own Distro - Error "sudo: No Tty Present And No Askpass Program Specified"
Dec 9, 2010
In Ubuntu Customization Kit I get this error: sudo: no tty present and no askpass program specified So, I read up and found I could try oem-config-remaster which I installed through the USC (Ubuntu Software Center). I couldn't find the software in any menu so I tried to open it through the terminal. Here's the intel:
[Code]..
View 3 Replies
ADVERTISEMENT
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
Mar 22, 2010
I have a problem with Opennebula that I have been trying t o solve for weeks, I have tried many options and have got nowhere. I have two HP ML115 servers configured to act as opennebula cluster nodes named opennebula01 and opennebula02. I have also installed the Front-end opennebula management deamon on node opennebula01. To use opennebula I have created a paswordless oneadmin user which seems to be ok because I can ssh to localhost and both nodes without a password. Using the onehost command I have created two hosts both tehse hosts are running correctly.
See Example1.
Periodically the opennebula monitoring system will fail, the problem I am having is that the logs keep showing the message:
"sudo: no tty present and no askpass program specified"
See example2
I have used the visudo command to change the sudoers Defaults visiblepw option but I just get a "root's password:root's password:sudo: pam_authenticate: Conversation error" error.
See Example 3 and Example 4.
Example1
========
oneadmin@opennebula01:/srv/cloud/images/ttylinux> onehost list
ID NAME RVM TCPU FCPU ACPU TMEM FMEM STAT
0 opennebula01 0 0 0 100 0 0 on
1 opennebula02 0 0 0 100 0 0 on
Example 2
=========
Tue Mar 16 23:16:10 GMT 2010
linux@opennebula01:~/Desktop> su oneadmin
Password:
oneadmin@opennebula01:/home/linux/Desktop> tail -f $ONE_LOCATION/var/oned.log
tail: /srv/cloud/one/var/oned.log: file truncated
Tue Mar 16 23:29:44 2010 [VMM][I]: Loading Virtual Machine Manager drivers.....
Example 3
=========
sudoers
# Comment out the preceding line and uncomment the following one if you need to use special input methods. This may allow users to compromise the root account if they are allowed to run commands without authentication.
#Defaults env_keep = "LANG LC_ADDRESS LC_CTYPE LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE LC_TIME LC_ALL LANGUAGE LINGUAS XDG_SESSION_COOKIE XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER"
#Defaults visiblepw
# In the default (unconfigured) configuration, sudo asks for the root password.
# This allows use of an ordinary user account for administration of a freshly installed system. When configuring sudo, delete the two following lines:
Defaults targetpw # ask for the password of the target user i.e. root
ALL ALL=(ALL) ALL # WARNING! Only use this together with 'Defaults targetpw'!
# Runas alias specification
# User privilege specification
root ALL=(ALL) ALL
# Uncomment to allow people in group wheel to run all commands
# %wheel ALL=(ALL) ALL
# Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL
# Samples
# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users localhost=/sbin/shutdown -h now
# Added for opennebula to allow oneadmin to execute xen commands
%xen ALL=(ALL) NOPASSWD: /usr/sbin/xm *
%xen ALL=(ALL) NOPASSWD: /usr/sbin/xentop *
Example 4
=========
Tue Mar 16 23:49:20 2010 [InM][I]: Monitoring host opennebula01 (0)
Tue Mar 16 23:49:20 2010 [InM][I]: Monitoring host opennebula02 (1) .....
Conversation error
Tue Mar 16 23:50:22 2010 [InM][I]: /tmp/one-im//one_im-0ed949a4bd6f9d3a8e845559ac44e11f:70: undefined method `-' for nil:NilClass (NoMethodError)
Tue Mar 16 23:50:22 2010 [InM][I]: ExitCode: 1
Example 5
=========
oneadmin@opennebula01:/home/linux/Desktop> cd /tmp/one-im/
oneadmin@opennebula01:/tmp/one-im> ls -l
total 16
-rwxr-xr-x 1 oneadmin cloud 3121 2010-03-16 23:56 one_im-0ed949a4bd6f9d3a8e845559ac44e11f
-rwxr-xr-x 1 oneadmin cloud 170 2010-03-16 23:56 one_im-2b966ff3406441e176e9c1d82d536763
-rwxr-xr-x 1 oneadmin cloud 38 2010-03-16 23:56 one_im-34d4a5b5a67817fa9d403fa4be5a8493
-rwxr-xr-x 1 oneadmin cloud 32 2010-03-16 23:56 one_im-91090fd8b53b1cf7ce51f3e4215506e3
Example 6
=========
oneadmin@opennebula01:/tmp/one-im> cat one_im-0ed949a4bd6f9d3a8e845559ac44e11f
#!/usr/bin/env ruby .....
View 2 Replies
View Related
Jan 9, 2010
nominate a disastrous distro from past or present that was simply AWFUL and what exactly was so bad about it?
View 14 Replies
View Related
Nov 9, 2010
how do I make ssh-add use ssh-askpass-gnome instead of default ssh-askpass? System is OpenSuSe 11.3, both packages installed.
View 2 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
Jan 13, 2010
I have 9.10 at work and at home. At home it was installed from scratch. At work it's upgraded from 8.10->9.06(?)->9.10
- At work, when I do something over ssh, like subversion, and I have a key for that host, i am presented with a nice dialog box for my ssh key. and that's it. for the rest of my uptime, i can ssh to places without any hassle.
- At home, I'm presented with the key input prompt on the terminal. Even If I manually start ssh-agent, it still happens.
What package am I missing? I have the ssh-askpass-gnome on both.
View 4 Replies
View Related
Jan 30, 2010
I'm currently working on my graduation project and have chosen to strip a Ubuntu version of Linux and customize it.I downloaded the LFS book and have started reading it, I'm really just looking to create a new Man or at least rename it and create some commands for it. Also I'm looking to create a new Gui theme with some custom icons.
View 3 Replies
View Related
Jul 14, 2010
Using Ubuntu on a new toshiba satellite laptop, have setup almost everything but the bluetooth. When I try to initiate the bluetooth, I get an error message "No bluetooth adapters present" "Your computer does not have any bluetooth adapters plugged in"
View 1 Replies
View Related
Jun 7, 2010
Certain commands like:
fdisk -l
nmap -sT 192.168.0.1/24
iftop
require administrator privileges to run. A while ago i read a post(forgot where i read it) about being able to let a user run these commands in a script (that contains the desired command) created by the administrator/root without the user having to do a sudo and entering a password. Does anyone know how i can go about doing this?
View 3 Replies
View Related
Jan 6, 2011
I need to add a program to my startup menu (webserver which needs sudo for port80). I follow their directions, but it breaks the program and no pages are served. I will not be home to guide wife and kids every time they boot the machine to sudo start the program. How do you start a program at boot, as root or sudo start.
View 2 Replies
View Related
Mar 8, 2011
How do I create a program file for a new program?
View 1 Replies
View Related
Sep 22, 2010
I have a question that I can't find anything about online. I have spent the last few months creating and customizing a Kubuntu OS for my company and we want to install it on roughly 45 computers (all different models). Is there a way to save my creation to a cd so it can be installed on another computer?
I know about creating an image of the HDD but what I want to do is create what you would get in the store from Microsoft. A complete OS on a CD, ready to install with all of my configuration changes already setup.
View 1 Replies
View Related
Jul 15, 2010
Need info on how to create my own linux distro without using one of the roll your own sites. I would like to get the kernel and other packages together like xorg and so on to make my own distro. Does anyone know of a good source of information? Most of the info I'm running across is roll your own sites with a variation of their distro.
View 3 Replies
View Related
Jul 3, 2011
Im looking to create my own centos distro.
View 3 Replies
View Related
May 30, 2010
I am wondering how to create a launcher with 2 functions in Ubuntu 10.04. The functions I want are both in terminal, and I want them executed in this order:
# sync
# echo 3 > /proc/sys/vm/drop_caches
The echo 3 command requires root privileges to run, and I haven't figured out how to do that yet. I am brand new in ubuntu, and have only been using it for about 2 weeks. The reason behind this is that I want a launcher in the bar at the top of the screen that I can click periodically to dump my ram cache, since I have 4 gb of ram, and do not see the point of using 100 percent of that when just sitting on the desktop.
View 9 Replies
View Related
Jan 29, 2011
I am trying to install 10.10 from a Live CD over my 9.04 (it would not do the upgrade automatically due to apparently lack of disk space.) at the end of the my best guess at the process (alas, Linux is pretty much a plug and pray operation for me.), on rebooting, I get the message: "the disk drive for / is not ready yet or not yet present" I must have messed up at the Allocate Drive SPace / Edit Partition step. I have three existing partitions:
7Gb for OS previously 9.04
35GB for data (which I clearly don't want to mess with)
a a bit for Swap.
So, I have clicked on the 7GB partition /dev/sda1 and have another window, Edit Partition, which is asking me: New partition size (I would just leave it at 7007) Use As (I presume I can leave it as EXT4?) Format the Partition (NO unchecked?)and Mount Point? Now here is where I don't have a clue. The pull down options are:
/, /home, /boot, /tmp, /usr, /var, etc.
not knowing any better, my first time through I just picked "/" and that is what got me to the message "the disk drive for / is not ready yet or not yet present" So what should I be specifying at this point?
View 9 Replies
View Related
Oct 8, 2010
I am trying to install squirrelmail on Ubuntu 10.4 and at some point in the instalation process I get the following error:
[Code]....
View 1 Replies
View Related
Feb 2, 2010
I cannot figure how to make a program start-up when Ubuntu boots. I want the "sudo firestarter" command to run so the firestarter icon appears in the panel.
View 7 Replies
View Related
Jan 14, 2010
solve this error "3c501 device eth0 does not seem to be present, delaying initialization".
View 3 Replies
View Related
Apr 28, 2010
I have been unlucky searching Google and this site concerning this and hope that someone on here has either done this before or could point me in the right direction. I have a computer on my network that I want to use as a local repository for apt. I've got the set of Debian Lenny 5.04 CD's and would like to know how to put all of the packages from those CD's onto this computer and then use it as a local source for my Debian computers to get packages from. The CD's appear to hold all of the packages in the folder /pool if that helps at all.
View 8 Replies
View Related
Mar 26, 2010
i had Mandriva few days ago (and other distros befor that!) and just moved to openSUSE
i use a program called "UltraSurf" (to bypass Internet filtering in Iran) and this program doesn't work with wine in openSUSE!i reinstalled wine and tried different versions but when i click on my program nothing happens! (other windows programs work fine!)
View 5 Replies
View Related
Mar 15, 2011
I just attempted to install to a USB drive, and somehow in the process, GRUB overwrote my Windows 7 bootloader on the internal disk. My work laptop is now booting into a grub recovery whenever my USB key isn't present (with error: no such device and the uuid) - and hangs on a blinking cursor whenever the key is plugged in.I'm not familiar with what my options are for grub rescue, but ls shows (hd0) (hd0,msdos2) (hd0,msdos1) (fd0)
My laptop is encrypted, so I don't have much chance of recovery unless I can get back to the windows bootloader.
View 7 Replies
View Related
Dec 22, 2010
i am installing the software vlc-1.1.5.tar.bz2 on my red hat linux 5.0 after extracting & by firing the command ./configure on command prompt it shows following error & after configure the make & install command is not working
configure: error: Buggy GNU/libc (version 2.5 - 2.7) present. VLC would crash; there is no viable work-around for this. Check with your distribution vendor on how to update the glibc run-time. Alternatively, build with --disable-nls --disable-mozilla and be sure to not use LibVLC from other applications/wrappers.
View 3 Replies
View Related
Oct 12, 2010
I'd like to put both the 32-bit and 64-bit OSS 11.3 onto a 2GB usb stick from their respective Live CD ISOs. I tried to make a partitions on the usb ( 1GB ) each, and then dd each ISO to separate partitions, make 1 of the partition bootable. But that doesn't work, even from the bootable partition. Any suggestions how to achieve that goal? Ideally there would be a main boot loader, which then provides option to boot each of the distro.
View 1 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
Nov 20, 2010
My partition layout is as follows:
sda1: 14GB / ext4
sda2: 10GB /iso ext4
sda3: 4GB /home ext4
sda4: 86GB Extended
sad5: 2GB swap
I have 84GB free space on this hard drive and want to install another distro. Will I be able to create another / and /home partitions for the new distro?
View 6 Replies
View Related
Oct 12, 2010
I'm looking to create a small business flier with some graphics on Ubuntu. Whats the best program that I can use?
View 4 Replies
View Related
Jan 21, 2010
I've installed Centos 5.4 _AMD64 on my PC, everything is ok except I can't connect to internet. I can see my hardware in the network manager I also have eth0 and wlan0 but I can't activate them. for eth0 an error of " No cable present" and wlan0 something about the ip I don't have a cable and I used to connect through wireless My wireless is PCI Ralink and I had the same situation with Debian and I think I needed to download extra packages to get it working. I am writing from windows vista now ,So please could you provide me with the packages and steps to get wireless working through offline process because I don't have a cable.
View 4 Replies
View Related
Feb 13, 2010
OK, I've tried to install:Mint 6, 7 XFCE, and 8jolicloudeasypeasyand probably another or two..Oh, I'm installing this on my Acer Aspire One 751h, so I am using a USB key and UltraISO, with the exception of jolicloud, which has its own USB creator, and most recently I tried Mint 6 using UNetBootIn.Anyway, I keep getting the same general error, but with different files... Sometimes its errno5: input/output error, and other times its parts of a file (blah/doowop/dadada/video....) I don't know if its a driver problem or what, but I've seen video, sound, and other random stuff.. each time it gives a different one though.Either way, the main paragraph in the window talks about having a dirty CD, needing to replace my hard drive, or burning a new CD at a slower speed... I've checked the md5sum, and that's not the problem.
I'm wondering if my problem is that I'm creating the USB from one computer, and then trying to install it on the 751h. Another thing that might be causing the problem, but I doubt, is the fact that when I set up the partition, I select "use entire disk". Another question, Does it make a difference if the drive letter changes? On our main computer, the USB is mapped to drive E:, but on the 751h, it shows up as D:. If I have to change it on the 751h, how can I without an OS? when trying to install linux, it wiped out my windows, and I don't feel like re-installing it just to change it in a few minutes.
View 4 Replies
View Related