Link to home
Start Free TrialLog in
Avatar of linuxdebian
linuxdebian

asked on

Samba useradd

Hello
I do not understand the differences between :
root#/usr/sbin/useradd -g  newgroup -s /bin/false comp1$
or
root# useradd -g newgroup comp1$

I use debian but which one i need to use ?
Thnak you for help

ASKER CERTIFIED SOLUTION
Avatar of Kruger_monkey
Kruger_monkey
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of linuxdebian
linuxdebian

ASKER

I build new debian samba server in our office.
We have 20 users and i thought if i create computers accounts and user accounts would be better for administration in future. is that correct? or i dont  need computers account at all?

Regards
From what I remember, creating the accounts up front will make it slightly easier, but if you configure your smb.conf correctly you can add computers to it as normal assuming you are using it as a PDC.

If it is just for file sharing, I'm not sure you need a computer account to be fair, but create them just to be safe.

Thnak you so much i will do with computer account