1752328 Members
5164 Online
108786 Solutions
New Discussion юеВ

NEw to hp unix

 
kishore_11_1
Occasional Advisor

NEw to hp unix

HI
I am new to hp-ux. when i login i am in $ shell hoe to move to #
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: NEw to hp unix

Shalom,

su - root

give the root password.

Or change your PS1 variable.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
singh sanjeev
Trusted Contributor

Re: NEw to hp unix

export PS1="#"

set it in your profile...# sign appear when you switch to root login.
Sanjeev Singh
James R. Ferguson
Acclaimed Contributor

Re: NEw to hp unix

Hi:

> I am new to hp-ux. when i login i am in $ shell hoe to move to #

The "$" character in the PS1 prompt is the convention for a non-root user whereas a "#" is used to signify a root-user session.

I have to say, if you are asking a question like this, you need to familiarize yourself a bit more with the Unix shell before you ever attempt to login to or switch to ('su') the root account.

Regards!

...JRF...