Re: 1.Passing text to program and 2.automatic login

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 12:45 PM -0600 11/10/07, Mikkel L. Ellertson wrote:
>vladak@xxxxxxxxxxxx wrote:
 ...
>> 2. Without the graphical environment (only from bash) how can I
>> set linux to login some user at startup without asking for user
>> name and pass?
>>
>If you want the user to always be logged in at a specific VT, you
>can edit /etc/inittab and change the line for the VT you want to
>change. Look at the autologin option of mingetty. For example, to
>have them logged in on VT2, look for:
>
>2:2345:respawn:/sbin/mingetty tty2
>
>Change it to something like:
>
>2:2345:respawn:/sbin/mingetty --autologin guest tty2

If what you mean is "use a script instead of the graphical tool to change
to auto-login", then the graphical command is (usually) gdmsetup, which
according to `man gdm` edits /etc/X11/gdm/gdm.conf.  This info may be out
of date, as all I have on F7 is /etc/X11/gdm/gdm.conf.rpmsave, but if you
have the file, enabling auto-login is obvious.  How to edit the file from
the command line is up to you, but sed would work.
-- 
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
      '                              <http://www.georgeanelson.com/>

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux