How to handle home directory change in /etc/passwd.pacnew?

Hey,
the recent update of the filesystem package had a change in /etc/passwd that
I am not sure how to handle:
daemon:x:2:2:daemon:/sbin:/usr/bin/nologin
was changed to
daemon:x:2:2:daemon:/:/usr/bin/nologin
As you can see, the home directory of daemon was changed from /sbin to /.
Should I merge that change into my /etc/passwd?

I have read that thread but I am not quite sure that it applies to
this situation.
Leonid.I basically says that
[...] if your group/passwd files are functional before the update -- keep them as is
(unless you wan to do cosmetic changes)
Now, adding info to the GECOS field or substituting /sbin with /usr/bin
doesn't really alter the behaviour of the system, but changing a user's
home directory seems a little bit more fundamental to me.

Similar Messages

  • How to handle source code changes in apex

    hi all,
    can anybody help me plz...
    how to handle source code changes in apex.
    which development process is best suite for apex.
    Regards
    Alekh

    Thanks Andy, so as per the suggestion we have to handle the above snippet as individual if block statements as i had shown below.
    But in this case how we show the else part as NULL.
    correct me if my understanding is wrong.
    if  'Products' in (:P1_ENG_GRP1, :P1_ENG_GRP2, :P_ENG_GRP3) then
                    lv_to_email_id :='[email protected]';
    end if;
    if  'Materials' in (:P1_ENG_GRP1, :P1_ENG_GRP2, :P_ENG_GRP3) then
               lv_to_email_id :='[email protected]';
    end if;Thanks,
    Anoo..

  • How to create /home directory in a diferent disk ?

    I installed Solaris 11-11-11 on a x4640 with 4 disks:
    How to create /home directory in a diferent disk ?
    Edited by: user1502 on Apr 25, 2012 1:51 PM

    I'm confused. It looks like you already have /home configured:
    <pre># zpool status
    pool: home
    state: ONLINE
    scan: none requested
    config:
    NAME STATE READ WRITE CKSUM
    home ONLINE 0 0 0
    c4t3d0 ONLINE 0 0 0
    errors: No known data errors
    # zfs list
    NAME USED AVAIL REFER MOUNTPOINT
    home 86K 134G 32K /home
    ...</pre>
    What is the problem? Looks like you already have /home configured. Are you sure automounter is not running?
    Try this:
    <pre>zfs set mountpoint=none home
    rm -rf /home
    zfs set mountpoint=/home home</pre>

  • /etc/passwd.pacnew

    From today's update of the filesystem package, I noted this difference between /etc/passwd:
    ftp:x:14:11:ftp:/home/ftp:/bin/false
    and /etc/passwd.pacnew:
    ftp:x:14:11:ftp:/srv/ftp:/bin/false
    What does it mean? Have I to make the change in my /etc/passwd?

    http://archlinux.org/pipermail/arch-dev … 06959.html

  • How to restore home directory using time machine

    I had moved my home directory to an external drive.  Unfortunately that drive died a horrible death when one of my cats knocked it off the shelf.  I have Time Machine backups of my home directory, and I would like to restore the entire directory, but I get an error saying that I can't delete the directory because it is required by the system.  Can someone tell me how I can go about performing the restore?
    Thanks!

    Thank you for the information.  I actually figured out slightly different way of doing it.  I had already formatted the replacement drive so that it was again mounted under /Volumes/Primary.  I then navigated to the drive, and entered Time Machine from there.  My old home directory appeared, and I was able to restore successfully.  Once everything was restored I merely changed the location of my home directory from its default location in /Users, and pointed it to the newly restored directory in /Volumes/Primary.

  • How to Fetch (Home directory/Port Number/Instances) Using the dcmctl tool

    Hi All,
    Is itpossible to get the Home directory name/Port number/Instances running using the dcmctl.bat file.This file comes under oracle 9ias/dcm/bin.This is Very Urgent
    Regds,
    G Sreekumar

    Don't believe so. The only informative option is getstate -v
    ///note that you should NOT run dcmctl with a running EMCTL (EM Website)

  • How to Add DNS Compatibility and +/- in /etc/passwd

    Hi Guys,
    can you tell some thing about adding + - in /etc/passwd, group for DNS Compatiability.
    thanks,
    susesun

    See the nsswitch.conf(4) manual page.

  • How to disable home page changing option?

    I want to disable the homepage changing option how can I do that? Once I set the homepage nobody can change it. Please help me

    I have the answer. Even if i have tested the process and got the result also. Its 100% handy. But i have worked very hard on this problem to get the solution. So i cant post it here publicly. If you really want the solution, then call me at : ''deleted by a moderator''
    [https://support.mozilla.com/en-US/kb/Forum+and+chat+rules+and+guidelines Forum Rules]

  • Smc and smuser both put wrong home directory in /etc/passwd

    Hello,
    I'm trying to use 'smuser add' as an alternative to 'useradd' in a setuid script, using -d to specify a home directory other than the default. Unfortunately, although the directory is created in the right place, the default is written into /etc/passwd.
    %smuser add -u sapadm -p ***** -- -d /appuser/inputs/tom -g sapusers -n tom -s /bin/sh
    Loading Tool: com.sun.admin.usermgr.cli.user.UserMgrCli from localhost
    Login to localhost as user sapadm was successful.
    Download of com.sun.admin.usermgr.cli.user.UserMgrCli from localhost was successful.
    % ls -al /appuser/inputs/tom
    total 14
    drwxr-x--- 2 tom sapusers 5 Mar 28 15:48 .
    drwxr-xr-x 3 sj staff 3 Mar 28 15:48 ..
    -rw-r--r-- 1 tom sapusers 136 Mar 28 15:48 .cshrc
    -rw-r--r-- 1 tom sapusers 157 Mar 28 15:48 .login
    -rw-r--r-- 1 tom sapusers 174 Mar 28 15:48 .profile
    % cat /etc/passwd
    tom:x:101:1002::/home/tom:/bin/sh
    % ls -al /home/tom
    /home/tom: No such file or directory
    % uname -a
    SunOS sun03 5.10 Generic_127112-07 i86pc i386 i86pc
    Exactly the same thing happens when I use the SMC2.1 GUI - even though it echoes back to me that the directory path qill /appuser/inputs before I hit 'finish', the directory is created correctly, but /home/tom goes into /etc/passwd.
    Is there any fix/workaround for this, or am I back to an old-fashioned useradd in a setuid script?
    Thanks
    -- Steve

    Father wrote:
    that way, they are chrooted into an empty directory and have no files they can tamper with
    isnt that a little dangerous??
    What files a user can change is determined by the files' permission settings, not by the user's homedir. The homedir only tells what the initial working directory when a user logs in is, nothing else, it doesn't implicit writing or even reading access. So no, it's not dangerous, not even a little.

  • Security Question Linux 2.6.18-164.el5 - Home User Directory Changed

    I logged into my unix account and was unable to update any folders or create files. The ownership has changed. This is the second occurrence where the first time the tech support denies it occurred. Didn't have any screenshots... Now I have screenshots for evidence. How can I determine when this happened or the user responsible?

    I logged into my unix account and was unable to update any folders or create files. The ownership has changed.Your description is not much help. It does not provide any information, such as:
    <ol>
    <li>What was the new file permissions? (Hint: ls -ld $HOME)
    <li>What file ownership should the directory have? (Hint: ls -ld $HOME after the file permissions are repaired.
    <li>Were you logged on to the system when the change occurred?
    <li>How is the $HOME directory mounted? Local disk? NFS mount? SAN? Thumb drive?
    <li>Who else was logged into the system when this happened?
    <li>Did this happen after a system reboot?
    <li>What did tech support actually do to repair the file permissions?
    </ol>
    In other words, give us a glimmer of an idea about your issue.

  • How to handle password changes if we implement singlesignon between BO& BI7

    Hi,
    As we know ,we can implement single signon between BO and SAP BI 7, by importing roles and users through CMC and by selecting the option "Use Single signon during report refresh time".
    My doubt here is, When we import roles from SAP and Auto import the users, is it only the SAP usernames that are stored in BO repository or both username and password. If  second case holds true then how to handle/manage password change for a user who is already imported in BO sometime back?
    Would the password changes be reflected automatically in BO?
    Please guide me if you think that I'm thinking in a wrong direction.

    Hi Naresh,
    password changes are reflected automatically in BO. BO just forwards the data to the SAP side and it does the real authentification.
    Regards,
    Stratos
    PS: Keep in mind that you cannot change the SAP password on the BO login screen if your SAP password has expired. You have to do this with the SAP client (SAP GUI)

  • How can I change my "Home directory" folder name?

    Hello, everyone.
    I was given a pre-owned MacBook Pro that's running OS 10.6.8.  How can I change the name on the Home directory folder?  I was able to change the Administrator Account settings, but the Home directory still shows the previous owner's name.  It bothers me a bit, though, to see the previous owner's name still come up on the Home folder.
    I came across the instruction listed below, but I can't get past step 4.  It instructs me "rename it just like I would rename any folder."  I can't seem to rename it, though.  The cursor doesn't come up when I click on the folder name.
    For Mac OS X v10.5 or later
    Enable the root user.
    Log in as root.
    Navigate to the /Users folder.
    Select the Home folder with the short name you want to change, and rename it just like you would rename any folder. Keep in mind that the shortname must be all lowercase, with no spaces, and only contain letters.
    Use the Users & Groups pane (Accounts pane in Mac OS X v10.6.8 or earlier) in System Preferences to create a new user with the Account name or Short Name that you used in the previous step.
    Click OK when "A folder in the Users folder already has the name 'account name'. Would you like to use that folder as the Home folder for this user account?" appears. Note: This will correct the ownership of all files in the Home folder, and avoid permissions issues with the contents.
    Choose Log Out from the Apple menu.
    Log in as the newly created user. You should be able to access all of your original files (on the desktop, in Documents, and in the other folders of this Home).
    After verifying that your data is as expected, you can delete the original user account via the Users & Groups pane (Accounts pane in Mac OS X v10.6.8 or earlier).
    Disable the root user.
    Any help would be much appreciated.

    Hi everyone,
    I followed this https://discussions.apple.com/docs/DOC-3872
    and got to the stage of having renamed my Home folder with the new name but the Home folder is STILL designated to the old name?
    When I try and create a new user with the new name, I don't get asked if I'd like to use the existing name as Home folder, I get told I can't use the newname because it exists already - thats the end of it - no further options.
    So to clarify - I now have oldname folder STILL assigned as Home folder. A newname folder with all my stuff in - apps, desktop, etc etc but this is just another user folder.
    Interestingly at login stage, the oldname folder isn't an option. I think I've confused the system somewhere by titling things differently at some stage in an attempt to rename Home folder.
    I'm running Mountain Lion (as of yesterday) and because I've kinda lost the use of my User folder as the Home folder, can't get to my Time Machine. I'm in trouble but I'm trying not to panic. Would appreciate any help!
    Laurie

  • Changed shortname and home directory name and don't know how to set it back

    so i changed my short name and home directory name because i bought the macbook used and i was trying to rename it to my name.
    Like all the others now the desktops back to default without any of my files/music, i know its still here its in the old account folder how do i just reverse this so i can have my desktop and everything back.
    heres what it is like:
    my users folder there is a home icon called "Josh" which is my name, then there is a folder icon called "nick" which is the old name and it contains all my files etc. then a shared folder icon.
    what do i do?
    p.s. i tried the method of adding "_new" onto the home icon called Josh and it said i couldn't change it because its part of Mac OS X or something...

    if you bought a used computer the first thing you should do is reformat the hard drive and reinstall the OS. anything else is less than prudent. it will also let you name your computer and your user as you like.

  • How can I change the name of my home directory?

    When I first set up my Macbook Pro a year ago, I put my first and last name. I didn't like this and later changed the login name to just my first name, but the "home" directory is still listed as my full name on the side panel in Finder windows. How can I change this, it won't let me rename that.

    Barney-15E wrote:
    You should have experienced that same effect when you managed to change you login name. How did you change your login name?
    I imagine that has something to do with why everything 'disappeared' when you changed the directory name.
    It's actually pretty simple to change the login name, and it doesn't affect files at all.
    All I did was change the field labeled "user name".
    Niel wrote:
    Move all of your files to the other home folder in the Users folder and then change the name.
    (38519)
    I'll try that, thanks.

  • Can't figure out how to change username, shortname and home directory?

    Hello,
    Trying to change the username, shortname and home directory on a new Macbook.
    I tried the following article to do this:
    http://www.macworld.com/article/132693/2008/03/changeshortusername.html
    This is my problem after trying the above article:
    I tried this but got stuck when it came to entering my password into terminal. After entering in the sudo command I hit return and saw the password prompt but when I tried to type my password in nothing happened at all as cursor never moved. I hit return again terminal tells me that there is no folder named "new user name" I restarted my Mac and tried it all over again and got the same message. When I go into the original account I see the shortname and home directory are changed but the username is the original one I started with.
    How do I make the password cursor move. Have I missed something?
    My Macbook if very new and I don't care what I lose on here. Thinking of doing a complete reinstall and updating all over again. Is there a way to fix this?
    Help anyone?

    After entering in the sudo command I hit return and saw the password prompt but when I tried to type my password in nothing happened at all as cursor never moved.
    This is intentional.
    I hit return again terminal tells me that there is no folder named "new user name" I restarted my Mac and tried it all over again and got the same message.
    Enter the actual old and new names into the Terminal instead of 'new user name'.
    (35525)

Maybe you are looking for

  • Emoji pictures not showing in received messages??

    How do I get other people's emoticons to show as pictures rather than punctuation symbols?? I have Emoji and they show as pictures when I send them but not when I receive them from other iPhones. Please help its driving me nuts!

  • Transfer rented video/movies to my new iPhone 5?

    I purchased some videos/movies on my iPad 2, and here i wanna transfer them to my iPhone 5, i intended to copy them to iTunes library for sync but it didn't, is there any way help me?

  • Case Statement with Group By

    Hello, I am trying to build a query that returns the 3 months of a quarter. Below are the two case statements that I am trying to use. I am getting a "Not a group by expression" in the first case statement, and a "nota a single-group group function i

  • SAP Logging

    Hello, I am trying to use SAP Logging in my J2EE Web Application. When I tried adding the line of code "import com.sap.tc.logging.*;" the compiler complained as it's not found. Then I tried adding by "set additional libraries" and found "com.sap.tc.L

  • Pls. help w/ weird CS4 ID color (not) printing problem

    Just recently moved up from CS2 to CS4, on a Mac running OS 10.5.8 and have run into a weird problem printing to a Konica Minolta BizHub color laser printer. It first happened when the solid light blue background on an old file converted from CS2 wou