Search Results

Search: Posts Made By: linuxn00b
Forum: Red Hat 06-08-2012
4,069
Posted By linuxn00b
After removing the setuid for user and group it...
After removing the setuid for user and group it still works fine with sudo. So that is probably my best option to keep things secure.
Forum: Red Hat 06-08-2012
4,069
Posted By linuxn00b
For now in my testing I took the advice of...
For now in my testing I took the advice of setting up sudo and I also had to apply the SUID on lppasswd for the user and the group to get it to work correctly. I appreciate all the help Corona.
...
Forum: Red Hat 06-08-2012
8,954
Posted By linuxn00b
I would think if that file is 15GB that you are...
I would think if that file is 15GB that you are going to need a lot longer sleep time before the rm -f is ran.
Forum: Red Hat 06-08-2012
4,069
Posted By linuxn00b
The cupsd.conf portion in relation to the cups...
The cupsd.conf portion in relation to the cups digest password file is below. Although, I am not sure how this would affect how the ownership is being changed and how the file is being overwritten. ...
Forum: Red Hat 06-08-2012
4,069
Posted By linuxn00b
I meant -g no -s. Sorry to many things going on...
I meant -g no -s. Sorry to many things going on here. Syntax: lppasswd -a -g support user1. Yes, my issue is when I add users with user2, user1's users are removed from the passwd.md5 file.
Forum: Red Hat 06-08-2012
4,069
Posted By linuxn00b
This is the syntax I use: /usr/bin/lppasswd...
This is the syntax I use:

/usr/bin/lppasswd -a -g support user1

That is correct?
Forum: Red Hat 06-08-2012
4,069
Posted By linuxn00b
I am using the following command to create users...
I am using the following command to create users as part of the support group I created and am using in my cupsd.conf file. Everything works on the webgui the way I want so I am confident that is...
Forum: Red Hat 06-08-2012
4,069
Posted By linuxn00b
CUPS + passwd.md5 issue
I posted the below question on the CUPS forums yesterday and have still not been able to find a good answer of why or if I can keep this from happening.

I have been looking for a while now and...
1,133
Posted By linuxn00b
I appreciate the thought. But I am not familiar...
I appreciate the thought. But I am not familiar with perl and would really rather see some ideas for shell scripting. Thanks. Anyone else have thoughts?
1,133
Posted By linuxn00b
Moving files and changing name
So I am trying to get my juices flowing on another korn shell scripting project I need to do. I hope my examples here will allow someone to get me pointed in the right direction. I hope I am clear...
1,562
Posted By linuxn00b
Thanks for your help Corona. I have a tendency...
Thanks for your help Corona. I have a tendency to make things harder then they need to be. I did not know about the "$#" that is very useful. Thanks again for your help. :o
1,562
Posted By linuxn00b
Problem with cat
Hey all this is probably something simple but not sure why I am getting this error. Any help is appreciated.

Expected output:

$ ./ex_01.ksh word1 word2 word3 word4
arguments: word1 word2...
2,819
Posted By linuxn00b
I have seen these tutorials. What I am looking...
I have seen these tutorials. What I am looking for is more like when a teacher gives an assignment in a class to write a script and then go do it. Is there anything that you know of that is out...
2,819
Posted By linuxn00b
practice scripting
Is there any sites out there that have examples of things they want you to go and script for practice? I have looked around but have came up empty handed. I have been writing scripts for things I...
1,340
Posted By linuxn00b
make your code look like the following and it...
make your code look like the following and it will work for you. You need to put "" around the the second "$a"_bkp. You might also want to do a cp -p to preserve ownership, permissions, etc.
...
4,723
Posted By linuxn00b
still having problems
so I have a few ideas in place here from some stuff I have came across on this forum and online. But I am missing something in each of these scripts. Ideas welcome please. What am I missing here???...
4,723
Posted By linuxn00b
@anchal_khare thanks for idea. I will mess...
@anchal_khare thanks for idea. I will mess around a bit and modify what I have in my script and see if I have anymore questions.

---------- Post updated at 06:17 PM ---------- Previous update was...
4,723
Posted By linuxn00b
Korn shell script to sync/move files that are not in use
Hello all. This may seem like a dumb/easy question but right now I have a little script I made that uses rsync to sync a directory that has files in it that may or may not be complete files. I want...
Showing results 1 to 18 of 18

 
All times are GMT -4. The time now is 08:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy