Displaying 3 results from an estimated 3 matches for "delgroup".
2000 Jan 30
0
"attack" (manage) NT domain using the linux tools?
...ist SAMBA-NTDOM" <samba-ntdom@samba.org>
Sent: Saturday, January 29, 2000 7:08 PM
Subject: Re: "attack" (manage) NT domain using the linux tools?
> yep! rpcclient. there's a man page, even. createuser, setuserinfo user
> -p newuserpassword, creategroup addgroup, delgroup creategroupmem etc etc
> it's about 98% all there.
>
> On Sat, 29 Jan 2000, Gregory Leblanc wrote:
>
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Say, with all this cool stuff you've been doing lately, can I use
> > some command lin...
2013 Sep 15
1
group share directory
...is a Bourne shell script that implements a partial solution:
#!/bin/sh
set -o nounset
set -o errexit
DIR=/mnt/z/data/GroupShare
USERNAME=groupshare
if `grep -q $USERNAME /etc/passwd`; then deluser --system $USERNAME; fi
if `grep -q $USERNAME /etc/group`; then delgroup --system $USERNAME; fi
if [ -d $DIR ]; then rm -rf $DIR; fi
adduser --system --group --no-create-home $USERNAME
mkdir $DIR
chown $USERNAME:$USERNAME $DIR
chmod 0777 $DIR
chmod g+s $DIR
setfacl -m d:u::rwx,d:g::rwx,d:o::rwx,d:m:rwx $DIR
Running the script gives...
2013 Aug 12
0
Classic Upgrade: Unable to enumerate group memberships
...assword --gecos
"" %u
delete user script = /usr/sbin/deluser --quiet %u
add machine script = /usr/sbin/useradd -g machines -c "%u machine
account" -d /var/lib/samba -s /bin/false %u
add group script = /usr/sbin/addgroup --force-badname %g
delete group script = /usr/sbin/delgroup %g
add user to group script = /usr/sbin/groupmod -A %u %g
delete user from group script = /usr/sbin/groupmod -D %u %g
set primary group script = /usr/sbin/usermod -g %g %u
client ntlmv2 auth = yes
############ Misc ############
usershare allow guests = yes
#======================= Sha...