Saturday, June 1, 2013

setting an appropriate PATH for one user

setting an appropriate PATH for one user

I'm new to linux and I'm taking a course that requuires to do these: a) creating a login name b) establishing appropriate group(s) c) creating the home directory d) creating the login shell e) establishing a pass word for the user f) setting an appropriate PATH g) placing appropriate files in the home directory
This is what I have done so far, but I'm not sure about my home directory and PATH.... will you help me, please?
[root@Server ~]# useradd -gusers -s/bin/shell -p1234 -d/home/group -m userid
[root@CentosStudentSvr ~]# usermod -m -d/homedir/ userid
What I suppose to do for My PATH?
Thank you!

No comments:

Post a Comment