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 remove the volume

1 Answers  


can you explain about the vxencap command in veritas volume manager?

3 Answers   VeriSign, Wipro,


How to find the boot path in solaris

4 Answers  


If telnet not working, what are the thing to be checked

3 Answers  


command to display default boot device

7 Answers  






Where the veritas disk information store.

2 Answers  


What is HA?

2 Answers  


If plex is failed then how can you recover it?

1 Answers   EDS,


How ill you remove the subdisk and plexus

4 Answers  


What does pkgadd command do?

0 Answers  


i dont have access to the FTP server, what is the problem and how to trouble shoot?

1 Answers   Wipro,


How to check the communication between 2 nodes?

5 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)