10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am having problems because some of my files have timestamps that are earlier that 1.1.1970, the Unix start of time convention.
So I would like to write a script that finds all files in home folder and subfolders with timestamps earlier than 1.1.1970 and converts them to 1.1.1980.
I... (3 Replies)
Discussion started by: francus
3 Replies
2. Shell Programming and Scripting
Hi,
I have the following 3 test files to test setuid bit which if it works I would like to implement in our application. However setuid doesnot seem to be having any impact on my test below.Following are the 3 files of interest in /tmp/ folder.
$ ls -ltr *env*
-rw------- 1 g332008 users 6... (23 Replies)
Discussion started by: waavman
23 Replies
3. Shell Programming and Scripting
I wonder whether someone can help me with what I'm trying to achieve
Basically, the objective is one script to create new user on more than 70 linux hosts if required.
Everything works apart from the highlighted part. It gave me an output
passwd: Unknown user name ''. when try to set... (35 Replies)
Discussion started by: fugeulu
35 Replies
4. UNIX for Dummies Questions & Answers
Hi!
I want to test something to learn Shell scripting better.
1)
How can I make a BackUp from all users and groups homedirectory?
I want to save that backup in an archiv.
Can I choose how to name the backUp archiv?
2)
Ok I want to make a file like csv, in this file are listed Users.... (3 Replies)
Discussion started by: CommanderLinux
3 Replies
5. Shell Programming and Scripting
Hi Team,
I want to write a script which will take a backup of my home directory. But will only backup the changes made in files not whole home directory. I want to upload that on server. I don't have any idea. please help me. (3 Replies)
Discussion started by: paragnehete
3 Replies
6. Shell Programming and Scripting
The pro help!
Write a shell script setup for linux security policies include:
1. login (username and password login).
2. add, delete your username and password.
3. firewall.
Note: Write a shell script file as follows:
If login successful then
Step 2.
If step 2 succeeds (ie add,... (1 Reply)
Discussion started by: ngovuongbinhtay
1 Replies
7. UNIX for Dummies Questions & Answers
Hello everyone,
I have a radio wireless called UBNT Nanostation5
It has this linux OS:Linux version 2.4.27-ubnt0
When i want to write a script in ssh, i get some errors
The script is:
ifconfig eth0 down
ifconfig eth0 hw ether 00:15:6D:**:**:**
ifconfig eth0 up
cfg -x
echo... (1 Reply)
Discussion started by: cygol
1 Replies
8. Solaris
I know that how to backup the home directories in sun sparc server.
Firstly, umount the filesystem,
Secondly, fsck the filesystem,
Thirdly, ufsdump the filesystem.
Anybody know how to type the full command line backup the /home directory? (1 Reply)
Discussion started by: kingsan
1 Replies
9. Solaris
Can anybody know that how to automate backup the /home directory using the own shell script especially crontab job.
How to script the code in starting process of the sun sparc server in /etc/init.d/
Thank's a lot. (1 Reply)
Discussion started by: kingsan
1 Replies
10. UNIX for Dummies Questions & Answers
What's up,guys? Here is my latest situation. We have a Sun 5.8 box at the job, and when it comes to making new users, it does not cooperate with anyone.
The reason for that is because the /home directory will not allow itself to be written to. I have tried "chmod 777 /home", and I have... (1 Reply)
Discussion started by: Jody
1 Replies