Sponsored Content
Top Forums Shell Programming and Scripting How to automate adduser on FreeBSD? Post 302505378 by siegfried on Wednesday 16th of March 2011 08:14:39 PM
Old 03-16-2011
I'm not sure. Let's try "batch on my tty" and see if they complain. Thanks!
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

question related to command "adduser"

Hello.. I dont know if i can ask this question in this session..if wrong please correct me.. This is my question.. When iam creating a user with command " adduser xxx" Where are the changes happening.. I know in /etc/passwd , /etc/shadow... in /home Is there any i missed.. please... (1 Reply)
Discussion started by: esham
1 Replies

2. Programming

adduser

Hi, Let me know any urls where i can get the source code for "adduser" program.. Please help.. esham (1 Reply)
Discussion started by: esham
1 Replies

3. Programming

Application crashes in FreeBSD 7.1 while working ok in FreeBSD 6.3

Hello there, My mulithreaded application (which is too large to represent the source code here) is crashing after installing FreeBSD 7.1-RELEASE/amd64. It worked properly on others machines (Dual Cores with 4GB of RAM - FreeBSD 6.2-RELEASE/i386). The current machine has 2x Core 2 Duo... (1 Reply)
Discussion started by: Seenquev
1 Replies

4. Shell Programming and Scripting

shell script for nessus-adduser

I took a stab at writing a script to automate the interactive process of adding users to Nessus - I have zero previous coding experience. So far, it doesn't get me anywhere. I took small sections of code from posts I found on this site and others:... (1 Reply)
Discussion started by: nolamiami
1 Replies

5. Shell Programming and Scripting

exec a build command (adduser) in a script

Hi, With a awk script i create a "adduser line" $ cat /tmp/tmp.ldif | awk -f ldif2adduser.awk adduser --uid 1002 --gid 1000 --gecos "ROUSSIN Guy" --home /homeL/guy --shell /bin/bash --disabled-password guy If i cut and paste this line, all is fine. But in a shell script i get errors : ... (2 Replies)
Discussion started by: guyr
2 Replies

6. SuSE

automate ispell

Hello!! Is posible to automate ispell?? I have a lot of misspelled text and I want to launch a script that runs ispell choosing for example the first option, all that automatically. Is possible?? Thanks :) (4 Replies)
Discussion started by: elblo
4 Replies

7. Red Hat

Adduser -> Access denied

hi, I have a problem with any user i created on a linux server RH. With the user root i did: adduser toto passwd toto (to give it a password - message : "all authentication tokens updated successfully") I can do a "su - toto", but when I try to connect it directly by ssh i have the message... (3 Replies)
Discussion started by: Castelior
3 Replies

8. Solaris

Solaris 10 adduser

Brain teaser, I was given the task below. I believe the consultant runs software on his laptop that probes our QA tier web servers for xxx The two web servers are xxx I attempt useradd command on XXX which seems to work, but when I attempt to assign a pwd, the OS denies it and says user... (1 Reply)
Discussion started by: yellow_mustard
1 Replies

9. UNIX for Dummies Questions & Answers

Adduser or useradd

I am just wondering why there are two similar commands for creating a user. Could you please point me when I should choose adduser and when useradd? This puzzles me a little. Thanks, Panos (6 Replies)
Discussion started by: Zeldforged
6 Replies

10. UNIX for Advanced & Expert Users

Adduser

hi, when i want to "adduser newuser" i receved this warning : event type "audit_buf" is a fixed event and may not be manipulated help me please (2 Replies)
Discussion started by: rezasadeghi
2 Replies
KISSATTACH(8)						   Linux System Managers Manual 					     KISSATTACH(8)

NAME
kissattach, spattach - Attach a KISS or 6PACK interface SYNOPSIS
kissattach [-b] [-6] [-l] [-m mtu] [-v] tty port [inetaddr] spattach [-b] [-l] [-m mtu] [-v] tty port [inetaddr] DESCRIPTION
Attach a KISS or a 6PACK interface to what is normally a tty line connected to a TNC in KISS or 6PACK mode. This program will turn itself into a background process. To down an interface send its attach process a SIGTERM. Kissattach takes many of the parameters for the port from the axports(5) file. If the speed parameter in the file is not equal to zero then it is used for the serial port speed, a zero value means that no speed is set. The paclen parameter is used for the device mtu unless over- ridden by a value on the command line. The tty argument will typically be that of a serial port with a KISS or 6PACK TNC attached, although it could be a pseudo tty or a KISS port emulator such as an SCC card. Kissattach supports BSD-style pseudo-terminals as well as the Unix98 pty's. If the tty argument is "/dev/ptmx", then Unix98 behaviour will automaticaly take effekt. With Unix98 pty's, the slave tty name could not be forseen. That's why kissattach will print the corresponding slave pty name as a separate line on stdout. The port argument is the name of a port as given in the axports(5) file. The optional inetaddr argument is the IP address of the new interface. Some time it was mandatory argument (although due to historical rea- sons this restriction is lifted if the old -i option is used). But there's really not a need for the interface to have an IP address assigned to. OPTIONS
-6 Use the 6PACK line discipline instead of KISS. This is the default if the program is called as spattach. -i inetaddr Set the internet address of the interface. This address may either be a dotted decimal address or a host name. This option is now depreciated and the program will complain about it, though still work. -l Log messages to the system log, the default is not to. -b Allow broadcasts on the interface (default no - because for e.g. samba broadcasts are a pain..) -m mtu Sets the mtu of the interface. If this value is not given then the value is taken from the paclen parameter in axports. -v Display the version. SEE ALSO
kill(1), stty(1), ax25(4), axparms(4), axports(5), ifconfig(8). AUTHOR
Alan Cox GW4PTS <alan@cymru.net> Jonathan Naylor G4KLX <g4klx@g4klx.demon.co.uk> Linux 4 July 1999 KISSATTACH(8)
All times are GMT -4. The time now is 08:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy