how to set the hostname or username at commamd promt ?
where to set password length,max and min ?

Answers were Sorted based on User's Feedback



how to set the hostname or username at commamd promt ? where to set password length,max and min ?..

Answer / kirankumar

Set password length edit /etc/default/password file and
modify max length and min length.

#hostname kiran
#hostname
kiran
to update it permanently update file
/etc/hosts
/etc/inet/ipnodes
/etc/nodename
/etc/hosts.nic

Is This Answer Correct ?    16 Yes 2 No

how to set the hostname or username at commamd promt ? where to set password length,max and min ?..

Answer / raviga006

edit u r .profile

add this two lines
PS1="\h:\w:> "
export PS1

then u r .profile like . /.profile

Is This Answer Correct ?    2 Yes 0 No

how to set the hostname or username at commamd promt ? where to set password length,max and min ?..

Answer / ramkumar

#hostname xxxxxx
#hostname
xxxxxx
And to set it permanently add entries in /etc/hosts
and /etc/sysconfig/network and restart the service
To set password length edit /etc/default/password file

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More Solaris Commands Interview Questions

How to bring the Disk into diskgroup on veritas.

3 Answers  


How to remove the root mirror

2 Answers  


How to change network interface property in Solaris?

2 Answers   HCL,


What are the configuration files in VxVm?

3 Answers   Thomson Reuters,


What are the options available in Solaris Security setting.?

1 Answers   Accenture,






what is the difference between init runlevel and milestone?

2 Answers  


I have a TCP error how can fix this error?

3 Answers   Thomson Reuters,


How to review multiple MAC Addess in Solaris?

9 Answers   HP,


What are the service group dependence?

2 Answers  


What is the command to check the connectivity between 2 nodes

2 Answers   IBM,


How to check boot promt version from command prompt

7 Answers   IBM,


how many default groups are there in solaris10?what are they?

5 Answers   HP, Patni,


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)