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

How do you copy files from remote system using ftp?

0 Answers  


Performace degradations in NFSv4 when upgraded from NFSv3? problems with NFS v4?

0 Answers   IBM, Satyam, Wipro,


How to configure Veritas Kernel? Daemons in Veritas VM?

2 Answers   Satyam, Wipro,


How to solve the system hang issue. Found that the memory state is free, commands to check and solve the issue?

0 Answers  


How to check nfs version configured?

3 Answers   Satyam, Wipro,






different between UDP and TCP

2 Answers   Oracle,


major diffences b/w solars 9 & 10?

10 Answers   Satyam, Wipro,


format command is not working. It is showing all disks, but not going to further step. How to resolve that?

2 Answers   IBM,


How to create diskgroup in veritas?

2 Answers   Satyam, Wipro,


How to reset root password if root password is gone?

1 Answers   Satyam, Wipro,


DIfferent between swap -l & swap -s

1 Answers  


Solaris run levels?

3 Answers   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)