Re: useradd with * in passwd field
Sudarshan Soma wrote: Thanks Chris. I got the command , usermod -p "*" user &> /dev/null Actually i want to make user with no access at any time. Best Regards, pavan You should probably use "passwd -l " then. Let the passwd command lock the account properly. -- Stephen Berg Systems Administrator NRL Code: 7321 Office: 228-688-5738 stephen.berg@nrlssc.navy.mil -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Fresh install Fedora 10 X86_64 problems
Jim wrote: m wrote: Jim wrote: Tim wrote: On Tue, 2009-03-31 at 19:46 -0400, Jim wrote: How would i write down sequence of each USER, so this won't happen next time I upgrade this Box ?? ls -n /home See the user and group numbers instead of names? Use the same numbers when creating new users. You can manually pick numbers when you create new users, or if the IDs all go upwards sequentially from 500, simply create the first user who has ID 500, then create the next user and they'll get the next highest number, you just have to pick the names in the right sequence. Right now the first number doesn't start at 500, it starts at 502. How do you manully put the numbers in as you add users:groups ? man useradd , its the -u option as I recall. or you can specify it in the GUI for Users and Groups. Thanks very much for the info. Jim Or make a copy of /etc/passwd, /etc/group and /etc/shadow before the upgrade. Then you can cut/paste all the pertinent info into those files after the upgrade so the users get the same UID, GID and password. -- Stephen Berg Systems Administrator NRL Code: 7321 Office: 228-688-5738 stephen.berg@nrlssc.navy.mil -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Gnome terminal
Theodore Papadopoulo wrote: Hi, I recently upgraded from Fedora 7 to Fedora 10. One thing that midly annoys me is that whenever I'm starting up a new terminal (from the menu in the background not form the menu in the panel), the new terminal starts with a current work dir being ~/Desktop (instead of ~/). Is this an upgrade problem or something that has been changed. In the later case, is there a way to restore the f7 behaviour (ie cwd being ~/). Thank's a lot for any insight. Theo. Run gconf-editor Check the box under /Apps/nautilus-open-terminal/desktop_opens_home_dir -- Stephen Berg Systems Administrator NRL Code: 7321 Office: 228-688-5738 stephen.berg@nrlssc.navy.mil -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Access from outside
John Aldrich wrote: Ok. I managed to *briefly* connect with my machine from outside. I still think there's something "hinky" about my config since I installed F10. It *was* working on FC6, and I wiped and reinstalled F10. Now, I can SSH in from my wife's XP box on the LAN, but I can't SSH in from outside, either on port 22 or the non-standard port I configured to make things more difficult for hackers (port number is in excess of 2000). I can SSH in from inside the LAN on either the standard port or the non-standard port, but I cannot access my machine from outside. I've tried several things, but none of them seem to work. Any suggestions where to look? Got a router in the mix there? If you changed the port that ssh answers on you'll need to set the router to port forward incoming port 22 connections to your non-standard port. -- Stephen Berg Systems Administrator NRL Code: 7321 Office: 228-688-5738 stephen.berg@nrlssc.navy.mil -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Volgroup00 not found
Braden McDaniel wrote: Quoting "Joseph L. Casale" : After installing F10 and rebooting, I get "Volgroup00 not found". I installed F10 over an existing Fedora installation. (I did not perform an upgrade.) I can boot to rescue mode and things seem to be mounted okay under /mnt/sysimage. What can I do to fix this? Bad initrd maybe? What storage controller are you using? You might boot to the rescue disc and regenerate it adding a --with={module_name}... It's a 3ware 9550SXU-4LP. What module name do I need? Probably 3w_9xxx, that's the module I see running on a system with a 3Ware 9500S 8 port SATA RAID adapter. -- Stephen Berg Systems Administrator NRL Code: 7321 Office: 228-688-5738 stephen.berg@nrlssc.navy.mil -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Fedora installation USB stick (NOT liveCD)
Benny Amorsen wrote: Is there a way to install Fedora from a USB stick without network access? I'm talking about the "real" Fedora installation, like from the regular Fedora DVD installer, not copying the LiveCD to the hard drive. Ideally the installer would look for ks.cfg on the USB stick and do a kickstart installation. Media size isn't a problem, an 8GB USB stick is cheaper than a CD drive. /Benny Install the liveusb-creator package it should have the tools you need. There's also some windows tools to do the same. unetbootin has distro's for Linux and/or windows. -- Stephen Berg Systems Administrator NRL Code: 7321 Office: 228-688-5738 [EMAIL PROTECTED] -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: defaullt directory for terminals.
Aaron Konstam wrote: On Thu, 2008-07-31 at 23:19 +0200, Anders Karlsson wrote: * Anders Karlsson <[EMAIL PROTECTED]> [20080731 23:08]: * Aaron Konstam <[EMAIL PROTECTED]> [20080731 22:33]: Does anyone want to defend the change to ~/Desktop as the default directory in opened terminals, thus throwing away 20 or 30 years of Unix, Linux and Microsoft tradition? You mean you don't have a key-combo that opens a terminal for you? ;-) Joke aside, I've noticed the change, but this was actually something I thought was broken in the past, and that it's now actually working the way it should have done from the start. Nautilus usually show you on the desktop what is in ~/Desktop - so why open a terminal in ~/ when right-clicking the desktop and doing an "Open in terminal window" (or what the exact wording is). You can change what Nautilus shows on your desktop as well, so it uses your ~/ instead of ~/Desktop. Then, opening a terminal with a right-click should do what I think you are saying you want it to do. To pre-empt the question how to do this, I tested it and came up with this. // This is how you make ~/ what's shown on your Gnome desktop $ gconftool-2 -s --type bool /apps/nautilus/preferences/desktop_is_home_dir true $ killall -1 nautilus // This is how you set it back to ~/Desktop $ gconftool-2 -s --type bool /apps/nautilus/preferences/desktop_is_home_dir false $ killall -1 nautilus I also checked, that if you have desktop_is_home_dir==true, right-click desktop and open terminal will open it in ~/ Wouldn't setting /apps/nautilus-open-terminal/desktop_opens_home_dir to true be the setting to change? -- Stephen Berg Systems Administrator NRL Code: 7321 Office: 228-688-5738 [EMAIL PROTECTED] -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Re: Where do you get your servers?
Bazooka Joe wrote: Is there a company like VA was that sells servers and promotes open source? www.microway.com sells some good equipment and can pre-load a few different distros. -- Stephen Berg Systems Administrator NRL Code: 7321 Office: 228-688-5738 [EMAIL PROTECTED] -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Re: Unofficial Fedora FAQ Updated for Fedora 9
Valent Turkovic wrote: Hi, thank you for your great effort. Please correct this entry: http://www.fedorafaq.org/#ntfs ntfs is now supported "out of the box" and automatically mounted in /media. Cheers, Valent. Did you consider letting the author of that FAQ know about that needed change instead of this list? http://www.fedorafaq.org/contribute/ -- Stephen Berg Systems Administrator NRL Code: 7321 Office: 228-688-5738 [EMAIL PROTECTED] -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
GLib-GIO-Warning
After installing Fedora 9 on a few systems I'm seeing a boatload of warnings in /var/log/messages similar to: gdm-simple-greeter[9522]: GLib-GIO-WARNING: Missing callback called fullpath = /home//.face#012 I've tried creating a .face file both as a zero byte file and as a jpg for a couple of users and that doesn't seem to solve it consistently. Only thing I've been able to dig up is that this is a reference to the logo/face display that is shown on the GDM login screen. (Not sure if KDM is using the same.) But I can't find where to set, modify or disable it. Anyone know where to tweak that setting? -- Stephen Berg Systems Administrator NRL Code: 7321 Office: 228-688-5738 [EMAIL PROTECTED] -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Re: Acknowledge consent before login
Mikkel L. Ellertson wrote: g wrote: Stephen Berg (Contractor) wrote: I'm searching for a method to display a consent to monitoring statement on either GDM or KDM in Fedora 9. I'm not tied into either display an interesting question, which you may not have found and answer. i do not know how this would work, and maybe some others can make some further suggestions. years back under cromix and early unix, i modified 'passwd' to restrict logins to certain programs. applying this to linux, should/may not be all that different. instead of using '/bin/bash' as startup shell, consider something like '/bin/bash/consent'. 'consent' could then be a script to display consent agreement and prompt for a 'y/n' reply. if $1 = 'y' then startx. if $1 = 'n' then exit. something to think about. hth. For text logins, you could use /etc/issue and /etc/issue.net. Mikkel I've got it working for text logins like ssh but the problem is logging in via GDM and/or KDM in a gui environment. Users are required to acknowledge the consent statement before logging in to the system. Since gdm-simple-greeter is missing these days, what used to be simple is now becoming a problem. -- Stephen Berg Systems Administrator NRL Code: 7321 Office: 228-688-5738 [EMAIL PROTECTED] -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Acknowledge consent before login
I'm searching for a method to display a consent to monitoring statement on either GDM or KDM in Fedora 9. I'm not tied into either display manager so whichever one is easiest to set up wins. The message displayed is about 25 lines in a standard text file layout, and all users must acknowledge the statement by clicking an OK button before they are allowed a login attempt. This was pretty easy to do under Core 6 by having /etc/motd contain the required text and referencing it in /etc/gdm/custom.conf like so: [greeter] InfoMsgFile=/etc/motd InfoMsgFont=Courier Bold 17 GraphicalTheme=Bluecurve Has anyone found a way to set this up in Fedora 9? GDM doesn't seem to pay any attention to the greeter section in custom.conf any longer. -- Stephen Berg Systems Administrator NRL Code: 7321 Office: 228-688-5738 [EMAIL PROTECTED] -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Re: What is the matter with fedora 9?
Bill Davidsen wrote: fedora wrote: Hi every What is the matter with fedora 9? it introduced a NetworkManager which prohibits networking. NetworkMangler has been around since FC6 (at least), by making it the default it became impossible to ignore. It does the right thing in cases where you have one hardwire or wireless connection which can see only one AP. For all other cases wait for the human readable documentation which will be here... or maybe not, since it was coming with FC7, 8, and 9. After about a dozen installs of Fedora 9 I cannot agree with you on that. On every system save one there is only one network connection, in each of those cases it's been /dev/eth0 and NM would not enable the connection by default. Maybe there's documentation on the way that will make NM a breeze to configure but until that time it's out the window. I disable the NetworkManager service and enable the network service during kickstart installs. All my systems have a statically leased DHCP address and it works just fine. Bottom line for me: NM breaks far more than it fixes. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Re: Dual monitors in F9 ?
Steve wrote: Well, I tried both Paul Johnson's xorg.conf file and Stephen Berg's but I still cannot get my second monitor working. The main difference between their setups and mine is that they are using the nvidia driver while I am just trying to use the generic nv driver. I wouldn't bet my paycheck on it but I don't think the nv driver supports TwinView or Xinerama. -- Stephen Berg Systems Administrator NRL Code: 7321 Office: 228-688-5738 [EMAIL PROTECTED] -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Re: Dual monitors in F9 ?
linuxguy wrote: Sorry I missed your post until now. This is the generated file. I also used the hand written file that I made up some time ago. What is AIGLX ? Would it help if I turned it off ? What if I turned off Option "AddARGBGLXVisuals" ? Not sure about those two options, but personally I'd turn off the Xinerama and use TwinView and I also noticed both of your monitors are called "Monitor1", one of them should be Monitor0 and referenced in the appropriate Screen section. -- Stephen Berg Systems Administrator NRL Code: 7321 Office: 228-688-5738 [EMAIL PROTECTED] -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Re: Dual monitors in F9 ?
Steve wrote: Would you mind posting your xorg.conf file? Did you write it yourself or delete it and let X write it or use system-config-display? I am just using the nv driver and the same configuration that worked fine in F7 before I upgraded to F9 but that didn't work at all; X wouldn't start. Then I tried system-config-display and I the first monitor working the second is a flashing orange screen with random colored blocks. Steve I've got a Quadro FX700 and two Samsung SyncMaster 213T's plugged in, one on the DVI connector and one on VGA which goes through a KVM so I can access other computers at my desk. I can't be 100% sure but close that this xorg.conf was generated by running "nvidia-xconfig --twinview". I didn't change anything by hand. # Xorg configuration created by livna-config-display Section "ServerLayout" Identifier "Default Layout" Screen 0 "Screen0" 0 0 InputDevice"Mouse0" "CorePointer" InputDevice"Keyboard0" "CoreKeyboard" EndSection Section "Files" ModulePath "/usr/lib64/xorg/modules" EndSection Section "ServerFlags" Option "AIGLX" "on" Option "Xinerama" "0" EndSection Section "InputDevice" # generated from default Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/input/mice" Option "Emulate3Buttons" "no" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbModel" "pc105" Option "XkbLayout" "us+inet" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Unknown" ModelName"Samsung SyncMaster" HorizSync30.0 - 81.0 VertRefresh 56.0 - 75.0 Option "DPMS" EndSection Section "Device" Identifier "Videocard0" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "Quadro FX 700" EndSection Section "Screen" # Removed Option "TwinView" "True" # Removed Option "MetaModes" "nvidia-auto-select, nvidia-auto-select" Identifier "Screen0" Device "Videocard0" Monitor"Monitor0" DefaultDepth 24 Option "AddARGBGLXVisuals" "True" Option "TwinView" "1" Option "TwinViewXineramaInfoOrder" "CRT-0" Option "metamodes" "CRT: nvidia-auto-select +1600+0, DFP: nvidia-auto-select +0+0" SubSection "Display" Depth 24 EndSubSection EndSection Section "Extensions" Option "Composite" "Enable" EndSection - Stephen Berg Systems Administrator NRL Code: 7321 Office: 228-688-5738 [EMAIL PROTECTED] -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Re: Dual monitors in F9 ?
linuxguy wrote: Has anyone gotten dual monitors to work in F9 with Nvidia ? I've go the latest Livna Nvidia packages installed. Xorg works OK with a single monitor, but it hangs when I start X with 2 connected. Any idea ? Thanks. I used the kmod packages from Livna and have a dual head setup working just fine at home. Did you run the nvidia-xconfig utility? That seemed to do the trick for me without any manual tweaking needed. -- Stephen Berg Systems Administrator NRL Code: 7321 Office: 228-688-5738 [EMAIL PROTECTED] -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list