search for: userdel

Displaying 20 results from an estimated 1073 matches for "userdel".

2009 Aug 16
3
userdel without -r switch
Hi how do I tell with user type to use userdel with -r short of using exec type? i have a user account called `foo'' so i created a test puppet file local to the system called test.pp # cat test.pp user {"foo": ensure => absent, managehome => true, } when I apply it on solaris or linux...
2018 May 03
2
samba 4 joining samba 3 pdc - group mismatch
...samba at lists.samba.org> wrote: > On Thu, 3 May 2018 14:59:18 -0300 > "Ethy H. Brito via samba" <samba at lists.samba.org> wrote: > > > I run the pdbedit command. > > I got a lage amount of users (and groups). > > The admin of the S3 server deleted (userdel) 75 users and these are > > still listed by pdbedit. How do I get rid os them?? > > > > I think you may be mistaken (or I did not fully understood your > > affirmation). These "no such user" users were deleted from Linux with > > "userdel -r" and...
2008 Jun 06
8
useradd provider not working?
I have this config: # BL00070 - Disable NFS service {["nfs","nfslock","netfs","portmap"]: ensure => stopped, enable => false, } user {"rpc": ensure => absent, provider => "useradd" } user {"rpcuser": ensure => absent, provider => "useradd" } file
2016 Dec 10
2
Has deleted user, why I can still get info of it
I del user 'u1': # userdel u1 But: # groups u1 u1 : g1 Is 'u1' delete? Thansk
2018 May 03
2
samba 4 joining samba 3 pdc - group mismatch
...for lines like > this: > > S-1-5-21-1768301897-3342589593-1064908849-3601 > > The last number '3601' is the RID, the rest is the SID that identifies > the domain. I run the pdbedit command. I got a lage amount of users (and groups). The admin of the S3 server deleted (userdel) 75 users and these are still listed by pdbedit. How do I get rid os them?? > > > > > > > > the group names which jgarcia belongs make no sense either > > > > (5p6l3d1$ ?!?! this one should be named jgarcia). > > > > > > This I don...
2010 Feb 01
1
CentOS as an internet kiosk : how to create a "fresh" user upon leaving GNOME ?
...user on the system, 'invite'. One (very simple) password. The machine is to be used publicly and freely. - To ensure some privacy, there's one detail though. The best thing would be that upon disconnection from the GNOME session, the user 'invite' gets wiped from the system (userdel -r) and then created anew, with his password already set. This I can do. - The tricky part is to do this upon disconnect. There's a function in System > Preferences > Session, where I can choose programs to run upon GNOME startup... but there's nothing similar for the disconnectio...
2005 Jul 13
8
Fix passwd/shadow/group files?
I've been copying old passwd/shadow/group files from system to system for ages across different distributions/updates and would like to get them back in sync with each other so the system tools will work. Now they hang like: #userdel irose hangs forever, syslog says: Jul 12 11:19:32 newftp userdel[30335]: delete user `irose' Jul 12 11:19:32 newftp userdel[30335]: delete `irose' from group `ftp' Jul 12 11:20:02 newftp last message repeated 373404 times Jul 12 11:21:04 newftp last message repeated 646597 times Jul 1...
2003 May 20
2
root rq'd to join domain
...way to restrict this user so that it was only good for domain joins, not root access on shares, etc. Another idea -- don't know how feasible this is -- can the "add user script=" and "delete user script=" commands simply be changed to "sudo useradd" or "sudo userdel" instead of just useradd or userdel, or does some other part of the process other than these two commands require root access. There may be something else I'm overlooking... maybe manual machine account creation? Does this not require root access (I know the creation would, but then does...
2005 Sep 15
1
delete user script
...t: LDAP search failed: Timed out [2005/09/15 10:19:43, 0] passdb/pdb_ldap.c:ldapsam_enum_group_mapping(2828) ldapsam_enum_group_mapping: Unable to open passdb [2005/09/15 10:19:43, 0] rpc_server/srv_samr_nt.c:smb_delete_user(3810) smb_delete_user: Running the command `/etc/samba/smbldap/smbldap-userdel -r 'test'' gave 6 [2005/09/15 10:19:43, 0] lib/smbldap.c:smbldap_open(882) smbldap_open: cannot access LDAP when not root.. The ldap server is setup to allow my uid full access to the database. Is it possible that the ldap record is deleted before the delete script is called? Using...
2009 Feb 16
1
samba trouble with Vista
...bin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null '%u' add user to group script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null -g '%g' '%u' add group script = /usr/sbin/groupadd '%g' delete user script = /usr/sbin/userdel '%u' delete user from group script = /usr/sbin/userdel '%u' '%g' delete group script = /usr/sbin/groupdel '%g' add machine script = /usr/sbin/useradd -d /dev/null -g sambamachines -c 'Samba Machine Account' -s /dev/null -M '%u' machine password ti...
2019 Feb 19
1
Migrating to Samba 4.9.4 AD, kinit administrator -> kinit: Cannot contact any KDC for realm...
...on drive = H:     add user script = /usr/sbin/useradd "%u" -n -g users     add group script = /usr/sbin/groupadd "%g"     add machine script = /usr/sbin/useradd -n -c "Workstation (%u)" -M -d /nohome -s /bin/false "%u"     delete user script = /usr/sbin/userdel "%u"     delete user from group script = /usr/sbin/userdel "%u" "%g"     delete group script = /usr/sbin/groupdel "%g"     local master = yes     os level = 255     preferred master = yes     wins support = yes #    name resolve order = wins lmhosts h...
2009 Mar 31
4
Samba and iptables - woes
...obey pam restrictions = Yes passdb backend = tdbsam pam password change = Yes log file = /var/log/samba/%m.log max log size = 50 load printers = No add user script = /usr/sbin/useradd "%u" -n -g users delete user script = /usr/sbin/userdel "%u" add group script = /usr/sbin/groupadd "%g" delete group script = /usr/sbin/groupdel "%g" delete user from group script = /usr/sbin/userdel "%u" "%g" add machine script = /usr/sbin/useradd -n -c "Workstation...
2015 Feb 11
3
samba pdc winbind
...r delete corresponding unix accounts > > add user script = /usr/sbin/useradd %u > > add group script = /usr/sbin/groupadd %g > > add machine script = /usr/sbin/useradd -N -g machines -c Machine -d /var/lib/samba -s /bin/false %u > > delete user script = /usr/sbin/userdel %u > > delete user from group script = /usr/sbin/deluser %u %g > > delete group script = /usr/sbin/groupdel %g > > > > > > #============================ Share Definitions ============================== > > [homes] > > comment = Home Directories &g...
2017 Oct 22
0
Accidentally removed sync system user
Hi, As the subject says, I accidentally removed the 'sync' system user. (If you want to know how I got to do that, I just experimented with hosting my own Firefox Sync server on a public CentOS 7 server.) When I removed the user, here's what I got: # userdel -r sync userdel?: l'emplacement de bo?te aux lettres de sync (/var/spool/mail/sync) n'a pas ?t? trouv? userdel?: /sbin n'appartient pas ? sync, non supprim? This was the exact moment I said: uh oh! I logged in to another server, and here it is indeed: # grep sync /etc/passwd sync:x:5...
2018 May 03
0
samba 4 joining samba 3 pdc - group mismatch
On Thu, 3 May 2018 14:59:18 -0300 "Ethy H. Brito via samba" <samba at lists.samba.org> wrote: > I run the pdbedit command. > I got a lage amount of users (and groups). > The admin of the S3 server deleted (userdel) 75 users and these are > still listed by pdbedit. How do I get rid os them?? > > I think you may be mistaken (or I did not fully understood your > affirmation). These "no such user" users were deleted from Linux with > "userdel -r" and are ghosts in Samba. >...
2005 Jan 27
2
LDAP and memberUid in Domain Users
...with memberrUid field. When I add new user to a domain, the memberUid field with the name of this users is added to Domain Users. But when I delete this user, the memberUid field with his name isn't removed from Domain Users. I think that is a small bug in samba, because, when I use smbldap-userdel from command line, the field is removed. Can anybody confirm or negate this information. For the first time I thought, that is a problem with access in LDAP, but I analysed openldap log, and didn't find any error. Configuring the server I used PDC-LDAP howto from Idealx.org On a request I ca...
2005 Oct 23
1
test platform - samba + ldap issue smbldap-useradd hangs
...fectly. When i try to add a user smbldap-useradd -m -a username it just sits there; hanging. I press cntrl + c and repeat the process - it says username exists. I can id username and it shows the user in the correct groups; however pdbedit -Lv username reports username cannot be found. smbldap-userdel username also hangs. smbpasswd username also reports username not to be found. getent passwd & getent group shows that ldap is working. ldapsearch -x -h 127.0.0.1 -b "dc=tinistuff,dc=com" -D "cn=Manager,dc=tinistuff,dc=com" -W - this returns the ldap database as expecte...
2018 May 03
0
samba 4 joining samba 3 pdc - group mismatch
...> > > On Thu, 3 May 2018 14:59:18 -0300 > > "Ethy H. Brito via samba" <samba at lists.samba.org> wrote: > > > > > I run the pdbedit command. > > > I got a lage amount of users (and groups). > > > The admin of the S3 server deleted (userdel) 75 users and these > > > are still listed by pdbedit. How do I get rid os them?? > > > > > > I think you may be mistaken (or I did not fully understood your > > > affirmation). These "no such user" users were deleted from Linux > > > with &qu...
2003 Aug 17
0
Fw: usrmgr samba 3 rc1 delete user script update
win 2000 serv pack 4 german gives the same failure rpc_server/srv_samr_nt.c:_samr_unknown_2d(4291) > _samr_unknown_2d: Not yet implemented. for delete user script = /usr/sbin/userdel -r %u all other stuff work like charme regards ----- Original Message ----- From: "rruegner" <robowarp@gmx.de> To: <samba@lists.samba.org> Sent: Sunday, August 17, 2003 1:05 PM Subject: [Samba] usrmgr samba 3 rc1 delete user script > Update > i finally got > add us...
2009 Dec 22
2
config backend = registry; printers not shown
...kerberos method = dedicated keytab syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 announce version = 5.9 time server = Yes add user script = /usr/sbin/smbldap-useradd -m '%u' delete user script = /usr/sbin/smbldap-userdel '%u' add group script = /usr/sbin/smbldap-groupadd '%g' delete group script = /usr/sbin/smbldap-userdel '%g' add user to group script = /usr/sbin/smbldap-groupmod -m '%u' '%g' delete user from group script = /usr/sbin/smbldap-g...