add user script while looking for directory


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting add user script while looking for directory
# 1  
Old 03-17-2011
add user script while looking for directory

sorry didnt see that thread at first

thanks

Last edited by pbhound; 03-17-2011 at 05:40 PM..
# 2  
Old 03-17-2011
We have a homework forum and this isn't it. Please post in the homework forum following the homework forum rules.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Linux sftp — how to add new user to access exist directory with write permission?

I have built a website and I can access and edit the website'files on server via the root user. The current file and directory structures are not changeable. Now I am hiring a webpage designer to help me re-design some pages, I am going to let the designer edit the files directly on the server. So... (5 Replies)
Discussion started by: uwo-g-xw
5 Replies

2. UNIX for Beginners Questions & Answers

Sample shell script to add a user

Sample shell script to add a user: Today i learn how to add a user to linux server with a password. #!/bin/bash # Script to add a user to Linux system if ; then read -p "Enter username : " username read -s -p "Enter password : " password egrep "^$username" /etc/passwd >/dev/null if ;... (0 Replies)
Discussion started by: ulaxmi
0 Replies

3. Solaris

SunOS confusing root directory and user home directory

Hello, I've just started using a Solaris machine with SunOS 5.10. After the machine is turned on, I open a Console window and at the prompt, if I execute a pwd command, it tells me I'm at my home directory (someone configured "myuser" as default user after init). ... (2 Replies)
Discussion started by: egyassun
2 Replies

4. Homework & Coursework Questions

Create script to add user and create directory

first off let me introduce myself. My name is Eric and I am new to linux, I am taking an advanced linux administration class and we are tasked with creating a script to add new users that anyone can run, has to check for the existence of a directory. if the directory does not exist then it has... (12 Replies)
Discussion started by: pbhound
12 Replies

5. Solaris

add a ftp user with read and write permissions on a directory

hi all how I can create an ftp user in solaris 10 and have read and write permission on a directory. Thanks. (1 Reply)
Discussion started by: luisfja
1 Replies

6. Shell Programming and Scripting

Bash - Add User script

Hey folks! I'm trying to work on a script that will add a user to the system. I have the complete script, but it's not working for me, and I'm not sure what to do. line 53: syntax error near unexpected token `0' ******************************************************** #!/bin/bash # # ... (4 Replies)
Discussion started by: niels.intl
4 Replies

7. Solaris

need script for locked and unused user accounts in /export/home directory

Hi all, i have to need one script: 1. it will capture the unused user accounts in /export/home directory. 2. it will capture the locked user accounts in /export/home directory. Note: locked accounts will show in /etc/passwd like /bin/false --> (instead of ksh it will show false) the... (1 Reply)
Discussion started by: krishna176
1 Replies

8. Shell Programming and Scripting

How to add new user and password through script

Hi Everybody I want to write a script in solaris that will add user and set his password. How I will do that. Moreover, if anybody knows where can i find documentation, material and downloads for sample scripts in solaris then please tell me. Thanx Ehsan (1 Reply)
Discussion started by: ehsan
1 Replies

9. UNIX for Advanced & Expert Users

add user, directory, etc. via cgi

Hello All (yes I mean you): I'm a self taught programmer, so please bear with me and my ignorance. What I Am Trying To Do: I am attempting to create a user (and all the accompanying attributes like a home directory, entry in the passwd file, disk quota allotment and skel selection for a... (1 Reply)
Discussion started by: gfoxjr
1 Replies
Login or Register to Ask a Question