struggling with addusr ...

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers struggling with addusr ...
# 1  
Old 01-22-2002
Data struggling with addusr ...

I'm completely new to UNIX, and having got the hang of directory navigation / creation (Just about), I think it is time to create an FTP account, so that I can upload a web site remotely.

Herein lies the problem...

1: I cannot find a breakdown of addusr commands, so I cannot create a user/passwd.

2: I keep coming accross addusr in relation to 'Domains', which I assume (probably incorrectly) are vDirectories (aliases).
Is this the case, and if so, do I need to map the addusr to a specific Domain (Again, I assume yes, for the sake of security).

I am so tied into MS/NT that, I confess, I am a little flooded.
Such a steep learning curve!

Hope someone can help.
(And possibly ellaborate...) Smilie

p.s. OS is Solaris (SunOS 5.6)
# 2  
Old 01-22-2002
To add a user you must:
  • Create a home directory for the user. (i.e. /home/new_user_fred)
  • Select a valid login shell for the user.
  • Add the appropriate login shell 'dot file' entries to the user home directory.
  • Add a new entry to the /etc/passwd file using a unique user ID and group ID. (non-shadow)
  • Put home directory and login shell in password file entry (like other examples in the file!).

That is the basic thing you do....... many of us add users by hand and do not use 'adduser' utilities or graphics.

Recommend you make a backup copy of the original password file before editing by hand..... until you become expert (and even then, experts should have backups!!)
# 3  
Old 01-22-2002
Thanks. Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Parsing file: struggling against sed command

Hello fellows, Sure you can help this poor guy that is struggling against sed command, being unable to tame it I have a lot of files like this: From this one, I need to obtain values highlighted in bold/red To do so, I am executing this piece of code inside a loop: ... (10 Replies)
Discussion started by: manolain
10 Replies

2. UNIX for Dummies Questions & Answers

Struggling to combine two Greps statements

Greetings! I have been tasked to create a report off files we receive from our hardware suppliers. I need to grep these files for two fields 'Test_Version' and 'Model-Manufacturer' ; for each field, I need to capture their corresponding values. When running each statement separately, I get... (4 Replies)
Discussion started by: alan
4 Replies

3. Shell Programming and Scripting

Struggling with AWK

I know this is an easy problem, but I've been struggling with it all morning and finally admit I need help. I have two files that I need to compare. After doing this the easy way (grep -F) I realize that there are other fields in file2 that match field1 in file1, so I turned to awk. I want to... (7 Replies)
Discussion started by: moldoverb
7 Replies

4. Shell Programming and Scripting

Struggling with arrays and delimited file

Hi, I am trying to use arrays in my script but can not seem to get it to work. I have a file called sections, this contains headers from a tripwire log file, separated by "@" but could be "," if easier The headers will be used to cut sections from the log file into another to be mailed. ... (5 Replies)
Discussion started by: pobman
5 Replies

5. Shell Programming and Scripting

struggling within awk

!#/bin/bash cat | awk ' { cur1=tolower($1) cur2=tolower($2) rsh $cur1 report | grep $cur2 # i just want to make the code line to work } ' the error which i get is .... ./ line 1: !#/bin/bash: No such file or directory awk: cmd. line:13: rsh $cur1 report |... (4 Replies)
Discussion started by: geeko
4 Replies

6. UNIX for Advanced & Expert Users

Help- Unix File Compare- Struggling

I had posted this earlier about 3 weeks ago and had recieved a response and I did sort both the files and the comm command is still not working. Can someone please assist me, I would really appreciate it. Below is what I am trying to do I need to compare File A with File B and create FILE C... (2 Replies)
Discussion started by: guiguy
2 Replies

7. Shell Programming and Scripting

Struggling with a text file

Hi, I am struggling with the following... I try to grep out information of a text file I got with lynx, a text browser. The text file I get from lynx with dump is attached in the bottom. What I would like to get is another file containing the astro-ph/98324 (number) and title and list of... (13 Replies)
Discussion started by: pau
13 Replies

8. UNIX for Dummies Questions & Answers

Struggling with mkfifo

Gurus, I did my research (on google, this site and my local library) but I am *still* lost. I am trying to teach myself about `named pipes` playing around with MKFIFO (Why not?). (1) It seems MKNOD is reserved to ROOT whereas MKFIFO is accessible to all users. Am I correct? If the answer is... (20 Replies)
Discussion started by: alan
20 Replies
Login or Register to Ask a Question