PDA

View Full Version : adding users via ssh


Noobers
2003-08-28, 23:21 PM
i may be missing something, but i dont see howto add new users
via cmd line

maually editing /etc/passwd and /etc/group is a pita.

I looked for mkuser, useradd, adduser

I look in rh9 manual also

http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/s1-users-cmd-line.html





am i missing something here?

thnx

Tino Didriksen
2003-08-28, 23:26 PM
You need the full path when using SSH since it's not set to have /usr/sbin in it:

useradd = /usr/sbin/useradd
passwd = /usr/bin/passwd (but /usr/bin is in path, usually)

Noobers
2003-08-28, 23:33 PM
that worked ,

I was assuming that was in PATH , I thought just /sbin wasnt


thnx alot