1833777 Members
2120 Online
110063 Solutions
New Discussion

Re: security

 
SOLVED
Go to solution
Vogra
Regular Advisor

security

Hi All!
if it's possible, how can I disable de security on HP-UX.11.00.
Thanx.
We are spirits in the material world
8 REPLIES 8
Patrick Wallek
Honored Contributor

Re: security

What do you mean disable security? There are many levels of unix security. What specifically are you trying to accomplish?
Vogra
Regular Advisor

Re: security

/etc/passwd have the line:
vsul:*:403:125:User2,,,:/userbaan:/usr/bin/sh
I have to see de field password (encripted, I know).
We are spirits in the material world
MANOJ SRIVASTAVA
Honored Contributor

Re: security

Hi Claudio

I dont think think you can decrypt the passwd string , however as an root you can change it to another on w/o knowing the original passwd .This way you can log into that user .But it is not possible to decrypt the passwd .

Manoj Srivastava
Jim Turner
HPE Pro
Solution

Re: security

Claudio,

Presuming you have an asterisk (*) as the password in every /etc/passwd entry, you are working with a trusted system. All you need to do is untrust the system.

/usr/lbin/tsconvert -r

Cheers,
Jim
Patrick Wallek
Honored Contributor

Re: security

If the passwd field in /etc/passwd has a * in it and the user can still log in, then it sounds as if you have a trusted system. If you are sure you want to "un-trust" it, you can do so with the command 'tsconvert -r'. If you just want to look at the passwd field for a user, check the appropriate file in /tcb/files/[a-z]|[A-Z] for that particular user.
Vogra
Regular Advisor

Re: security

Hi Manoj,
I need to adduser in server 2 that existing in server 1 than I copy line with all information from server1 to server 2. Now it's not possible (?).
We are spirits in the material world
Bill Hassell
Honored Contributor

Re: security

Correct. A Trusted System is designed to protect the password from hackers. You can obtain the encrypted password in the /tcb directory but you must be root to read the /tcb information. It is located in the user's database entry.


Bill Hassell, sysadmin
Rui_3
Occasional Advisor

Re: security

Hi,

If your system is a trusted system and you want to do this so that you can copy a user from one system to the other you can still do this, just run /usr/lbin/tsconvert -c in the end to sync the passwords in the /etc/passwd file to the passwords in the /tcb database.

As a plus if you only want to access the encrypted password, this is located on individual files for each user in the /tcb/files/auth//

regards