9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
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:
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
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
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
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
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
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
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
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