<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Unable to sudo to root on console (/dev/console) window in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-sudo-to-root-on-console-dev-console-window/m-p/5088532#M724696</link>
    <description>Question is not answered yet:&lt;BR /&gt;&lt;BR /&gt;Does the password contain @ or #?&lt;BR /&gt;&lt;BR /&gt;See Matti's post.&lt;BR /&gt;&lt;BR /&gt;BTW, maybe I miss something here, but is there a basic difference between a plain "su -" and your command (why do you use sudo here)?&lt;BR /&gt;</description>
    <pubDate>Thu, 31 Jan 2008 16:21:25 GMT</pubDate>
    <dc:creator>Torsten.</dc:creator>
    <dc:date>2008-01-31T16:21:25Z</dc:date>
    <item>
      <title>Unable to sudo to root on console (/dev/console) window</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-sudo-to-root-on-console-dev-console-window/m-p/5088527#M724691</link>
      <description>Hello freinds,&lt;BR /&gt;&lt;BR /&gt;We have sudo setup in our environment, so if user wants to become root, user has to&lt;BR /&gt;$ sudo su -&lt;BR /&gt;Then enter user's password.&lt;BR /&gt;This will put the user on root id. This works fine, if I open a ssh or telnet window to the server (IA or PA). &lt;BR /&gt;But if the user logs into MP and opens a console window, user will be presented to login. User enters login/pw info and is logged in. Now, on the console window, if you try to&lt;BR /&gt;sudo su -&lt;BR /&gt;it will error out. I am unable to figure out&lt;BR /&gt;why sudo su - works on regular telnet/ssh winow and does not work on console window.&lt;BR /&gt;&lt;BR /&gt;Some out put I have given below -&lt;BR /&gt;$&amp;gt; sudo su -&lt;BR /&gt;Password:&lt;BR /&gt;Sorry, try again.&lt;BR /&gt;Password:&lt;BR /&gt;sudo: 1 incorrect password attempt&lt;BR /&gt;Jan 17 13:16:29 f3e1qa11 sudo:   rajose : 1 incorrect password attempt ; TTY=console ; PWD=/home/rajose ; USER=root ; COMMAND=/usr/bin/su -&lt;BR /&gt;&lt;BR /&gt;$&amp;gt; tty&lt;BR /&gt;/dev/console&lt;BR /&gt;&lt;BR /&gt;Anyone has noticed this? Any help is appreciated.&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;Rajose</description>
      <pubDate>Thu, 17 Jan 2008 18:18:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-sudo-to-root-on-console-dev-console-window/m-p/5088527#M724691</guid>
      <dc:creator>Ra Jose</dc:creator>
      <dc:date>2008-01-17T18:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to sudo to root on console (/dev/console) window</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-sudo-to-root-on-console-dev-console-window/m-p/5088528#M724692</link>
      <description>If you've logged on as a non-root user from the MP console, check your TERM environment variable and "stty -a" settings first.&lt;BR /&gt;&lt;BR /&gt;Chances are, your TERM will be set to "dumb" and your intr, erase and kill characters are not what you'd expect. Like on ancient Teletypes, # will mean "delete character" and @ will be "kill (delete) entire line".&lt;BR /&gt;&lt;BR /&gt;If your password contains these characters, you'll surely fail unless you fix these settings first.&lt;BR /&gt;&lt;BR /&gt;So:&lt;BR /&gt;&lt;BR /&gt;TERM=vt100 # or xterm or whatever you've got&lt;BR /&gt;stty intr ^C kill ^U erase ^? susp ^Z&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Thu, 17 Jan 2008 20:12:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-sudo-to-root-on-console-dev-console-window/m-p/5088528#M724692</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2008-01-17T20:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to sudo to root on console (/dev/console) window</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-sudo-to-root-on-console-dev-console-window/m-p/5088529#M724693</link>
      <description>TERM is set to vt100 and all stty setting are right. The sudo still does not allow me to become root on console window.</description>
      <pubDate>Fri, 18 Jan 2008 15:12:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-sudo-to-root-on-console-dev-console-window/m-p/5088529#M724693</guid>
      <dc:creator>Ra Jose</dc:creator>
      <dc:date>2008-01-18T15:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to sudo to root on console (/dev/console) window</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-sudo-to-root-on-console-dev-console-window/m-p/5088530#M724694</link>
      <description>If it is a trusted system, this behavior can be changed by adding "timeout_timestamp=0" to the sudoers file(/opt/iexpress/sudo/etc/sudoers)</description>
      <pubDate>Wed, 30 Jan 2008 22:24:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-sudo-to-root-on-console-dev-console-window/m-p/5088530#M724694</guid>
      <dc:creator>IT Response</dc:creator>
      <dc:date>2008-01-30T22:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to sudo to root on console (/dev/console) window</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-sudo-to-root-on-console-dev-console-window/m-p/5088531#M724695</link>
      <description>Is it timeout_timestamp or timestamp_timeout,&lt;BR /&gt;&lt;BR /&gt;In my sudoers file, I put it like this -&lt;BR /&gt;Defaults logfile=/var/adm/sudo.log, timeout_timestamp=0&lt;BR /&gt;The visudo did not recognize this parameter.&lt;BR /&gt;Then I chaged to timestamp_timeout=0, it&lt;BR /&gt;saved the file without errors.&lt;BR /&gt;&lt;BR /&gt;I tried sudo su - on  my console window,&lt;BR /&gt;it still says -&lt;BR /&gt;$ sudo su -&lt;BR /&gt;Password:&lt;BR /&gt;Sorry, try again.&lt;BR /&gt;Password:&lt;BR /&gt;sudo: 1 incorrect password attempt&lt;BR /&gt;Jan 31 11:00:39 fex2 sudo:   user : 1 incorrect password attempt ; TTY=console ; PWD= ; USER=root ; COMMAND=/usr/bin/su -&lt;BR /&gt;$ tty&lt;BR /&gt;/dev/console&lt;BR /&gt;$&lt;BR /&gt;&lt;BR /&gt;Although I am giving correct user password, it&lt;BR /&gt;still does not change to root on console window. It is a trusted system.&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Jan 2008 16:05:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-sudo-to-root-on-console-dev-console-window/m-p/5088531#M724695</guid>
      <dc:creator>Ra Jose</dc:creator>
      <dc:date>2008-01-31T16:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to sudo to root on console (/dev/console) window</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-sudo-to-root-on-console-dev-console-window/m-p/5088532#M724696</link>
      <description>Question is not answered yet:&lt;BR /&gt;&lt;BR /&gt;Does the password contain @ or #?&lt;BR /&gt;&lt;BR /&gt;See Matti's post.&lt;BR /&gt;&lt;BR /&gt;BTW, maybe I miss something here, but is there a basic difference between a plain "su -" and your command (why do you use sudo here)?&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Jan 2008 16:21:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-sudo-to-root-on-console-dev-console-window/m-p/5088532#M724696</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-01-31T16:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to sudo to root on console (/dev/console) window</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-sudo-to-root-on-console-dev-console-window/m-p/5088533#M724697</link>
      <description>"BTW, maybe I miss something here, but is there a basic difference between a plain "su -" and your command (why do you use sudo here)?"&lt;BR /&gt;&lt;BR /&gt;Torsten - lets him su from a user to root w/o knowing root's password. it *should* be (based on the error message) asking for the password of user "rajose".&lt;BR /&gt;&lt;BR /&gt;I gotta admit, I've never tried this, or sudo from the console either</description>
      <pubDate>Thu, 31 Jan 2008 16:28:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-sudo-to-root-on-console-dev-console-window/m-p/5088533#M724697</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2008-01-31T16:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to sudo to root on console (/dev/console) window</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-sudo-to-root-on-console-dev-console-window/m-p/5088534#M724698</link>
      <description>well, the site here uses sudo. We are not&lt;BR /&gt;given root passwords. It is centrally maintained by security group. The sysadmins have been given access to root privilege via sudo. &lt;BR /&gt;&lt;BR /&gt;So if I have to make modifications to the system, I change to root via sudo. This asks my user password and lets me into the system as root. All activities are logged. Once I am done, I exit out of this and become ordinary user. &lt;BR /&gt;&lt;BR /&gt;The su - command does changes to root but asks for root pw which we don't know. Hence, sudo has this privilege.&lt;BR /&gt;&lt;BR /&gt;I will double check once again the terminal settings to make sure the stty and my characters in password do not match.&lt;BR /&gt;&lt;BR /&gt;Rajose.</description>
      <pubDate>Thu, 31 Jan 2008 16:34:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-sudo-to-root-on-console-dev-console-window/m-p/5088534#M724698</guid>
      <dc:creator>Ra Jose</dc:creator>
      <dc:date>2008-01-31T16:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to sudo to root on console (/dev/console) window</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-sudo-to-root-on-console-dev-console-window/m-p/5088535#M724699</link>
      <description>Got it, thanks.&lt;BR /&gt;&lt;BR /&gt;IMHO it's time to check the password now.&lt;BR /&gt;No @ and # and no longer than 8 chars?</description>
      <pubDate>Thu, 31 Jan 2008 17:27:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-sudo-to-root-on-console-dev-console-window/m-p/5088535#M724699</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-01-31T17:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to sudo to root on console (/dev/console) window</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-sudo-to-root-on-console-dev-console-window/m-p/5088536#M724700</link>
      <description>I checked password. It is &amp;lt;8 chars and&lt;BR /&gt;contain only alpha-numeric. I still get&lt;BR /&gt;error changing to root via sudo on console.&lt;BR /&gt;&lt;BR /&gt;If anyone had sudo implementation, they can&lt;BR /&gt;probably try this.&lt;BR /&gt;Rajose.</description>
      <pubDate>Thu, 31 Jan 2008 17:56:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-sudo-to-root-on-console-dev-console-window/m-p/5088536#M724700</guid>
      <dc:creator>Ra Jose</dc:creator>
      <dc:date>2008-01-31T17:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to sudo to root on console (/dev/console) window</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-sudo-to-root-on-console-dev-console-window/m-p/5088537#M724701</link>
      <description>well...i *did* try it on an older system (hpux 11.0 and sudo 1.6.8p5 and a green-screen console).&lt;BR /&gt;&lt;BR /&gt;Logged in at the console using my personal id and ran "/usr/local/bin/sudo su -".&lt;BR /&gt;&lt;BR /&gt;Accepted my password and logged me in as root....no issues..</description>
      <pubDate>Thu, 31 Jan 2008 18:23:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-sudo-to-root-on-console-dev-console-window/m-p/5088537#M724701</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2008-01-31T18:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to sudo to root on console (/dev/console) window</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-sudo-to-root-on-console-dev-console-window/m-p/5088538#M724702</link>
      <description>Thx Oldschool. Let me check the sudo version&lt;BR /&gt;and see if I can get the latest and try.</description>
      <pubDate>Thu, 31 Jan 2008 18:33:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-sudo-to-root-on-console-dev-console-window/m-p/5088538#M724702</guid>
      <dc:creator>Ra Jose</dc:creator>
      <dc:date>2008-01-31T18:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to sudo to root on console (/dev/console) window</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-sudo-to-root-on-console-dev-console-window/m-p/5088539#M724703</link>
      <description>The new version of sudo worked fine.</description>
      <pubDate>Fri, 01 Feb 2008 21:35:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-sudo-to-root-on-console-dev-console-window/m-p/5088539#M724703</guid>
      <dc:creator>Ra Jose</dc:creator>
      <dc:date>2008-02-01T21:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to sudo to root on console (/dev/console) window</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-sudo-to-root-on-console-dev-console-window/m-p/5088540#M724704</link>
      <description>The new version of sudo resolved the issue.&lt;BR /&gt;1.6.9p8 is the new version available on&lt;BR /&gt;HP's swdepot under security category&lt;BR /&gt;&lt;BR /&gt;Rajose.</description>
      <pubDate>Fri, 01 Feb 2008 21:50:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-sudo-to-root-on-console-dev-console-window/m-p/5088540#M724704</guid>
      <dc:creator>Ra Jose</dc:creator>
      <dc:date>2008-02-01T21:50:00Z</dc:date>
    </item>
  </channel>
</rss>

