General :: How To View Configuration Files For Passwords And Groups?
Apr 19, 2011how do i view configuration files for passwords and groups?
View 5 Replieshow do i view configuration files for passwords and groups?
View 5 RepliesLately I adapted my /etc/fstab to mount samba shared network drives. I had to put the password in the configuration file in order to log in automatically. Isn't there another way? It feels a little akward to me to put passwords in a plain text-file.
View 2 Replies View RelatedSo i am at the stage of about to install the basic system and am using a derivation of the package management provided by Matthias S. Benkmann. To this end I am using his useradd and groupadd scripts to update the files:
/etc/passwd
/etc/group
My issue is that when I run the commands(created as part of temporary system when installing coreutils):
Code:
/tools/bin/su linux
#then as user
/tools/bin/groups
(here linux is the name of the user) This only returns the user being in the group named after user but not the additional group of 'install' Also, prior to logging in as user, if I use this command as root:
Code:
/tools/bin/groups linux
linux install This then returns that the user is in the correct groups. Lines from relevant files look like:
Code:
#/etc/passwd
linux:x:10000:10000::/usr/src/build:/bin/bash
#/etc/group
[code].....
I have to view .swf files and I downloaded Gnash using Ubuntu Software Center but when I try to view the file it doesn't work.
View 2 Replies View RelatedI would like to use one time passwords with ssh.I know there is the RC Devs openotp library but I have found very little information on the web about how to use this with ssh or even if that is possible.
View 1 Replies View RelatedI now work on linux machine that I don't have admin on, so I can't install dropbox. is there any way to download some files from dropbox (by WWW) ?
View 3 Replies View RelatedI was wondering if it is possible to view all the files or dirs that inotify is monitoring.
View 2 Replies View RelatedI have four hard drives in my machine with several different O/S installs.
I have a couple of Linux distros, win xp, and win 7.
I'm wanting to view all my files in a file manager such as Dolphin but it only shows the Pardus that I am running and the other Windows installs.
My other Linux installs do not appear.
I've recently switched from Windows where I am used to seeing all the different Windows installs on windows explorer.
Is this not possible to do in Linux?
I am wanting to move some files from one system to the other and this is frustrating not being able to see them.
is it possible to view png or pdf files in linux text-mode?
View 1 Replies View RelatedIs there a way to make the system display hidden files in the home folder when you open it? I know you can select "Show Hidden Files" in the view menu but having to do this every time you want to see or access hidden files and folders is annoying!
View 2 Replies View RelatedI have an old server running CentOS 5. The encription method used was the default MD5 for the shadow file. I would like to migrate the server to Debian Squeeze which uses SHA512. I have already copied the passwd, group and shadow file with the user accounts information but the Debian machine doesn't let the users login. I have already looked in the pam files to make it accept the MD5 encryption without any luck. how can i migrate the users without resetting their passwords?
View 1 Replies View RelatedI am trying to set up virtual users with vsftpd but I can not login to the ftp server using the usernames and passwords created in the password file.
View 1 Replies View RelatedI installed Debian Kit on my Asus Nexus 7 tablet, and after following the installation tutorial I got it running except for I'm stuck on the step to create a new user. (btw link: [URL] .... )
Here's how it went (I can't copy&paste from my tablet so I have to type out everything...):
Code: Select allroot@android-6c40984c21c156ae:/# adduser paul374
Adding user `paul374' ...
Adding new group `paul374' (5000) ...
Adding new user `paul374' (5000) with group `paul374' ...
Creating home directory `/home/paul374' ...
[Code] ....
So since I read somewhere that selinux had some permission problem, so I did a few chcons:
Code: Select allchcon --user=u --role=r --type=init --range=s0 /etc/passwd
chcon --user=u --role=r --type=init --range=s0 /etc/shadow
chcon --user=u --role=r --type=init --range=s0 /etc/gshadow
And it did take effect:
Code: Select allroot@android-6c40984c21c156ae:/# ls -Z | grep passwd
u:r:init:s0 passwd
u:object_r:unlabeled:s0 passwd-
root@android-6c40984c21c156ae:/# ls -Z | grep shadow
u:r:init:s0 gshadow
u:object_r:unlabeled:s0 gshadow-
u:r:init:s0 shadow
u:object_r:unlabeled:s0 shadow-
...but still same thing as what happened in the beginning...
Anyway my goal is to create and be able to log in to another user so that I'm not stuck running root all the time. (Which, as we all know, is a bad idea.)
If there's a way to manually create the user by editing a few files, and root still won't be able to change passwords, I'm fine with that, as long as I have another user. Whatever it takes to just get a non-root user log-in-able...
I forgot to mention that since this is the Asus Nexus 7, there is no removable media, so chrooting from another Linux machine isn't an option, and neither is removing an SD card to use a LiveCD on it.
I have a folder, called Vault, that we want to share only with certain people. Because it will contain confidential information.
I want the unix group trustees to have read-only access I want the unix group administrators (and root) to have read/write access
All other users should have no access.
the implementation I have so far is:
folder owner: root:administrators
folder permissions: 770
section from smb.conf
[Code]....
However, this is not working as expected. It currently works as follows:
Normal user: No access (expected) Trustees member: No access (fail. Trustees should be able to read) Administrators member: Read/write access (expected)
I already know of a work around to fix this problem, but I guess my question is why is this not working as expected? I am using a Windows Server 2008 R2 Active Directory for authentication.
I have run auth-client-config for the ldap profile and pam-auth-update. When running getent passwd, I get a list of both the local users and the users in the active directory (with populated information in the Unix schema extension). When running getent group I get a list of both the local groups and the groups in the active directory (with populated information in the Unix schema extension).
Interestingly enough, though, when I run su DOMAINUSER, after the prompt for the password I get an authentication error. In /var/log/auth.log I can see an entry with pam_ldap: missing "host" in file "/etc/ldap.conf". The SRV records in the DNS servers resolve correctly. I've checked this with nslookup and I have seen the records within my zone file. Obviously if the ldap.conf file is working with getent and the ldap server is resolving from the SRV records, it is working fine.
The interesting part is that the Windows Server 2008 R2 AD machine shows in the event viewer that there was a successful authentication, yet the Ubuntu box says no. When I add the host within the ldap.conf file, everything works...getent and the actual authentication, either initial login or su.
[Code]...
I wonder if it is possible to have two passwords for one user account in 9.10. I have a long login password (5 words about 45 characters with spaces caps). I would like to set a shorter password for Authentication, sudo, etc. While retaining the original for logging in.In short:Have long password to login to computer.Have short password for everything after login.
View 6 Replies View RelatedI am currently trying to set up a Samba domain server. In the Samba-HOWTO-Collection I found an
example file.(Point 3.3.3.1) In the explanations of the example below, the author says I need to map UNIX Groups to NT Groups. He writes a shell-script of how one could do it, but when I copy it and then execute it, I get the error:
Bad option: rid=512
Bad option: rid=513
Bad option: rid=514
The other groups do get mapped, just the Domain Admins, Domain Users and Domain Guests dont. This is the shell from the HOWTO:
#!/bin/bash
#### Shell-Skript f ̈r sp ̈tere Verwendung aufbewahren
net groupmap modify ntgroup="Domain Admins" unixgroup=ntadmins rid=512
net groupmap modify ntgroup="Domain Users" unixgroup=users rid=513
net groupmap modify ntgroup="Domain Guests" unixgroup=nobody rid=514
[Code]...
How to make a Server of LOGIN / PASSWORDS for flexible linux machines? Samba config files for the server and the client. The clients, if no network, shall use the /etc/shadow.
View 10 Replies View RelatedI have a file server running 10.04. I have a user that belongs to 2 groups (users is the primary and IT is the secondary). I have permissions set up so that this user and other users that belong to the IT groups can read/write files and others have no permissions whatsoever. I have also set the umask to 0007 so that any files created have the effective permissions. My concern is this: since my primary group is users, is it possible for me to create files with the owner group IT for only this specific folder?
View 2 Replies View RelatedI am setting up a samba server to operate in a windows AD domain. I want to set permissions for multiple groups to have different levels of access to one group of files, and it looks to me like unix permissions will not do that? I always hear about how robust linux is, and it seems to me that their file permissions model is WEAK compared to microsoft's?
View 2 Replies View RelatedI have to go to a website which has a wierd player thingy that streams live video (movies) in quicktime format. Since Quicktime isn't available for Debian, is there a way I can view this streaming video? I have libquicktime1, quicktime-utils, and quicktime-x11utils installed.
View 2 Replies View RelatedI've setup a samba pdc, everything works like a charm.. except for the windows theme of the ldap users.Whenever a user logs in on the xp client.. the xp client automaticly switches to classic view instead of the normal xp-style.
View 2 Replies View RelatedI have been using Fedora Core 6 off and on for awhile.I could not update it so I downloaded and installed Fedora core 13. A lot of things seem to be missing compared to the earlier package: I cannot get a response to "Detect Monitor" and I do not have any choices with better screen resolution than 800 x 600. The file /etc/X11/xorg.conf does not exist. I have used this in the past to control the resolution although I have generally used the gui stuff to accomplish all the tasks up to this time.
I also do not find a "services" menu item where I can get ssh and web server working.I suspect I need to download some more software to get all this stuff working again but I do not know which packages I need. I am not an expert on Linux and am trying to learn it. On the older version of fedora I had these things working well.
About the Debian release plan of .la files removal.
[url]
I also saw that list that is being talked about in that wiki entry.
[url]
Does anybody know how can one look in his/her system and find how many individual .la files are installed ?
how i can view pdf files
View 1 Replies View RelatedHow to view CAJ files in Ubuntu 11.04?? A CAJ file is a CAJViewer Full-text Database file.
View 1 Replies View RelatedI have some flash video files with extension .flv which I originally viewed successfully in iceweasel. I then downloaded them for future access (there is no copyright issue with these BTW), but I cannot play them back. Is there a debian package which will view flv?
View 2 Replies View RelatedI recently had Pardus 2011 Installed and i moved a pile of files from my extra hard drive and cleaned it and moved files back onto it. The music files/folders wont show up on SlackWare but if i flip in a ubuntu live cd or run pardus they show up just fine. But here is the kicker. If i for example one of the cd's was a band from in town where i live. If i hash check the torrent so it is seeing if the files are on my computer to share. It will show them if you show directory and if you use Dolphin you cannot see them at all. Is there some kind of setting somewhere i have tried the action of showing hidden files.
View 1 Replies View RelatedIs it possible to view and edit db3 files in linux? OpenOffice does not do it and dbview says it can't read version 83. Just wondering. I am not really firm with databases, but i remember that i did view databases in linux.
View 3 Replies View RelatedI just downloaded libgtk2.0-doc at the gtkmm docs to help me with some programming. I've found where the libgtk2.0 documents are (/usr/share/gtk-doc/html) and I'm not for sure where the gtkmm docs are.
My question is: what is an easy way to view all of these HTML files? I know on Ruby you can run gem-server and you can see all of your RDocs from localhost on your browser. Is there an equivalent to that on Ubuntu for gtk-doc?