They have user like aa with home dir /export/home/aa. They
want to change home dir to /export/home/bb & username
remains same. User files in /export/home/aa moved to bb?
What do u do?



They have user like aa with home dir /export/home/aa. They want to change home dir to /export/home/..

Answer / lakshmi

usermod -d /export/home/bb -m aa

Then aa user home directory will change
from /export/home/aa to /export/home/bb and login name same
as aa

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More Solaris General Interview Questions

Solaris booting process, run leverls?

1 Answers   Galaxy, Satyam, Wipro,


what is coredump & crashdump.what's the difference between these two.

2 Answers   Abasca Resources, Ashtech, Cognizant, HP,


What kind of issues you get?

0 Answers   Satyam, Wipro,


How to view shared memory statistics?

0 Answers  


Process between Kernel and Shell when a command is executed?

2 Answers   Satyam, Wipro,






What can be a reason for the solaris system slowing down?

0 Answers  


What does ssh?

2 Answers   Satyam, Wipro,


How can a user login to solaris?

0 Answers  


how to create passwords in nis?

3 Answers   DELL, IBM, TCS,


How can threads be created in a solaris environment?

0 Answers  


How do you update OBP firmware?

2 Answers   Satyam, Wipro,


What are the monitoring tools do use ?

3 Answers   Reddy Labs, Satyam, Wipro,


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)