Sponsored Content
Full Discussion: LOM password
Operating Systems Solaris LOM password Post 302226446 by Alalush on Tuesday 19th of August 2008 04:33:01 AM
Old 08-19-2008
LOM password

Hello,

I need to run several command under LOM from unix shell.

the first command is resetsc -y and then I required to enter admin password.
Is there any way to make it with a script like:
#. <<LOM
resetsc -y
admin password
LOM

Is the password will accepted in that way ?

Thanks in advance.
 

10 More Discussions You Might Find Interesting

1. Solaris

LOM device

All, I am getting the following message on the system post for Solaris 9: Unknown or badly programmed LOM device This is a SunFire 240 server which I just built out. Is there any way to fix this problem? Thanks, Mike (2 Replies)
Discussion started by: bubba112557
2 Replies

2. Solaris

Determine LOM version?

Is there a way I can determine the LOM version on a Sun machine without actually shutting the system down? I'm confused. :) (2 Replies)
Discussion started by: sysera
2 Replies

3. Solaris

SUN LOM password

Hi friends, Please tell me how to break the LOMlite password on SUN Netra X1 system. Thanks venkat (2 Replies)
Discussion started by: rvrao77
2 Replies

4. Solaris

Netra T1 LOM Password Reset

Hello All, I had bought Netra T1 AC200 couple of months ago and has setup a user and password in LOMlite but I forgot the password. when i connect to the server i get the LOMlite prompt and i cant connect to the Serial console (there is no prompt). I have tried the JP13 JP14 and JP15... (1 Reply)
Discussion started by: Pratik Gharti
1 Replies

5. Solaris

LOM on SUN ultra 10

Hi experts is it possible to install lom on sun ultra 10 box? can you guys help me in undertanding lom as i tried goggling , couldn't get good stuff. Please :) (6 Replies)
Discussion started by: kumarmani
6 Replies

6. Solaris

lom to ok prompt in netra 1280

HI group, Can anyone please suggest what can be the problem when we send poweron command on lom it again comes to lom and show following error what does it means lom>poweron /N0/PS0: already on /N0/PS1: already on /N0/PS2: already on /N0/PS3: already on Powering boards on ... Tue Dec... (5 Replies)
Discussion started by: sameergrover
5 Replies

7. Solaris

Need Help to create LOM Cable Netra x1

hi all, I have a SUN NETRA x1. To Installation need LOM cable . There are ways that you can help me to make LOM Cable ? as the information I have serial cable CISCO Cisco and I have been trying to connect but only blank (2 Replies)
Discussion started by: moslemovic
2 Replies

8. Solaris

help reset netra T1 lom admin password

Can someone please help here on how to reset a T1 lom password? I have tried the JP13 an try to find lom.conf in scadm dir but lom.conf is not on the machine ,some help thanks (1 Reply)
Discussion started by: rafise
1 Replies

9. Solaris

Set IP for LOM from Operating System

Hi, I have a Sun-Fire-V440 server. I want to set IP address for its LOM from operating system. Earlier it does not have any IP address. Is it possible to set IP from Operating System ? if possible, how can we do it ? Thanks Sri (3 Replies)
Discussion started by: sri243
3 Replies

10. Hardware

How to reset lom password in netra T1?

Hello, I bought Netra T1 some time ago and set user and password in LOMlite.It seems that I forgot the password. When i connect to the server i get the LOMlite prompt. Can anybody tell me what is the proper sequence or the right way to reset the LOMlite password/account. Thanks (5 Replies)
Discussion started by: pitmod
5 Replies
KAS_SETPASSWORD(8)					       AFS Command Reference						KAS_SETPASSWORD(8)

NAME
kas_setpassword - Changes the key field in an Authentication Database entry SYNOPSIS
kas setpassword -name <name of user> [-new_password <new password>] [-kvno <key version number>] [-admin_username <admin principal to use for authentication>] [-password_for_admin <admin password>] [-cell <cell name>] [-servers <explicit list of authentication servers>+] [-noauth] [-help] kas setpasswd -na <name of user> [-ne <new password>] [-k <key version number>] [-a <admin principal to use for authentication>] [-p <admin password>] [-c <cell name>] [-s <explicit list of authentication servers>+] [-no] [-h] kas setp -na <name of user> [-ne <new password>] [-k <key version number>] [-a <admin principal to use for authentication>] [-p <admin password>] [-c <cell name>] [-s <explicit list of authentication servers>+] [-no] [-h] kas sp -na <name of user> [-ne <new password>] [-k <key version number>] [-a <admin principal to use for authentication>] [-p <admin password>] [-c <cell name>] [-s <explicit list of authentication servers>+] [-no] [-h] DESCRIPTION
The kas setpassword command accepts a character string of unlimited length, scrambles it into a form suitable for use as an encryption key, places it in the key field of the Authentication Database entry named by the -name argument, and assigns it the key version number specified by the -kvno argument. To avoid making the password string visible at the shell prompt, omit the -new_password argument. Prompts then appear at the shell which do not echo the password visibly. When changing the afs server key, also issue bos addkey command to add the key (with the same key version number) to the /etc/openafs/server/KeyFile file. See the OpenAFS Administration Guide for instructions. The command interpreter checks the password string subject to the following conditions: o If there is a program called kpwvalid in the same directory as the kas binary, the command interpreter invokes it to process the password. For details, see kpwvalid(8). o If the -reuse argument to the kas setfields command has been used to prohibit reuse of previous passwords, the command interpreter verifies that the password is not too similar too any of the user's previous 20 passwords. It generates the following error message at the shell: Password was not changed because it seems like a reused password To prevent a user from subverting this restriction by changing the password twenty times in quick succession (manually or by running a script), use the -minhours argument on the kaserver initialization command. The following error message appears if a user attempts to change a password before the minimum time has passed: Password was not changed because you changed it too recently; see your systems administrator OPTIONS
-name <name of user> Names the entry in which to record the new key. -new_password <new password> Specifies the character string the user types when authenticating to AFS. Omit this argument and type the string at the resulting prompts so that the password does not echo visibly. Note that some non-AFS programs cannot handle passwords longer than eight characters. -kvno <key version number> Specifies the key version number associated with the new key. Provide an integer in the range from 0 through 255. If omitted, the default is 0 (zero), which is probably not desirable for server keys. -admin_username <admin principal> Specifies the user identity under which to authenticate with the Authentication Server for execution of the command. For more details, see kas(8). -password_for_admin <admin password> Specifies the password of the command's issuer. If it is omitted (as recommended), the kas command interpreter prompts for it and does not echo it visibly. For more details, see kas(8). -cell <cell name> Names the cell in which to run the command. For more details, see kas(8). -servers <authentication servers>+ Names each machine running an Authentication Server with which to establish a connection. For more details, see kas(8). -noauth Assigns the unprivileged identity "anonymous" to the issuer. For more details, see kas(8). -help Prints the online help for this command. All other valid options are ignored. EXAMPLES
In the following example, an administrator using the "admin" account changes the password for "pat" (presumably because "pat" forgot the former password or got locked out of his account in some other way). % kas setpassword pat Password for admin: new_password: Verifying, please re-enter new_password: PRIVILEGE REQUIRED
Individual users can change their own passwords. To change another user's password or the password (server encryption key) for server entries such as "afs", the issuer must have the "ADMIN" flag set in his or her Authentication Database entry. SEE ALSO
bos_addkey(8), kas(8), kaserver(8), kpwvalid(8) COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved. This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell. OpenAFS 2012-03-26 KAS_SETPASSWORD(8)
All times are GMT -4. The time now is 01:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy