adding a user
well i got a RHEL v3 installation
i was wondering what the command was to add a user? because : adduser and useradd dont work thanks a lot |
Make sure that you are root and that /sbin is in your path or try:
/sbin/adduser username |
bash: /sbin/adduser : no such file or directory
i looked in /sbin there is no adduser or useradd |
Sorry, my mistake - I think it is:
/usr/sbin/adduser |
ok this works
but is there anyway i can get it so that i just have to type: adduser ? |
Quote:
you can add alias adduser='/usr/sbin/adduser' to ~/.bash_profile |
ok thanks
is there a command to update things that we changed? so it takes count of what you changed? |
The best thing would just be to add /usr/sbin to your PATH variable. If you su'd to root then try using "su -" instead to load additional paths
|
ok thanks
another question: how do u set a limited space for a user via ssh? like user john get 100Mb of space bob get 200Mb etc... ? thanks |
You will need to set up quotas - see:
http://www.tldp.org/HOWTO/Quota.html |
All times are GMT -5. The time now is 10:12 AM. |