9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello,
i configured rhel linux 6 with AD directory to authorize windows users to connect on the system and it works.
i have accounts with high privileges (oracle for example) if an account is created on the AD server i would to block him.
I looked for how to do, for the moment all the... (3 Replies)
Discussion started by: vincenzo
3 Replies
2. Linux
Hi I am facing problem of taking backup of file system as username1.
There are some files in system which is having group ownership as nobody.
and username1 is not able to open this file and backup is failing .Even as a root user I can not open this file.
File which is creating problem is ... (1 Reply)
Discussion started by: devesh123
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I cant seem to get this right.
Lets say I have root privileges and I wanted:
a ) edit the user prompt to show "linux1234$" whenever they log-in.
also
b ) Show a message for users upon logging in.
I know a) has something to do with editing PS1. but how to only apply the change for users?... (1 Reply)
Discussion started by: Azi
1 Replies
4. Linux
Hi All,
I have to learn all the user management commend like adduser,useradd,chggrp... etc
I would like to know the syntax or example.
Please give me document or link.
Thanks,
Mani (1 Reply)
Discussion started by: Mani_apr08
1 Replies
5. Linux
Hello, everyone
I am new linux user. Yes, what I mean by that is I am totally new, never touch linux before. Only have one year experience of Solaris.
Anyway, I have to learn it because eventually I am going to use it at work.
Here is my question:
can I buy a cheap netbook (like less... (3 Replies)
Discussion started by: uuontario
3 Replies
6. UNIX for Dummies Questions & Answers
Thanks
AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies
7. Linux
Hi All,
I did a search of the forum on this but I could only find answers for UNIX flavours.
Are there any limits on the amount of users you can have on a linux box?
Have the likes of Red Hat introduced any license limits or is it just constrained by system parameters like ulimit max user... (0 Replies)
Discussion started by: pondlife
0 Replies
8. Gentoo
Hi all,
I'm running XPPro and I'm happy about it. I'm hearing many good things about Linux OS and I want to give it a try and install it on my D: drive. XP running on C:\ . I have following quesitons to you'll:
1./ any site I could download a free/trial version of Linux OS?
2/ some free office... (8 Replies)
Discussion started by: stav
8 Replies
9. Linux
Hello everybody!I an new linux user,I come from
china!I think you must know!I want to learn linux ,
I know that learn well,english must be well.but my english is very bad!So i hope you don't mind.I hope i can get help from
foreign friends in the future! thank you! (3 Replies)
Discussion started by: aini2003
3 Replies
LEARN ABOUT DEBIAN
linux::distribution
Linux::Distribution(3pm) User Contributed Perl Documentation Linux::Distribution(3pm)
NAME
Linux::Distribution - Perl extension to detect on which Linux distribution we are running.
SYNOPSIS
use Linux::Distribution qw(distribution_name distribution_version);
if(my $distro = distribution_name) {
my $version = distribution_version();
print "you are running $distro, version $version
";
} else {
print "distribution unknown
";
}
Or else do it OO:
use Linux::Distribution qw(distribution_name distribution_version);
my $linux = Linux::Distribution->new;
if(my $distro = $linux->distribution_name()) {
my $version = $linux->distribution_version();
print "you are running $distro, version $version
";
} else {
print "distribution unknown
";
}
DESCRIPTION
This is a simple module that tries to guess on what linux distribution we are running by looking for release's files in /etc. It now looks
for 'lsb-release' first as that should be the most correct and adds ubuntu support. Secondly, it will look for the distro specific files.
It currently recognizes slackware, debian, suse, fedora, redhat, turbolinux, yellowdog, knoppix, mandrake, conectiva, immunix, tinysofa,
va-linux, trustix, adamantix, yoper, arch-linux, libranet, gentoo, ubuntu, scientific, oracle enterprise linux and redflag.
It has function to get the version for debian, suse, fedora, redhat, gentoo, slackware, scientific, oracle enterprise linux, redflag and
ubuntu(lsb). People running unsupported distro's are greatly encouraged to submit patches :-)
EXPORT
None by default.
TODO
Add the capability of recognize the version of the distribution for all recognized distributions.
AUTHORS
Alexandr Ciornii <alexchorny@gmail.com>, <http://chorny.net> Alberto Re, <alberto@accidia.net> Judith Lebzelter, <judith@osdl.org>
COPYRIGHT AND LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.5 or,
at your option, any later version of Perl 5 you may have available.
perl v5.14.2 2012-03-18 Linux::Distribution(3pm)