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

What is the command to check wwn in solaris?

3 Answers   Siemens,


How to delete “abc” files using find command

3 Answers  


How can youy check the disk status in , is it locally connected or remotely connected?

4 Answers   Thomson Reuters,


What is the command to check the connectivity between 2 nodes

2 Answers   IBM,


What is the protocol supported by NFS

2 Answers  






After first installation of Solaris 10, what and all the Securities We need to set and how ?

0 Answers   Microland,


As a user how he can change is passwd with root privilege.

2 Answers  


What is different between crontab and at command?

1 Answers  


How will you restart the inetd process?

2 Answers  


How will see the hostname

3 Answers  


What are the minimum hardware requirements for cluster configuration?

4 Answers  


How will you verify the disk and how many field will be there.

2 Answers  


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)