Re: gdm Question

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

 





Todd Zullinger wrote:
> 
> TNWestTex wrote:
>>> That should work fine.  Just remember to change any files owned by
>>> the hsqldb user.  The usermod command will change any files in the
>>> user's home dir automatically, but files outside of the home dir
>>> need to be changed manually.
>>> 
>> Where would such files be found?  There isn't anything for hsqldb in
>> /home.  Maybe it was never invoked by anything.
> 
> (I know next to nothing about hsqldb, so I don't have any idea what
> sort of files it may create.)
> 
> The hsqldb user doesn't have its home dir in /home.  It is in
> /var/lib/hsqldb (or at least that's where it is when the current rpm
> creates the user).
> 
> You can more easily use ~hsqldb (e.g. ls ~hsqldb).  any files in
> ~hsqldb should have their uid changed automatically by the usermod
> command.  It's files anywhere else that you'd want to change manually
> (if there are any).
> 
> You could use the find command to locate such files:
> 
> # find / -user hsqldb
> 
> or
> 
> # find / -uid 501 # (or whatever the hsqldb uid was, I forget :)
> 
> Let's say you use usermod to change the hsqldb uid to 96.  After
> you've done that, you could use find, xargs, and chown to change any
> files owned by the old uid (I'll just pretend that uid is 501).
> 
> # find / -uid 501 | xargs chown hsqldb # for user/uid
> # find / -gid 501 | xargs chgrp hsqldb # for group/gid
> 
> Of course, you should check the man pages and ensure that I haven't
> made any nasty errors in those commands before running them. ;)
> 
> 
Thanks Todd
Found the files in /var/lib/hsqldb and no others.

Robert McBroom
-- 
View this message in context: http://www.nabble.com/gdm-Question-tp15701211p15830365.html
Sent from the Fedora List mailing list archive at Nabble.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