Add users on OSX server with SSH


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Add users on OSX server with SSH
# 1  
Old 01-23-2002
Question Add users on OSX server with SSH

Hi

Is it possible to add users on a Mac OSX server from a unix system with ssh?
If it is what file to alter?

brg Nicke
# 2  
Old 02-11-2002
netinfo(5)
niutil(1)

Adding users via the shell isn't as easy as say 'useradd username'. If this is something you think you might be doing often, you might want to script it. Note: editing /etc/passwd does not work, though you can use flat files and niload(8)/nidump(8).

cejoe
# 3  
Old 02-12-2002
Hey, it's cool to have someone who knows OSX, since a lot of new users are being introduced to Unix via their Mac.

Hope you stick around!
# 4  
Old 02-14-2002
Yes. I think I recall having seen some of those scripts floating around. It's certainly not as simple as 'useradd'.

Check out softrak at http://www.stepwise.com


dani++
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Ssh fails for one of two users on the same server.

I have two users on dest_host server viz wlsadm & wasadm. From src_host server with root user I m able to passwordless login to wlsadm@dest_host however, the same fails for wasadm@dest_host Below is the debug for both first the working ssh and then the non-working ssh. Works: ... (6 Replies)
Discussion started by: mohtashims
6 Replies

2. UNIX for Dummies Questions & Answers

Solaris 11.2 / OSX 10.9.5 SSH issue

I could use a fresh pair of eyes to look at this, because it has me baffled. I am attempting to setup pasword-less ssh keys (rsa) between 2 systems. As the user (admin on both systems), I have generated the keys on both the Solaris 11 and the OSX systems and using the cat command, I have copied the... (3 Replies)
Discussion started by: SmokeyJoe
3 Replies

3. Shell Programming and Scripting

Script to add new users to a group on multiple servers using SSH

Hi Experts, I am new to scripting. We have around 400 Linux servers in our environment. I want to add a new user to a perticular group on all the servers using SSH. Requirements: 1) Need to take the server names from a text file. 2) Login into each server and check whether perticular... (1 Reply)
Discussion started by: Satya1983
1 Replies

4. Red Hat

How to add a new users in proftpd server?

Hi, I have installed proftpd server in my amazon instance and how to enable a new user to access the proftpd. 1. How to add or delete a users 2. how to enable a particular user to access particular folder Regards Paulwintech (5 Replies)
Discussion started by: Paulwintech
5 Replies

5. OS X (Apple)

Help: Add email users in OSX terminal

Please forgive me if this is the wrong place to post. I am a VERY basic user here and have been tasked with adding a user to our email system -- we use a squirrelmail interface and I have root passwords etc. I tried logging in through a browser but get this error: ERROR: Connection... (1 Reply)
Discussion started by: dperro01
1 Replies

6. UNIX for Dummies Questions & Answers

Help: Add email users in OSX terminal

Please forgive me if this is the wrong place to post. I am a VERY basic user here and have been tasked with adding a user to our email system -- we use a squirrelmail interface and I have root passwords etc. I tried logging in through a browser but get this error: ERROR: Connection dropped... (1 Reply)
Discussion started by: dperro01
1 Replies

7. Shell Programming and Scripting

Using ssh to add register key on ssh server

Hi, I want to use ssh to add a register key on remote ssh server. Since there are space characters in my register key string, it always failed. If there is no space characters in the string, it worked fine. The following is what I have tried. It seems that "ssh" command doesn't care about double... (9 Replies)
Discussion started by: leaftree
9 Replies

8. IP Networking

Postfix op OSX server

Hoi. :cool: Ik zit met een "simpel" probleem. Echter lukt het me niet de juiste oplossing te vinden. Graag jullie hulp. :b: Ik heb een OSX server origineel draaien. Mailserver is van postfix. DNS records wijzen goed. :D Mailserver bevind zich "achter" router (Wireless extreme) die weer... (1 Reply)
Discussion started by: Martyin
1 Replies

9. OS X (Apple)

MAC OSX and UNIX server based software

I am a MAC user evaluating electronic medical record software. I found a package which is UNIX server based. Can anyone tell me if MAC OS X can be used in this situation. The software is nexgen (www.nexgen.com). How UNIX "compatible" is MAC OS X? I apologize for my very limited UNIX... (7 Replies)
Discussion started by: kaye32608
7 Replies

10. Cybersecurity

ssh and Mac OSX

Please help if you are familiar with Mac OSX. I downloaded OpenSSH for a newer version of SSH than what comes with OS 10.1. What a mistake! Now every time I try to make a connection to my remote server I get an message that ssh was built against version such and such and I have version such and... (2 Replies)
Discussion started by: glfisfn
2 Replies
Login or Register to Ask a Question

Featured Tech Videos