User Profile
Collapse
-
Something like GIMP ? -
Partitioning with sfdisk
Hello-
I am attempting to modify an install script, and I'm not having much luck - I was hoping someone could help with my sfdisk notation.
Currently, the install script uses
sfdisk -uM /dev/sda << EOF
,2048,,*
,2048,82
,,
EOF
And I'm attempting to add a few more partitions in there by using:
sfdisk -uM /dev/sda << EOF
,2048,,*... -
Ah, thank you very much! I also removed both of the `` around the cat $file... lines to get it to run (and the ='s are in search strings, that's how the file is set up so I left those in) and it's working now.
Thanks again
~SnakeLeave a comment:
-
Shell Script to List Node Definitions
Hello everyone-
I am working on a shell script to parse out a Node.def file that contains the hostname, version, IP address, and date updated. There is a separate .def file for each node (of which there are several hundred), and each node is in a separate directory.
I am attempting to extract the node name and IP address from each .def file and compile these into a single file, but I'm getting an error, no matter what... -
Another fun one is when you are attempting to send a screenshot to someone, and don't want to send the whole desktop, you can capture the specific window by using Alt+Print Screen. That will capture only the window in focus, and useful when sending only an error message
@Ali - I did not say 'Ctrl + d' I said 'Windows key + d' . I'm not sure what Ctrl+d will do. ;-)Leave a comment:
-
Hmm, pretty sure something got lost in translation there - you kill your friends through 'keeding'? I hope that's Macedonian for 'laughter' or something...
**Edit Removed**...Leave a comment:
-
You're seriously asking why someone else won't pay money out of their pocket to ship a book internationally to a person they don't know when you obviously have access to amazon, ebay, etc...?...Leave a comment:
-
Is there a message in the Event Log? That might give more insight into why the connection was refused or unavailable.Leave a comment:
-
What do you mean, "it is again asking for the login"? Does it give you any message? An error? Anything?Leave a comment:
-
I meant to hop on earlier and say thanks, but I got pretty busy, and as this wasn't considered a "pressing issue" by management, it fell by the wayside. I'll have to find the time to mess around with it, but thank you for the guidance, I'm sure I will be able to figure it out with the above in mind.
Thanks
~SnakeLeave a comment:
-
-
Yeah, I've worked on Solaris, which is roughly what I pulled that from, but I'm going to be using Debian Linux.Leave a comment:
-
Partitioning Best Practice
Hello-
I'm installing a new device due to the shoddy administration of a few servers I recently came to admin, and I was wanting to make sure a constant problem they were having didn't happen again.
The / (root) dir would routinely fill up, leaving the other partition where the app was running, at maybe 20% utilization, but the app would be worthless as we wouldn't be able to do anything on the box (and the app would... -
Oh, cool, that's a good idea.
So in the /usr/local/sudo/ are you copying over whatever is in /bin or /sbin ? Or are you symlinking?
I would like the users coming in to be able to sudovi a specific file, so I guess my question is more: how would you pass parameters in that case? I'm thinking it would just be in a shell script, and then put that into /usr/local/sudo/ . How does that sound?
Thanks
...Leave a comment:
-
Locking down /etc/sudoers
Hello-
I am attempting to lock down a server that has been neglected for a few years, and while I changed most of the permissions to allow the specific group I needed, is seems there is a file that is scripted to revert its permissions to not allow any groups to edit it.
So I would like to set up /etc/sudoers so that this group can do anything they need, as long as it is within a certain directory. I think this involves... -
What you are creating is a web proxy, and you should use the flavor of Linux that you are most comfortable with. I would recommend a version that is easy to install, but also a minimal install so that you have to not only know what dependencies are necessary (so you can choose to include them or post documentation that they are needed), but where they are and how to find them (as where they are may change from flavor (version) of Linux.Leave a comment:
-
Or, depending on the flavor (and dependencies), you can try to use the built-in repositories such as RPMs for Fedora/Red Hat, apt-get or synaptic for Debian, emerge for Gentoo, etc...Leave a comment:
-
Thanks guys. I thought I did that, but it was set up by user before the user was associated with the group (though by the same name as the group), so I will try it again.
Thanks!Leave a comment:
-
Group Permissions for Files
Hello-
I am attempting to lock down a server I am working on, and the one thing I'm stuck at is modifying permissions for files. I can change the owner, group, and general users portion (and the file I am currently looking at has a rwxr-x--- permissions), but I was wondering how to associate that file to a group - make it so those permissions apply to a certain group. Is that based on the groups the owner of the file is in?
... -
Dang, I even remember looking through that page too (or maybe just the document), I guess I just completely skipped over that part.
Thanks!Leave a comment:
No activity results to display
Show More
Leave a comment: