#!/bin/sh -
or
#!/bin/ksh -
But are there any places in the man page i can find this?
something about it, maybe, at ~26% in man sh(in the section: Search
and Execution).
regards cognacc
On Sun, Nov 18, 2007 at 06:52:16PM +0100, Mic J wrote:
#!/bin/sh -
or
#!/bin/ksh -
But are there any places in the man page i can find this?
something about it, maybe, at ~26% in man sh(in the section: Search
and Execution).
Or execve(2).
-Otto
On Nov 16, 2007 2:14 AM, Darrin Chandler [EMAIL PROTECTED] wrote:
On Thu, Nov 15, 2007 at 09:23:45PM +0100, Andreas Andersson wrote:
-BEGIN PGP MESSAGE-
Charset: ISO-8859-1
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
On Thu, Nov 15, 2007 at 11:47:09AM -0500, Piet Slaghekke wrote:
Hello everyone,
Hello,
How can I remove a list of users in OpenBSD.
Something like that, or with the -r option :
while read uid; do userdel $uid; done userlist.txt
--
Serge
Hello everyone,
I am breaking my head over this one.
I have list of users userlist.txt
and I want to remove their accounts. OpenBSD does not seem to have the
rmuser -f -y function were you can I remove a list of users without having
to answer yes multiple times.
How can I remove a list of
Ok thanks now it works!
so If I want to remove the user account and all the user files on the system
I use userdel -r
Can I also use the rmuser command for this?
How do I write a script to do this and run it from a csh shell, in other
words what line do I need in the script to tell the system
On Nov 15, 2007 7:06 PM, Piet Slaghekke [EMAIL PROTECTED] wrote:
while: Expression Syntax.
are you using ksh shell?
if not:
# ksh
# while read uid; do userdel $uid; done userlist.txt
--
Cris, member of G.U.F.I
Italian FreeBSD User Group
http://www.gufi.org/
Thanks Serge,
When I do: while read uid; do userdel $uid; done userlist.txt
I get:
while: Expression Syntax.
On Nov 15, 2007 11:59 AM, Serge Basterot [EMAIL PROTECTED] wrote:
On Thu, Nov 15, 2007 at 11:47:09AM -0500, Piet Slaghekke wrote:
Hello everyone,
Hello,
How can I remove a list
On Thu, Nov 15, 2007 at 01:06:57PM -0500, Piet Slaghekke wrote:
Thanks Serge,
When I do: while read uid; do userdel $uid; done userlist.txt
I get:
while: Expression Syntax.
The foregoing command was written in Bourne shell syntax. The
error message you report suggests that you are using
On Thu, Nov 15, 2007 at 09:23:45PM +0100, Andreas Andersson wrote:
-BEGIN PGP MESSAGE-
Charset: ISO-8859-1
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
hQIOA3JHLODoc6ABEAf/QtOL5xonPKEmfNLk5P5Th+BOAceBZJ1VsTcjk2t5BA7y
On Thu, Nov 15, 2007 at 01:57:50PM -0500, Piet Slaghekke wrote:
| Ok thanks now it works!
| so If I want to remove the user account and all the user files on the system
| I use userdel -r
|
| Can I also use the rmuser command for this?
|
| How do I write a script to do this and run it from a
-BEGIN PGP MESSAGE-
Charset: ISO-8859-1
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
hQIOA3JHLODoc6ABEAf/QtOL5xonPKEmfNLk5P5Th+BOAceBZJ1VsTcjk2t5BA7y
lJic+p5m+/2Ej7BlX8Fwxsa0U+9KxAMf2ifkE3XBPVp2Zi2Ulp8Ja1UAE/ft0+0w
12 matches
Mail list logo