Jump to content

aioshin

Members
  • Posts

    816
  • Joined

  • Last visited

Posts posted by aioshin

  1. eh... to them... disregard the request..(but just incase they would like to, its better).. . got an answer from a certain guy. though different command but sort of have the same effect ..

     

    #chage -d 0 username

     

    sorry, I really did'nt know it, but now I know

    .

     

    Thanks Guys !

  2. mandy, redhat, centos, have'nt check FC about it, but I dont understand why that option is not available on them, is that particular function, on them some kind of vulnerability? :unsure:

    .

    hope they will add that function on their passwd-util, Suse, Xandros and Mepis have that so why not on them... though a very little function, but still, very important on a system that handles multiple users...

  3. did you check in the user configuration program (GUI) that mandriva provides? maybe they have the option hidden in there.

     

    I already check the GUI passwd management of mandriva and NONE..

     

    Are you sure the "shadow" package is installed? (it isn't by default in some distros).

     

    #urpmi shadow-util
    The package(s) are already installed

     

    I think that's what you mean.. so its been already installed.

    .

    Oh mandy.. mandy, what have you done?...

  4. I dont get it... might be that RedHat does not have that option either.. as i've mentioned above.. the output of command "passwd --help" on my Mandriva 2005 and on My Centos Box are similar.. does not have the -e option... Centos is a Clone of redhat.. but why?

    .

    Is there a way to re-install the passwd util package? from source?

  5. here''s the output of passwd --help on Mandriva 2005 and they are similar with centos (an RHClone)

    Usage: passwd [OPTION...] <accountName>

    -k, --keep-tokens keep non-expired authentication tokens

    -d, --delete delete the password for the named account (root only)

    -l, --lock lock the named account (root only)

    -u, --unlock unlock the named account (root only)

    -f, --force force operation

     

    -x, --maximum=DAYS maximum password lifetime (root only)

    -n, --minimum=DAYS minimum password lifetime (root only)

    -w, --warning=DAYS number of days warning users receives before

    password expiration (root only)

    -i, --inactive=DAYS number of days after password expiration when an

    account becomes disabled (root only)

    -S, --status report password status on the named account (root

    only)

    --stdin read new tokens from stdin (root only)

     

    Help options:

    -?, --help Show this help message

    --usage Display brief usage message

     

    and in opensuse

     

    passwd - change password information

     

    -f Change the finger (GECOS) information

    -h Change the home directory

    -s Change the login shell

    -g Change the group password

    -k Change the password only if expired

    -q Try to be quiet

    -S Show the password attributes

    -a Only with -S, show for all accounts

    -d Delete the password for the named account

    -l Locks the password entry for "account"

    -u Try to unlock the password entry for "account"

    -e Force the user to change password at next login

    -n min Set minimum field for "account"

    -x max Set maximum field for "account"

    -w warn Set warn field for "account"

    --service srv Use nameservice 'srv'

    -D binddn Use dn "binddn" to bind to the LDAP directory

    -P path Search passwd and shadow file in "path"

    --stdin Read new password from stdin (root only)

    --help Give this help list

    --usage Give a short usage message

    --version Print program version

     

    yeah.. I dont understand why that option is not available...on mandy

  6. ok.. Im still on LE 2005, and dont find that option on it, ( I dont know if 2006 have this).. on xandros, it has an option on GUI passwd management to force the user to change the passwd on the next login... on cli.. -e option is used on the command "passwd".. same with OpenSuse, it has the -e option to do the same on cli... how should I do it on mandriva? any Idea? (man page says nothing about it...)

     

    TIA!!!

     

    btw, NIS or LDAP is not an option... :P

     

    [moved from Software by spinynorman]

  7. Why when I install patch in windows i do not have to edit source code becouse everything normally goes ok, in linux when I wanted install patch for mythtv i recived many errors and got advice to edit source code but it is not what I want to do on my home computer ?

    editing source code.. if the application you installed is an opensource, then you can edit the source code yourself, but if not....you wont... the default apps on linux are mostly open source... so editing it is allowed.. if Window$ open their source, well .. i dont know what will happen..

  8. well... I did not make it, I mean, I did not replace it with any other distro... afterall, xndros is still linux, and its debian... I just realized that, this is a chance for me to learn deb... so I decided to just keep it as is.. now I'm exploring apt-get on installing those missing applications...

    .

    one more thing.. apt-get is just fast.. have u tried it?

  9. thanks guys... maybe I should replace it with Mandriva... I have an LTSP server running on Mandriva 10.1 serving 3 ThinClient running for almost two years now.. and was able to resolve some problem on it... though I have tried Centos but as Server for File, mail, and web... and hav'nt tried it as Desktop

     

    thanks again... at least I will not be force to join another Forum :P

    .

    honestly.. Im trying to get rid of Mandriva on my desktop.. but failed to look for something better...

    .

    :offtopic:

     

    In fairness to OpenSuse, I have it on other Boot on this same desktop Im using.. and I only encountered one problem on it..yet, the AutoFS/automounter package... which I really needed on mounting smb and nfs drive on demand, though its the same problem that Mandriva has on its default autofs package.. it wont auto-unmount on the certain timeout...but was able to resolve it on mandriva by installing autofs package from source, while on OpenSuse, I cant even install the autofs source.., but in general.. as how I see OpenSuse on my desktop.. its cool..

  10. ok, they (main Office) sent me a pc preinstalled with Xandros 3 Business Edition, with a couple of Diskless workstations...so it is supposed to act as an LTSP server.. I already installed on it LTSP and its working.. but the guy who installed the xandros created so many partitions... well, I dont really know if this is the default Xandros Partition.. I'd tried to change some partition assignment via the fstab, but when rebooted.. it sets back some of its default... I dont have the CD of Xandros, so I cannot do some changes, since if it will crash.. I dont have something to Fix it... also, some utils that other distro have are not on xandros... like.. qparted, or the one similar to diskdrake... tried to apt-get it but it wont install due to some failed dependencies... also, it does'nt have the chkconfig tool, maybe it have and I just dont knew it or it has been renamed...

    .

    Now, I started to deslike it... if.... what distro shoud I use to replace it... its a deb distro.. but I prefer rpm..

    what if I replace it with Mandriva?

    or Centos..?

    or openSUse?

     

    I just need some of your thoughts... really.. Its been two days since im staring on this Xandros thing trying to figure out if I should replace it... :unsure:

  11. try to update your urpmi database... as root

    #urpmi.update -a -v

    that will update all repositories... there might be some changes on the repos.. that is why you've got that errors, then after it finish..do the

    #urpmi --clean

    it will clean the cached rpms...

    then repeat what you were trying to do..

  12. I dont believe that you really can hide your IP add on the net unless if close all the ports of your box, and doing that also removing your internet access..

    .

    everytime you surf and open a website... your IP had been logged.. and if a certain real hacker really wanted to Hack you..he will find a way to access those sites that you visited... then also..he/she wont just go on to technical way, but you have'nt just notice.. you are talking already to him/her..

    beware of this

  13. you mean you physically switched the hard drive or just doin it via the BIOS?..

    anyway, try this one.. tried it on GRUB Bootloader

     

    attach the LINUX HD as primary Master and the Windows HD as Secondary Master, the shared Stuff as the Secondary Slave. then if you can do that... try to boot on Mandy Lnux, then edit Grub

    .

    the easy way to edit is via CLI ( :P )

    .

    anyway, what ever way you can edit it, just add the following entry below on you /boot/grub/menu.lst

    .

    default with entries for linux only.. it could be different with yours..

    .

    timeout 10
    color black/cyan yellow/cyan
    default 5
    
    title linux
    kernel (hd0,4)/vmlinuz root=/dev/hda6 acpi=ht resume=/dev/hda1 splash=silent
    initrd (hd0,4)/initrd.img
    
    title linux-nonfb
    kernel (hd0,4)/vmlinuz root=/dev/hda6 acpi=ht resume=/dev/hda1
    initrd (hd0,4)/initrd.img
    
    title failsafe
    kernel (hd0,4)/vmlinuz root=/dev/hda6 failsafe acpi=ht resume=/dev/hda1 devfs=nomount
    initrd (hd0,4)/initrd.img

    so add the following..

    title Windows
    rootnoverify (hd1,0)
    makeactive
    map (hd0) (hd1)
    map (hd1) (hd0)
    chainloader +1

    then save the file with that entry and restart and check if that new grub entry will work....

  14. re: root password..

    there should always be a root password., well, if you skipped the part that you should assign a password for it, the you can just boot on failsafe, can be found in your grub menu upon booting to the specific kernel, then when you have the prompt, you can just do

    .

    passwd root

    .

    then enter root password

  15. Setting Firefox as default, per Daniewicz suggestion, will lead you to many annoyances.

    Thunderbird 1.0.7 needed some manual editing ( a file named all.js, if I can recall well), but for Thunderbird 1.5.0 things are easy/straightforward:

    Fire up thunderbird, and go

    Edit-preferences-Advanced-Config Editor...

    Add there a new string (if it does not exist)

    network.protocol-handler.app.http

    and give it the value

    firefox

    (since you have already created the symlink)

    Also, create another string:

    network.protocol-handler.app.https

    and give it also the same value,

    firefox

    Restart Thunderbird, and you are done.

     

    For doing "the opposite" - that is, passing "mailto" links from Firefox to Thunderbird:

    Open Firefox, and type in the address bar "about:config"

    Create a new string (if it doesn't exist), named

    network.protocol-handler.app.mailto

    and give it the value

    thunderbird

    (of course if you don't have "thunderbird" in your system path, then either create a symlink or give the full patch/actual executable name).

    Restart Firefox, and you are done again.

     

    thanks for this tip scarecrew.. really helps

×
×
  • Create New...