On Oct 29, 2006, at 11:15 AM, Ingo Schwarze wrote:
Leonardo Rodrigues wrote on Sun, Oct 29, 2006 at 01:45:15PM -0300:
Though, it seems a bit strange that OpenBSD lacks something like
that.
Look at it from a different perspective:
There are other operating systems out there featuring
On Mon, Oct 30, 2006 at 12:38:59AM -0500, Eric Furman wrote:
| On Sun, 29 Oct 2006 23:12:49 +0100 (CET), Otto Moerbeek
| [EMAIL PROTECTED] said:
| but as has been pointed out, it is trivial to write a script
| that would automatically go out and modify /etc/group
| on even a large number of
It was pointed out to me in private e-mail that I mistakenly assumed
telnet to be telnet and not ssh. I'm quoting parts of the private
e-mail I received to the list in the hopes of educating others on the
use of ssh.
On Mon, Oct 30, 2006 at 04:04:34PM -0500, Eric Furman wrote:
| On Mon, 30 Oct
On 2006/10/29 00:04, Leonardo Rodrigues wrote:
Actually, it wouldn't be practical to manually edit /etc/group. An
userdel-like command is needed in the smb.conf of the samba server
in order to graphically and easily manage users on the server by using
a Windows NT server tool.
Either write a
Nick Guenther wrote on Sat, Oct 28, 2006 at 11:21:40PM -0400:
On 10/28/06, Leonardo Rodrigues [EMAIL PROTECTED] wrote:
Actually, it wouldn't be practical to manually edit /etc/group.
[...]
Also, er, call me dumb, but after rereading usermod(8), I really see
no way to explicitly remove an user
Thanks everyone for the input. I guess I'll stick to a little script then =)
Though, it seems a bit strange that OpenBSD lacks something like that.
I thought it was a given.
--
An OpenBSD user... and that's all you need to know =)
Leonardo Rodrigues wrote on Sun, Oct 29, 2006 at 01:45:15PM -0300:
Though, it seems a bit strange that OpenBSD lacks something like that.
Look at it from a different perspective:
There are other operating systems out there featuring thousands of
lines of complicated scripts just to ensure that
On Sat, 28 Oct 2006, Philip Guenther wrote:
On 10/28/06, Leonardo Rodrigues [EMAIL PROTECTED] wrote:
Thanks, but usermod (with -G arg) seems to only let me add users to a
group or multiple groups, but not remove them . The man page, from
what I could understand, also says nothing about
On Sun, 29 Oct 2006, Otto Moerbeek wrote:
On Sat, 28 Oct 2006, Philip Guenther wrote:
On 10/28/06, Leonardo Rodrigues [EMAIL PROTECTED] wrote:
Thanks, but usermod (with -G arg) seems to only let me add users to a
group or multiple groups, but not remove them . The man page, from
Otto Moerbeek wrote:
No worries, usermod -G sets the secondary group list, like the
man pages says and like other systems do.
Oops, my memory and test were both wrong. Indeed, -G does not
delete membership.
This seems to produce a groups file with all old systemaccounts
removed.
~% cat
On Sun, 29 Oct 2006 19:15:56 +0100, Ingo Schwarze [EMAIL PROTECTED]
said:
Leonardo Rodrigues wrote on Sun, Oct 29, 2006 at 01:45:15PM -0300:
Though, it seems a bit strange that OpenBSD lacks something like that.
On first sight, an additional option remove from group to usermod(8)
might not
On Sun, 29 Oct 2006 19:15:56 +0100, Ingo Schwarze [EMAIL PROTECTED]
said:
On first sight, an additional option remove from group to usermod(8)
might not hurt much. As a second thought, how would you call it, -g
and -G are already occupied; yet it is important for learners to
have option names
On Sun, 29 Oct 2006, Eric Furman wrote:
On Sun, 29 Oct 2006 19:15:56 +0100, Ingo Schwarze [EMAIL PROTECTED]
said:
On first sight, an additional option remove from group to usermod(8)
might not hurt much. As a second thought, how would you call it, -g
and -G are already occupied; yet it
On 10/28/06, Leonardo Rodrigues [EMAIL PROTECTED] wrote:
Hello everyone,
So, I'm trying to set up a samba server, and looking into the
smb.conf, there's this command deluser that I can't find a similar
one on OpenBSD to replace it. I need a tool that is able to delete a
user from a group, by
On Sat, Oct 28, 2006 at 06:30:33PM -0300, Leonardo Rodrigues wrote:
Hello everyone,
So, I'm trying to set up a samba server, and looking into the
smb.conf, there's this command deluser that I can't find a similar
one on OpenBSD to replace it. I need a tool that is able to delete a
user from
The man page says rmuser only accepts an username as an argument...
Thanks, but usermod (with -G arg) seems to only let me add users to a
group or multiple groups, but not remove them . The man page, from
what I could understand, also says nothing about removing users =(
--
An OpenBSD user...
On Sat, Oct 28, 2006 at 07:29:41PM -0300, Leonardo Rodrigues wrote:
The man page says rmuser only accepts an username as an argument...
Thanks, but usermod (with -G arg) seems to only let me add users to a
group or multiple groups, but not remove them . The man page, from
what I could
Humm...
From the man page of userdel(8):
DESCRIPTION
The userdel utility removes a user from the system, optionally removing
that user's home directory and any subdirectories.
So, it won't remove an user from a group, but an user from the entire
system. No signs of removing from a
On 10/28/06, Leonardo Rodrigues [EMAIL PROTECTED] wrote:
Humm...
From the man page of userdel(8):
DESCRIPTION
The userdel utility removes a user from the system, optionally removing
that user's home directory and any subdirectories.
So, it won't remove an user from a group, but an
Just edit the group itself, see /etc/group. Also take a look at
usermod(8) again.
-Nick
First, thanks for the help everyone =)
Actually, it wouldn't be practical to manually edit /etc/group. An
userdel-like command is needed in the smb.conf of the samba server
in order to graphically and
On 10/28/06, Leonardo Rodrigues [EMAIL PROTECTED] wrote:
Just edit the group itself, see /etc/group. Also take a look at
usermod(8) again.
-Nick
First, thanks for the help everyone =)
Actually, it wouldn't be practical to manually edit /etc/group. An
userdel-like command is needed in the
On 10/28/06, Leonardo Rodrigues [EMAIL PROTECTED] wrote:
Thanks, but usermod (with -G arg) seems to only let me add users to a
group or multiple groups, but not remove them . The man page, from
what I could understand, also says nothing about removing users =(
I would call this a bug in
Philip Guenther wrote:
I would call this a bug in usermod: when run with the -G option it
should set the user's secondary group list to include exactly the
indicated groups. That's how usermod operates under Solaris and Linux
What's more, I've seen *NIXes that had a -R option to groupmod
23 matches
Mail list logo