Displaying 20 results from an estimated 89 matches for "gpasswd".
Did you mean:
passwd
2004 Feb 19
1
Migrate NT4 Dom -> Samba 3.0.2a
...-uid based user
RID.
Creating account: tux$
Creating account: grrr
[2004/02/19 12:40:28, 0] passdb/pdb_smbpasswd.c:build_smb_pass(1150)
build_sam_pass: Failing attempt to store user with non-uid based user
RID.
Creating account: lol
Group members of root: administrator,lgm(primary),lol,
usage: gpasswd [-r|-R] group
gpasswd [-a user] group
gpasswd [-d user] group
gpasswd [-A user,...] [-M user,...] group
Group members of users:
administrator(primary),TEST-PDC$(primary),lgm,tux$(primary),lol(primary),
usage: gpasswd [-r|-R] group
gpasswd [-a user] group
gpa...
2011 Jul 25
1
Can't rename win7 machine in samba domain
Hello,
Samba 3.5.8-68 on F15 64bit with all latest updates.
Part of smb.conf file:
set primary group script = /usr/sbin/usermod -g %g %u
add user script = /usr/sbin/useradd -g 100 %u
add group script = /usr/sbin/groupadd %g
add user to group script = /usr/bin/gpasswd -a %u %g
add machine script = /usr/sbin/useradd -d /var/lib/nobody -g 100 -s
/bin/false -M %u
delete user script = /usr/sbin/userdel %u -r
delete user from group script = /usr/bin/gpasswd -d %u %g
delete group script = /usr/sbin/groupdel %g
rename user script = /usr/sbin/usermo...
2003 Dec 26
1
User Manager For Domains - SAMBA 3.0.1-2
...?
In my smb.conf i have added the following lines:
//--snip--//
add machine script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false
-M "%u"
add user script = /usr/sbin/useradd "%u"
add group script = /usr/sbin/groupadd "%g"
add user to group script = /usr/bin/gpasswd -a "%u" "%g"
delete user from group script = /usr/bin/gpasswd -d "%u" "%g"
set primary group script = /usr/sbin/usermod -g "%g" "%u"
delete user script = /usr/sbin/userdel "%u"
delete group script = /usr/sbin/groupdel "%g&qu...
2003 Oct 17
1
cannot locate roaming profile
...alse '%u'
delete user script = /usr/sbin/userdel '%s'
add group script = /usr/sbin/groupadd %g && getent group
'%g'|awk -F: '{print $3}'
delete group script = /usr/sbin/groupdel '%g'
add user to group script = /usr/bin/gpasswd -a '%u' '%g'
delete user from group script = /usr/bin/gpasswd -d '%u' '%g'
set primary group script = /usr/sbin/usermod -g '%g' '%u'
domain logons = Yes
os level = 33
preferred master = Yes
domain master...
2005 Nov 25
1
USRMGR Not adding users properly
...-c Machine
-d /dev/null -s /bin/false -n %m$
add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel -r %u
add group script = /usr/sbin/groupadd %g
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/bin/gpasswd -a %u %g
delete user from group script = /usr/bin/gpasswd -d %u %g
store dos attributes = yes
utmp = yes
[netlogon]
path = /home/_shares/netlogon
browseable = no
read only = yes
root preexec = /home/_shares/execscripts/netlogon.sh %U...
2003 Jun 26
1
[homes] share not available for this user....
...printers = No
printcap name = cups
add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel -r %u
add group script = /usr/sbin/groupadd -r %g
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/bin/gpasswd -a %u %g
delete user from group script = /usr/bin/gpasswd -d %u %g
set primary group script = /usr/sbin/usermod -g '%g' '%u'
#create a group machines first !
add machine script = /usr/sbin/useradd -g machines -c Machine -d /dev/null -s /bin/false...
2003 Feb 14
4
domain users in local groups with Winbind/Samba/Redhat
Hi,
I am running a Samba 2.2.7a on Redhat 7.3 in a NT domain. For authentication
I am using the domainusers.This is done by Winbind 2.2.7a which verifies the
existens of the users on the PDC. So I dont't have to create local users
(/etc/passwd) for users who want to connect to the shares in the smb.conf.
I authorise them by adding valid users = domain+domainuser to the smb.conf.
This works
2005 Sep 01
1
net rpc vampire
...logons = Yes
local master = No
domain master = No
preferred master = No
os level = 22
enable privileges = yes
name resolve order = bcast lmhost wins
add user script = /usr/sbin/useradd -s /bin/false '%u'
delete user script = /usr/sbin/userdel '%s'
add user to group script = /usr/bin/gpasswd -a '%u' '%g'
delete user from group script = /usr/bin/gpasswd -d '%u' '%g'
set primary group script = /usr/sbin/usermod -g '%g' '%u'
add group script = /usr/sbin/groupadd %g && getent group '%g'|awk -F: '{print
$3}'
delete gro...
2008 Nov 19
1
Samba conect/disconect/reconect when browsing or when freeze open/save dialogs
.../useradd -m '%u'
rename user script = /usr/sbin/usermod -l '%unew' '%uold'
delete user script = /usr/sbin/userdel -r '%u'
add group script = /usr/sbin/groupadd '%g'
delete group script = /usr/sbin/groupdel '%g'
add user to group script = /usr/bin/gpasswd -a '%u' '%g'
delete user from group script = /usr/bin/gpasswd -d '%u' '%g'
set primary group script = /usr/sbin/usermod -g '%g' '%u'
add machine script = /usr/sbin/adduser -n -r -g machines -c "Samba
machine" -d /dev/null -s /bin/false %u...
2011 Jun 06
1
Windows 7/Vista problem with offline files synchronization - samba 3.5.4 domain controller
...s
add user script = /usr/sbin/useradd -d /dev/null -s /bin/false -g
pdc-users '%u'
delete user script = /usr/sbin/userdel '%u'
add group script = /usr/sbin/groupadd '%g'
delete group script = /usr/sbin/groupdel '%g'
add user to group script = /usr/bin/gpasswd -a '%u' '%g'
delete user from group script = /usr/bin/gpasswd -d '%u' '%g'
set primary group script = /usr/sbin/usermod -g '%g' '%u'
add machine script = /usr/sbin/useradd -g machines -c Komputer -d
/dev/null -s /bin/false '%u'
[net...
2005 Jun 21
3
Bug#315071: Results to your question
Hi,
See below:
# getent group adm
adm:x:4:root,adm,daemon
And:
# ls -l /var/log
total 20384
-rw-r----- 1 root adm 43310 Jun 21 16:00 auth.log
-rw-r----- 1 root adm 128247 Jun 19 06:47 auth.log.0
-rw-r----- 1 root adm 10318 Jun 12 06:47 auth.log.1.gz
-rw-r----- 1 root adm 9508 Jun 5 06:47 auth.log.2.gz
-rw-r----- 1 root adm 12475 May 29 06:47 auth.log.3.gz
2005 Apr 29
1
Can't login samba domain from xp/2k
...local master = yes
os level = 64
domain master = yes
preferred master = yes
domain logons = yes
logon script = logon.bat
add user script = /usr/sbin/useradd -s /bin/false '%u'
delete user script = /usr/sbin/userdel '%s'
add user to group script = /usr/bin/gpasswd -a '%u' '%g'
delete user from group script = /usr/bin/gpasswd -d '%u' '%g'
set primary group script = /usr/sbin/usermod -g '%g' '%u'
add group script = /usr/sbin/groupadd %g && getent group '%g'|awk -F:
'{print $3}'...
2003 Jun 22
1
roaming profiles on beta samba3 as pdc
Hi @ll,
can someone enlight me ,
i could log in the domain and profiles are created well on samba, but after
second login, win client says
i cannot copy //linux/Profiles/testuser to c:\Dokument ...
so its starts with local copy
after login i am able to browse the Profiles share on samba but if i wanna
open a files the client makes a explorer failure , it seems to me that this is
a permission
2015 Oct 06
2
After update from 3.5.x to 3.6.23 all printers configured in CUPS they are no longer shared
...d -u "%u" 2>/dev/null) -gt 100 && /usr/sbin/userdel "%u"
add group script = /usr/sbin/groupadd "%g"
delete group script = test 0$(id -g "%g" 2>/dev/null) -gt 100 && /usr/sbin/groupdel "%g"
add user to group script = /usr/bin/gpasswd -a "%u" "%g"
delete user from group script = /usr/bin/gpasswd -d "%u" "%g"
set primary group script = /usr/sbin/usermod -g "%g" "%u"
add machine script = /usr/sbin/useradd -M -c "Computer di dominio (%u)" -g smbhosts -d /tmp/s...
2006 Jul 10
1
sometimes, roaming profile is not found
.../sbin/useradd -g sambamachines -c
Machine -d /dev/null -s /bin/false '%u'
add user script = /usr/sbin/useradd -g sambausers -c Utilisateur
-d /dev/null -s /bin/false '%u'
add group script = /usr/sbin/groupadd '%g'
add user to group script = /usr/bin/gpasswd -a '%u' '%g'
delete user script = /usr/sbin/userdel -r '%u'
delete group script = /usr/sbin/groupdel '%g'
delete user from group script = /usr/bin/gpasswd -d '%u' '%g'
set primary group script = /usr/sbin/usermod -g ...
2003 Jun 20
1
Fwd: Re: add user script & samba 3.0b
...printcap name = cups
> add user script = /usr/sbin/useradd -m %u
> delete user script = /usr/sbin/userdel -r %u
> add group script = /usr/sbin/groupadd -r %g
> delete group script = /usr/sbin/groupdel %g
> add user to group script = /usr/bin/gpasswd -a %u %g
> delete user from group script = /usr/bin/gpasswd -d %u %g
> set primary group script = /usr/sbin/usermod -g '%g' '%u'
> #create a group machines first !
> add machine script = /usr/sbin/useradd -g machines -c Machine -d
> /de...
2006 Jul 04
1
samba 3.0.22 default ACL issue
.../sbin/useradd -g sambamachines -c
Machine -d /dev/null -s /bin/false '%u'
add user script = /usr/sbin/useradd -g sambausers -c Utilisateur
-d /dev/null -s /bin/false '%u'
add group script = /usr/sbin/groupadd '%g'
add user to group script = /usr/bin/gpasswd -a '%u' '%g'
delete user script = /usr/sbin/userdel -r '%u'
delete group script = /usr/sbin/groupdel '%g'
delete user from group script = /usr/bin/gpasswd -d '%u' '%g'
set primary group script = /usr/sbin/usermod -g ...
2006 May 10
2
Problem with adding printer drivers in Windows XP
...tcap name = CUPS
show add printer wizard = No
add user script = /usr/sbin/useradd -m '%u'
delete user script = /usr/sbin/userdel -r '%u'
add group script = /usr/sbin/groupadd '%g'
delete group script = /usr/sbin/groupdel '%g'
add user to group script = /usr/bin/gpasswd -a '%u' '%g'
delete user from group script = /usr/bin/gpasswd -d '%u' '%g'
add machine script = /usr/sbin/useradd -s /bin/false -d /tmp '%u'
shutdown script = /var/lib/samba/scripts/shutdown.sh
abort shutdown script = /sbin/shutdown -c
logon script = scr...
2004 May 26
0
Phantom workgroup
...2
add user script = /usr/sbin/useradd '%u'
delete user script = /usr/sbin/userdel '%u'
add group script = /etc/samba/bin/smbgroupadd '%g'
delete group script = /etc/samba/bin/smbgroupdel '%g'
add user to group script = /usr/bin/gpasswd -a '%u' '%g'
delete user from group script = /usr/bin/gpasswd -d '%u' '%g'
set primary group script = /usr/sbin/usermod -g '%g' '%u'
add machine script = /usr/sbin/adduser -n -g machines -c
Machine -s /bin/false -M '%u...
2004 Sep 06
0
Excel Word XP slow response from Samba
...t options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = yes
os level = 64
domain master = yes
preferred master = yes
domain logons = no
add user script = /usr/sbin/useradd -s /bin/false '%u'
delete user script = /usr/sbin/userdel '%s'
add user to group script = /usr/bin/gpasswd -a '%u' '%g'
delete user from group script = /usr/bin/gpasswd -d '%u' '%g'
set primary group script = /usr/sbin/usermod -g '%g' '%u'
add group script = /usr/sbin/groupadd %g && getent group '%g'|awk -F:
'{print $3}'
delete grou...