Displaying 5 results from an estimated 5 matches for "usershell".
2012 Aug 07
3
SMB+LDAP
...00242316
AppleMetaNodeLocation: /LDAPv3/ldap-99.soe.csux.edu
AppleMetaRecordName: uid=dsixpack,ou=People,dc=crm,dc=csux,dc=edu
NFSHomeDirectory: /Users/dsixpack
Password: ********
PrimaryGroupID: 100002
RealName:
David Sixpack
RecordName: dsixpack
RecordType: dsRecTypeStandard:Users
UniqueID: 9239
UserShell: /bin/bash
2) Regarding the "sudo smbpasswd -w secret" step, does this smb user
need to exist in our LDAP or that local to the machine running the SMB
daemon? I wasn't clear on how this step in the process is supposed to
work.
3) Is the "ldap admin dn =" also required?
No...
2000 Oct 24
2
feature request & patch submit: chroot(2) in sshd
Hello,
whereas most people take passwd/shadow/ldap/<whatever> as the place where
decision on a chrooted environment / sandbox for certain users is met (just
set the given usershell appropriateley), I needed a somewhat different
approach. Below is a tiny patch to 2.2.0p1 which enhances the sshd-config
by two options and, when set, places all users / users of a certain group
immediately in their sandbox. Makes configuration and logging/tracking
much more fun than the usershell...
2014 Jun 06
0
[Bug 10649] New: --acls does not honor --numeric-ids on OS X
...39;m only referencing it in case it may
provide some ideas for implementing a new patch.
Tested on 3.0.9 and 3.1.1pre1
##### How to reproduce the problem (script is also attached)
#!/bin/bash
# create a test user that will be deleted
dscl . -create /Users/_bb_test
dscl . -create /Users/_bb_test UserShell /bin/bash
dscl . -create /Users/_bb_test RealName "Backup Test User"
dscl . -create /Users/_bb_test UniqueID 599
dscl . -create /Users/_bb_test PrimaryGroupID 99
dscl . -create /Users/_bb_test NFSHomeDirectory /Users/_bb_test
# create a test group that will be deleted
dseditgroup -o crea...
2004 Sep 21
2
Corrupted userid in mail folders - Crisis
...received other people's mail. So I ran the following script to reset all
the folders:
#!/bin/bash
export IFS=:
echo "Auto-creating home directories for windows domain users"
getent passwd|grep ":10[0-9][0-9][0-9]"|while read USER FLAG USERUID USERGID
USER_LONG USERHOME USERSHELL; do
if [ -e $USERHOME ]; then
echo "Setting ownership of existing $USERHOME"
chown -R $USERUID.$USERGID $USERHOME
else
echo "Creating $USERHOME for $USER with $USERUID/$USERGID"
mkdir $USERHOME;...
2005 Oct 18
1
smbd processes 99% cpu and end-user locks up
...,dc=wmptl,dc=net
objectClass: posixAccount
objectClass: shadowAccount
objectClass: inetOrgPerson
objectClass: sambaSamAccount
cn: dristovs
uid: dristovs
uidNumber: 1039
gidNumber: 570
homeDirectory: /server/users/dristovs
givenName: Drage
sn: Ristovski
shadowExpire: 22279
loginShell: /usr/local/bin/usershell
gecos: Drage Ristovski
description: Drage Ristovski
shadowLastChange: 12755
userPassword:: e0NSWVBUfXprdXVuSmZLMEtYS3c=
sambaNTPassword: D4B0C8B97E5EE236B8B15720A0EDE30E
sambaLMPassword: B74D2C919D0D1441AAD3B435B51404EE
sambaPwdLastSet: 1102110964
sambaSID: S-1-5-21-2818898263-1345796712-1011627658...