Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warning: hp-info should not be run as root/superuser. #39

Closed
aswen opened this issue Feb 2, 2014 · 3 comments
Closed

warning: hp-info should not be run as root/superuser. #39

aswen opened this issue Feb 2, 2014 · 3 comments

Comments

@aswen
Copy link

aswen commented Feb 2, 2014

Hi, I just experimented a bit during the talk on Fosdem, so maybe I should read more doc before complaining ;-)
I haven't configure anything before experimenting so that might be the issue as well.
however, cfg2html should be run as root but fails complaining:

root@nvc1994:/data/git/cfg2html# ./cfg2html 


--=[ http://www.cfg2html.com ]=---------------------------------------------
Starting          cfg2html-linux version 6.16-git201312020913
Path to Cfg2Html  ./cfg2html
HTML Output File  /var/log/cfg2html/nvc1994.html
Text Output File  /var/log/cfg2html/nvc1994.txt
Partitions        /var/log/cfg2html/nvc1994.partitions.save
Errors logged to  /var/log/cfg2html/nvc1994.err
Local config      ./linux/etc/local.conf
Started at        2014-02-02 10:36:57
WARNING           USE AT YOUR OWN RISK!!! :-))           <<<<<
--=[ http://www.cfg2html.com ]=---------------------------------------------

Collecting:  Linux System (Debian GNU/Linux Version 7.3)  ....................................
Collecting:  Cron and At  ..........
Collecting:  Hardware  .................
Collecting:  Software  ......
Collecting:  Filesystems, Dump- and Swapconfiguration  .........
Collecting:  LVM  ............
Collecting:  Network Settings  ....................................
Collecting:  Kernel, Modules and Libraries  .............
Collecting:  System Enhancements  .
Collecting:  Applications and Subsystems  ............

--=[ http://www.cfg2html.com ]=---------------------------------------------
Returncode=1 (see /var/log/cfg2html/nvc1994.err)


root@nvc1994:/data/git/cfg2html# tail /var/log/cfg2html/nvc1994.err 
stderr output from "PVDisplay":
        Using physical volume(s) on command line
stderr output from "/sbin/mii-tool -v":
    no MII interfaces found
stderr output from "echo | /usr/sbin/sendmail -v root | grep 220":
    LOG: MAIN
      <= root@nvc1994.swen.nu U=root P=local S=303
stderr output from "echo q | /usr/bin/hp-info -i |         /usr/bin/col":
    warning: hp-info should not be run as root/superuser.
    error: No device selected/specified or that supports this functionality.
@roseswe
Copy link
Member

roseswe commented Feb 13, 2014

Its (AFAIK) only a warning. But I am not happy with hp-info at all (garbled output, waits for keystroke etc.). So the question is, if we should remove it?

Anyone that needs this?

@gdha
Copy link
Contributor

gdha commented Feb 13, 2014

+1 to get rid of it

On Thu, Feb 13, 2014 at 1:25 PM, Ralph Roth notifications@github.comwrote:

Its (AFAIK) only a warning. But I am not happy with hp-info at all
(garbled output, waits for keystroke etc.). So the question is, if we
should remove it?

Anyone that needs this?

Reply to this email directly or view it on GitHubhttps://github.com//issues/39#issuecomment-34973367
.

@vk2cot
Copy link
Contributor

vk2cot commented Feb 16, 2014

I concur, I would not rely on vendor tool that most sites do not have or use.

Dusan

@gdha gdha closed this as completed in 0fa711a Feb 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants