General :: Symlinking /etc/passwd Etc For Networking?

Jun 25, 2011

I'm running a small network of 20 PC's (slackware), I had previously used NIS and can't really be bothered with ldap it's a bit of hassle. I do not need a centralised database just a login auth system.On the server I make a folder called /sec and symlink passwd, group and shadow into it.I export this via nfs.On the workstation I create a folder /sec, move the passwd, group and shadow file into it and then symlink them back into the /etc folder.On bootup, the rc.local mounts server /sec over the top of workstation /sec. If it fails it falls back.I wasn't sure if I could just mount /sec on the workstation and then temporarily symlink group,passwd,shadow over the top of the /etc/shadow etc

View 4 Replies


ADVERTISEMENT

General :: Delete /etc/passwd And Recover It With /etc/passwd - From Runlevel 1 The Lastly Created User Is Not Having His Account After Recovery?

Jan 14, 2011

we know that /etc/passwd - is a replica of /etc/passwd file and acts as a backup in any damage done to /etc/passwd file..i have observed a strange thing in RHEL 5.4....for example... if /etc/passwd has 100 accounts.. then /etc/passwd - is having only 99 accounts....when i add 101 useraccount with "useradd" then /etc/passwd has 101 accounts and /etc/passwd is having the 100th account of /etc/passwd - ..when i delete /etc/passwd and recover it with /etc/passwd - from runlevel 1 the lastly created user is not having his account after recovery.. what is the solution? this is same case even with /etc/shadow and /etc/shadow -

View 2 Replies View Related

Debian :: Symlinking Scanner/printer Through A LAN?

Aug 21, 2010

I have a laptop which I use for school and I have a scanner/printer that used to be near and I used to scan things and store them in the laptop via the scanner/printer's USB cable. In an attempt to make space to study more comfortably on my desk, I moved the scanner/printer near my gaming computer (on a desk that I don't use). What I want is to scan via my desktop (=gaming computer) and have it directly be stored in my laptop via a symlink and a LAN network. My desktop runs Squeeze and my laptop runs Lenny. One of my weakest points in computing is networks so I would very much appreciate it if someone could guide me through this process.

My laptop has an ethernet port and a wireless card whereas my desktop has a built-in ethernet port, a wireless PCI card as well as another ethernet port (PCI) which I am planning to install soon. For my laptop, I want wireless internet, and the wired connection to be to the desktop for the scanner/printer's purposes.As for the desktop, I want to connect to my internet via a wired ethernet connection and use my extra PCI ethernet port for the scanner/printer situation

View 4 Replies View Related

Fedora Networking :: Unable To Start Wifi - WPA Passwd Always Requested

Jul 14, 2011

I'm fighting to make wifi work on an HP dv6-3194.

The symptom is that I'm always asked to enter the WPA passwd.

1-This is a fresh FC15 install:

Linux localhost.localdomain 2.6.38.6-26.rc1.fc15.i686.PAE #1 SMP Mon May 9 20:36:50 UTC 2011 i686 i686 i386 GNU/Linux

2- Network interfaces are detected:

3- pci card is RT3090

4- lsusb returns:

5- lsmod returns:

6- iwlist wlan0 scanning detects wifi networks without problems.

7- relevant dmesg entries:

8- wpa_supplicant.log

I've tried many suggestions from this forum about RT3090 or RT2800, but none worked :-(none seemed to be close to my problem:

Most of them relates to interface not seen, wifi networks not detected, system freeze.

View 6 Replies View Related

General :: Exactly Is There In The /etc/passwd File?

May 20, 2010

Well we all know that it holds passwords. But cat-ing it gives out nothing. Not even encrypted gibberish. So how exactly is a password stored in this? Is this like a device file or something?

View 4 Replies View Related

General :: Crontab: 12 3 12 4 4 Cat /etc/passwd?

Jan 5, 2010

If I configure a crontab like below.12 3 12 4 4 cat /etc/passwd I know that the cat command will get executed at the configured time. But where will the output of that command go?If it is something like below, then out put will be routed to /tmp/file1.12 3 12 4 4 cat /etc/passwd > /tmp/file1

View 4 Replies View Related

General :: How To Restore The /etc/passwd File

Sep 18, 2010

I was doing some experiment about resource-accessing. By mistake, I executed this command,$ sudo mv /etc/passwd /etc/passwd.bakThen I could not execute any command with privilege(eg. sudo mv /etc/passwd.bak /etc/passwd). When I shut the system down, I could not boot it any more.

View 2 Replies View Related

General :: Switch User- No Passwd?

Dec 20, 2010

All servers mentioned below run OpenSuSE, either 10 or 11.I am currently working on a few scripts that are meant to be used as part of a continuous integration setup. I am trying to keep these scripts reasonably secure, and so I have made sure that all the servers run these scripts only as a specific user (user1) that has permissions to basically nothing else. The problem I am currently running into is that I need to start and stop tomcat as user1 but this user doesn't have permissions to the tomcat rectory (only tomcat has execute permissions). I have a temporary workaround in place while I work on the scripts (I have an SSH key in place that allows me to SSH from user1o tomcat without a password and execute my commands that way) but it is not very secure. I have tried adding the following line to /etc/sudoers:

Code:
tomcat localhost = NOPASSWD: /opt/tomcat/bin/startup.sh, /opt/tomcat/bin/shutdown.sh
but it doesn't work as I expected it to. I tried a few different syntaxes for that line,

[code]...

View 6 Replies View Related

General :: When Look In The /etc/passwd File, Don't See Username There?

Aug 10, 2010

I got a user account on a linux network. But when I look in the /etc/passwd file, I don't see my username there. Where would I find my username

View 3 Replies View Related

General :: How To Recover /etc/passwd File

Apr 11, 2010

Unfortunately i lost my passwd file...so who to recover that.

View 8 Replies View Related

General :: Showing Only The Readable Signs Uit Of /usr/bin/passwd?

Jun 6, 2010

Is there a command for showing only the readable signs uit of /usr/bin/passwd?

View 1 Replies View Related

General :: Noticed There Was Two Files Called Passwd?

Jun 18, 2010

I was looking around the files in /etc/ to see what they were and what they said, then I noticed there was two files called passwd, which confused me a lot for a second then I noticed one of them was actually passwd-.I compared them and they only differed by one line:
< games:36:35:added by portage for gemrb:/usr/games:/bin/bash, which was in passwd but not passwd-.Should these files both exist? If yes, why, what does having both do? If no, then its safe to say I can just delete passwd-

View 2 Replies View Related

General :: Passwd Command Aborting On Solaris 10?

May 4, 2010

i am executing the passwd command on a solaris 10 OS and every time its aborting (as shown below). how to troubleshoot this..

root@osssvr-1 # passwd ftp
New Password:
Re-enter new Password:
Abort

View 4 Replies View Related

General :: Bash - What Is The Equivalent Of Solaris's Passwd Command

Jul 29, 2010

What is the equivalent of Solaris's passwd command in Linux?

View 2 Replies View Related

General :: Shell Script For Printing User From /etc/passwd?

Oct 15, 2010

How we can take username from the /etc/passwd which have UID more than or equal to 500.

View 3 Replies View Related

General :: Deleted Root From Passwd And Shadow File

Oct 7, 2010

I deleted root from passwd and shadow file.Can I crate a new root user?

View 1 Replies View Related

General :: Lost In Common-passwd PAM Configuration (Ubuntu 10.04)?

Sep 7, 2010

Recently installed some application which screwed the default common-passwd file and has put some restrictions on the passwords which I could setThe present file looks like this

Code:
#password required pam_passwdqc.so min=disabled,8,8,8,8 passphrase=0 enforce=users
password required pam_passwdqc.so min=1,0,0,0,0 passphrase=0 enforce=none random=0

[code]...

View 1 Replies View Related

General :: SFTP With User Nectand Passwd Set On The Header Of Connection

Mar 25, 2011

How I can do a ftp connection putting the user and passwd, and I would do! Today, I need to know how can I do this, but in SFTP!

View 1 Replies View Related

General :: Permissions - Would Map The Owner Id Of Files Coming From Other Computers To The Account Name In /etc/passwd?

Feb 8, 2010

When I use ls -al to show files downloaded from internet,

-rw-rw-r-- 1 427 6011 7544 Jul 20 2006 INSTALL
-rw-rw-r-- 1 427 6011 4229 Dec 9 15:36 Makefile.am
-rw-rw-r-- 1 427 6011 27893 Dec 10 17:47 Makefile.in

I can see the owner and group ids are shown because there are no corresponding entries in /etc/passwd and /etc/group respectively. I don't know much about linux and dare not to edit these files, I wonder if somebody already knows whether linux would map the owner id of files coming from other computers to the account name in /etc/passwd and display them when necessary (for example, when using ls -al)?

View 1 Replies View Related

General :: Useradd Command To Create Passwd / Shadow & Other Files Under Different Directory

May 19, 2011

I am bulding my own image based on 2.6.32 kernel, I wish to add a guest user:

In a script thats invoked by the makefile, I use 'useradd' command & this updates the shadow, passwd files under /etc on the host, is it possible to tell the command to create the shadow / password under some other folder on the host? may be /tmp?

View 2 Replies View Related

General :: Find Command When Loggin As A Normal User And Search For A File Passwd Under?

Dec 25, 2010

when loggin as a normal user and search for a file passwd under /etc. i get few errors with permission denied.how to ignore this permission denied errors.

csh hostname 109 % find . -name passwd
find: ./lvm/backup: Permission denied
find: ./lvm/archive: Permission denied

[code]....

View 4 Replies View Related

Networking :: Getent Shadow Works But Getent Passwd Does Not?

Apr 4, 2011

I have been working on Kerberos and Ldap Authentication on SUSE 11.3.

I was successful with Kerberos authentication and had no issue. then i moved to configure LDAP as i want to configure this authentication method for APACHE server.

Now after configuring ldap and pam, I am able to check the command 'getent shadow' with no issue and this command lists all the users of that OU too. but when i try getent passwd or getent group , it results nothing but local users.

View 1 Replies View Related

General :: 'su ' Error "No Such File Or Directory I Cannot Delete That Entry From /etc/passwd As I Cannot Login As Root"

May 15, 2010

[Code]....

Password: su: /bin/bash:/sbin: No such file or directory i cannot delete that entry from /etc/passwd as i cannot login as root.

View 11 Replies View Related

General :: With Several Commands Get Error "cannot Lock /etc/passwd; Try Again Later"

Jun 13, 2011

With several commands I get the error "cannot lock /etc/passwd; try again later". Does anybody know how to solve it? Also I don't get in my /etc/shadow directory.

View 2 Replies View Related

General :: Cannot Run " /etc/rc.d/bitlbee Start " Passwd Incorrect ?

Dec 4, 2010

I cant run as normal user

Quote:

Quote:

If BitlBee is started by root as a daemon, it can drop root privileges, ## and change to the specified user.

Which line to edit in bitlbee.conf file to set password? Im using arch linux

View 1 Replies View Related

General :: Script Which Read Line By Line /passwd Using While?

May 13, 2010

I have to do several scripts and I have no idea of how to do this one: Make a script that read line by line the passwd file and prints in console.Hope you understand couse my english isso bad as you can see.Our teacher told us something like this:#!/bin/bashwhile read line doecho $lineadone < dispositiveexit

View 9 Replies View Related

Ubuntu :: Vncpasswd Not Populating ~/.vnc/passwd

Sep 29, 2010

I have an account on a remote Ubuntu machine. I started the vncserver on that box, it used display number 7. From my Windows machine, I connected to the remote box on port 5907. It connected, but said, "no password configured for vncauth". I noticed that the ~/.vnc/passwd file is empty, alongwith the log file. I typed vncpasswd to set the password again, but no use. I tried vncpasswd ~/.vnc/passwd as well, but no use.The VNC server is running.

View 1 Replies View Related

SUSE :: /etc/passwd Permissions Keep Resetting To 600?

Mar 25, 2010

/etc/passwd permissions keep getting reset to 600. When I set it to 644 as su, it eventually changes back.This occurs on my openSuse10.2 machine but not the openSuse 11.1 machine, but I assume that is irrelevant. Is there something that got tweaked that I need to change in Yast to stop this from happening?

View 5 Replies View Related

Security :: User Appear In /etc/shadow And Not /etc/passwd

Jul 28, 2010

In what cases would a user appear in /etc/shadow and not /etc/passwd

View 2 Replies View Related

Security :: SSH User/passwd Or PPK Secure Key?

Apr 22, 2010

we are trying to make a policy decision whether to go with SSH user/passwd or PPK secure key ? our servers are hosted remotely by a hosting service. we were wondering which of these two models are more secure.e.g. i would tend to think that user/passwd with account lockouts upon failed attempts would be more secure because the other option exposes your server in case someone sneaks the PPK file or steals your whole computer.however, what makes me doubt myself is that Amazon Web Services EC2 cloud hosting uses PPK by default (although an instance's SSH config can be change to accommodate logging in but they don't endorse it).

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved