View Full Version : [ubuntu] samba add user
June 22nd, 2008, 08:24 PM
I'm trying to create a user account for samba so that I can connect to it via Windows XP. How do I do this?
I'm on 07.04
June 22nd, 2008, 08:29 PM
To setup a password for your ubuntu user:
sudo smbpasswd -a your-user-name
To create a new samba user:
sudo useradd username
sudo smbpasswd -a username
June 23rd, 2008, 07:28 AM
you're probably better off adding samba users that don't have shell access like so:
sudo useradd -s /bin/true username
sudo smbpasswd -L -a username
sudo smbpasswd -L -e username
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.