| Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free! |
samba for solaris
|
Original Message
|
Name: the mask
Date: December 28, 2001 at 10:32:39 Pacific
Subject: samba for solaris
|
Comment: hello friends i installed samba for solaris x86pc, and don't have smbadduser in samba how can i adduser in samba if i don't have smbadduser? i use linux, i'm studing solaris thanks
Report Offensive Message For Removal
|
|
Response Number 1
|
Name: Mike
Date: January 3, 2002 at 20:10:26 Pacific
|
Reply: (edit)Hey Mask - Here is actual working code for creating a user named 'alice'. It also gives you opportunity to assign password 'syzygy9' to alice at the same time. I used the full directory path for reaching the binary file 'smbpasswd'. 'smbadduser' does not exist in Samba 2.2.2 (which I use). # ./usr/local/samba/bin/smbaddusr -a ./usr/local/samba/bin/smbaddusr: not found # ./usr/local/samba/bin/smbpasswd -alice ./usr/local/samba/bin/smbpasswd: illegal option -- l smbpasswd [options] [username] [password] options: -s use stdin for password prompt -D LEVEL debug level -U USER remote username -r MACHINE remote machine -L local mode (must be first option) -R ORDER name resolve order -j DOMAIN join domain name -a add user -x delete user -d disable user -e enable user -n set no password -m machine trust account # ./usr/local/samba/bin/smbpasswd -a alice syzygy9 Added user alice. #SUCCESS! # This command is not defined well in any book I have, so don't feel bad....
Report Offensive Follow Up For Removal
|

Post Locked
This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
Go to Solaris Forum Home