Creating Samba user? How to find syntax or commands?
The server has user level security. I must create a Samba user to allow access to the file server. The OS is Redhat.
here is my problem. Im the past (CentOS) I would type useradd -G primarygroup -s /bin/false user & smbpasswd -a user With this redhat box, if I type useradd I get a command not found. If I type smbpasswd -a user I get another error stating that the user could not be updated. How do I figure this out? |
Still no luck figuring this out. Help?
|
I don't know Redhat well enough to be specific, but I'll take a shot.
Maybe this will help. http://linux.about.com/od/commands/l...l8_useradd.htm |
I su' to root, and get useradd not found. Maybe I Must run it inside of /bin/
So I need to perform both "useradd" and "smbpassword" in order to create a user? |
Still no luck, there isnt a useradd utility inside of /usr/sbin
|
I SU to root, browse to /usr/sbin/ and when i run useradd i get "command not found"
the file exists -rwxr-x--- 1 root root 74544 Nov 27 2009 useradd Must I run this command as root? is SU not good enough? Root access is denied on this box and SU is my only option. |
Option 1:
Use "su -" to have the root's path. Option 2: Run "/usr/sbin/useradd". Using with the full path. |
All times are GMT -5. The time now is 09:52 AM. |